Outputs robots.txt instead of just stating it exists and
switches smb_enumusers output of positive results to print_good

Thanks @jnqpblc
bug/bundler_fix
Rob Fuller 2016-11-26 00:56:25 -05:00
commit f4c875b770
No known key found for this signature in database
GPG Key ID: 33A45714258D9AC8
2 changed files with 2 additions and 1 deletions

View File

@ -60,6 +60,7 @@ class MetasploitModule < Msf::Auxiliary
end
print_status("[#{target_host}] #{tpath}robots.txt found")
print_good("Contents of Robots.txt:\n#{res.body}")
# short url regex
aregex = /llow:[ ]{0,2}(.*?)$/i

View File

@ -312,7 +312,7 @@ class MetasploitModule < Msf::Auxiliary
extra << "PasswordMin=#{domains[domain][:pass_min]} "
extra << ")"
end
print_status("#{domain.upcase} [ #{users.keys.map{|k| users[k]}.join(", ")} ] #{extra}")
print_good("#{domain.upcase} [ #{users.keys.map{|k| users[k]}.join(", ")} ] #{extra}")
end
# cleanup