Skip to content

Commit 453ca6e

Browse files
author
zerosum0x0
authored
added OS printing on vulnerable systems
1 parent a69aba0 commit 453ca6e

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
@@ -67,12 +67,12 @@ def run_host(ip)
6767
print_status("Received #{status} with FID = 0")
6868

6969
if status == "STATUS_INSUFF_SERVER_RESOURCES"
70-
print_good("Host is likely VULNERABLE to MS17-010!")
70+
print_good("Host is likely VULNERABLE to MS17-010! (#{simple.client.peer_native_os})")
7171
report_vuln(
7272
host: ip,
7373
name: self.name,
7474
refs: self.references,
75-
info: 'STATUS_INSUFF_SERVER_RESOURCES for FID 0 against IPC$'
75+
info: 'STATUS_INSUFF_SERVER_RESOURCES for FID 0 against IPC$ -- (#{simple.client.peer_native_os})'
7676
)
7777

7878
# vulnerable to MS17-010, check for DoublePulsar infection

0 commit comments

Comments
 (0)