app/models/headers.rb in cms_scanner-0.0.19 vs app/models/headers.rb in cms_scanner-0.0.20
- old
+ new
@@ -1,7 +1,7 @@
module CMSScanner
- # Not really an interesting file, but will use this class for convenience
- class Headers < InterestingFile
+ # Interesting Headers
+ class Headers < InterestingFinding
# @return [ Hash ] The headers
def entries
res = NS::Browser.get(url)
return [] unless res && res.headers
res.headers