bug/bundler_fix
loftwing 2017-09-15 12:07:28 -05:00
parent e88b766276
commit 6f5eb5a18f
1 changed files with 2 additions and 2 deletions

View File

@ -26,13 +26,13 @@ class MetasploitModule < Msf::Auxiliary
register_options([ Opt::RPORT(445) ])
end
# Skeleton for this section taken from smb2.rb module by @hdm
# Modified from smb2 module by @hdm
# Fingerprint a single host
def run_host(ip)
begin
connect
# Only accept NT LM 0.12 dialect
# Only accept NT LM 0.12 dialect and WfW3.0
dialects = ['Windows for Workgroups 3.0a', 'NT LM 0.12']
data = dialects.collect { |dialect| "\x02" + dialect + "\x00" }.join('')