do not wait for WfsDelay if unable to bind
git-svn-id: file:///home/svn/framework3/trunk@10545 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
e2ed2f0d75
commit
6f18c4a468
|
@ -82,7 +82,12 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
handle = dcerpc_handle('12345678-1234-abcd-EF00-0123456789ab', '1.0', 'ncacn_np', ["\\#{datastore['SMBPIPE']}"])
|
||||
|
||||
print_status("Binding to #{handle} ...")
|
||||
begin
|
||||
dcerpc_bind(handle)
|
||||
rescue ::Rex::Proto::SMB::Exceptions::ErrorCode => e
|
||||
raise RuntimeError, e.message
|
||||
end
|
||||
|
||||
print_status("Bound to #{handle} ...")
|
||||
|
||||
# Try all of the printers :)
|
||||
|
|
Loading…
Reference in New Issue