erwanlr / Fingerprinter

CMS/LMS/Library etc Versions Fingerprinter
Other
256 stars 47 forks source link

Log timeout, don't quit #41

Closed exploresecurity closed 5 years ago

exploresecurity commented 5 years ago

A timeout exits the script, which I found to be too harsh. I've edited /lib/fingerprint.rb to comment the exception raised in line 16 and added:

if res.timed_out?
  puts "[WARNING] Timeout for #{res.effective_url}"
end

Perhaps something to consider. Thanks for the tool.

erwanlr commented 5 years ago

Implemented for the fingerprinting and unique fingerprinting.