From 55f01d3fc71cf26199ec0812cb418d8bb8878d21 Mon Sep 17 00:00:00 2001 From: zerosum0x0 Date: Mon, 24 Apr 2017 13:33:05 -0600 Subject: [PATCH] made the plugin less spammy with more vprintf --- modules/auxiliary/scanner/smb/smb_ms17_010.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/auxiliary/scanner/smb/smb_ms17_010.rb b/modules/auxiliary/scanner/smb/smb_ms17_010.rb index cec585acfd..9682e819e9 100644 --- a/modules/auxiliary/scanner/smb/smb_ms17_010.rb +++ b/modules/auxiliary/scanner/smb/smb_ms17_010.rb @@ -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})")