Landing #7615
Outputs robots.txt instead of just stating it exists and switches smb_enumusers output of positive results to print_good Thanks @jnqpblcbug/bundler_fix
commit
f4c875b770
|
@ -60,6 +60,7 @@ class MetasploitModule < Msf::Auxiliary
|
||||||
end
|
end
|
||||||
|
|
||||||
print_status("[#{target_host}] #{tpath}robots.txt found")
|
print_status("[#{target_host}] #{tpath}robots.txt found")
|
||||||
|
print_good("Contents of Robots.txt:\n#{res.body}")
|
||||||
|
|
||||||
# short url regex
|
# short url regex
|
||||||
aregex = /llow:[ ]{0,2}(.*?)$/i
|
aregex = /llow:[ ]{0,2}(.*?)$/i
|
||||||
|
|
|
@ -312,7 +312,7 @@ class MetasploitModule < Msf::Auxiliary
|
||||||
extra << "PasswordMin=#{domains[domain][:pass_min]} "
|
extra << "PasswordMin=#{domains[domain][:pass_min]} "
|
||||||
extra << ")"
|
extra << ")"
|
||||||
end
|
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
|
end
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
|
|
Loading…
Reference in New Issue