Hi All
Has anyone successfully had whatweb log to mongo?
I have the mongo server running and the log shows that something (presumably whatweb) connects, however whatweb says ‘logging failed’ in its std output.
I can’t see any useful error logs for whatweb.
I’m scanning 150 + plus web servers as part of an audit at work.
Cheers
MSR.
Fixed courtesy of Andrew Horton
To fix it: Open whatweb-0.4.7/lib/output.rb,
Find this line:
os = plugin_results.map {|x| x[:os] unless x[:os].class=Regexp }.flatten.compact.sort.uniq
change it to:
os = plugin_results.map {|x| x[:os] unless x[:os].class==Regexp }.flatten.compact.sort.uniq


