Make cleanup failure messages more clear
parent
0e3508df30
commit
e7307d1592
|
@ -31,7 +31,8 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
'License' => MSF_LICENSE,
|
'License' => MSF_LICENSE,
|
||||||
'Author' =>
|
'Author' =>
|
||||||
[
|
[
|
||||||
'tom' # Discovery, Metasploit module
|
'tom', # Discovery, Metasploit module
|
||||||
|
'Jon Hart <jon_hart[at]rapid7.com>' # Metasploit module
|
||||||
],
|
],
|
||||||
'References' =>
|
'References' =>
|
||||||
[
|
[
|
||||||
|
@ -138,7 +139,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
print_error("Error while cleaning up #{script_name}") unless (res = send_soap_request(delete_xml))
|
print_error("Error while cleaning up script #{script_name}") unless (res = send_soap_request(delete_xml))
|
||||||
res
|
res
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -181,7 +182,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
print_error("Error while cleaning up #{script_name}") unless (res = send_soap_request(delete_xml))
|
print_error("Error while cleaning up handler #{handler_name}") unless (res = send_soap_request(delete_xml))
|
||||||
res
|
res
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue