Better printing
parent
97caf1d084
commit
9def67831c
|
@ -100,7 +100,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
begin
|
begin
|
||||||
connect
|
connect
|
||||||
sock.put(action.opts[datastore['PROTOCOL'] + '_CMD'])
|
sock.put(action.opts[datastore['PROTOCOL'] + '_CMD'])
|
||||||
print_status("#{peer}:\n#{sock.get_once}")
|
print_status("#{peer} #{datastore['PROTOCOL']} #{action.opts['Description']}:\n#{sock.get_once}")
|
||||||
ensure
|
ensure
|
||||||
disconnect
|
disconnect
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue