made the plugin less spammy with more vprintf

bug/bundler_fix
zerosum0x0 2017-04-24 13:33:05 -06:00 committed by GitHub
parent 453ca6e3bf
commit 55f01d3fc7
1 changed files with 2 additions and 2 deletions

View File

@ -61,10 +61,10 @@ class MetasploitModule < Msf::Auxiliary
ipc_share = "\\\\#{ip}\\IPC$"
tree_id = do_smb_setup_tree(ipc_share)
print_status("Connected to #{ipc_share} with TID = #{tree_id}")
vprint_status("Connected to #{ipc_share} with TID = #{tree_id}")
status = do_smb_ms17_010_probe(tree_id)
print_status("Received #{status} with FID = 0")
vprint_status("Received #{status} with FID = 0")
if status == "STATUS_INSUFF_SERVER_RESOURCES"
print_good("Host is likely VULNERABLE to MS17-010! (#{simple.client.peer_native_os})")