Skip to content

Commit 5c23e0a

Browse files
committed
Merge branch 'smbversion-domain-notes' of git://github.com/zombieCraig/metasploit-framework into zombieCraig-smbversion-domain-notes
2 parents a996020 + 164321a commit 5c23e0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/auxiliary/scanner/smb/smb_version.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ def run_host(ip)
101101

102102
conf[:os_sp] = res['sp'] if res['sp']
103103
conf[:os_lang] = res['lang'] if res['os'] =~ /Windows/
104+
conf[:SMBName] = simple.client.default_name if simple.client.default_name
105+
conf[:SMBDomain] = simple.client.default_domain if simple.client.default_domain
104106

105107
report_note(
106108
:host => ip,

0 commit comments

Comments
 (0)