Skip to content

Commit 55f01d3

Browse files
author
zerosum0x0
authored
made the plugin less spammy with more vprintf
1 parent 453ca6e commit 55f01d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/smb/smb_ms17_010.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ def run_host(ip)
6161
ipc_share = "\\\\#{ip}\\IPC$"
6262

6363
tree_id = do_smb_setup_tree(ipc_share)
64-
print_status("Connected to #{ipc_share} with TID = #{tree_id}")
64+
vprint_status("Connected to #{ipc_share} with TID = #{tree_id}")
6565

6666
status = do_smb_ms17_010_probe(tree_id)
67-
print_status("Received #{status} with FID = 0")
67+
vprint_status("Received #{status} with FID = 0")
6868

6969
if status == "STATUS_INSUFF_SERVER_RESOURCES"
7070
print_good("Host is likely VULNERABLE to MS17-010! (#{simple.client.peer_native_os})")

0 commit comments

Comments
 (0)