app/models/headers.rb in cms_scanner-0.0.39.4 vs app/models/headers.rb in cms_scanner-0.0.40
- old
+ new
@@ -3,9 +3,10 @@
class Headers < InterestingFinding
# @return [ Hash ] The headers
def entries
res = NS::Browser.get(url)
return [] unless res&.headers
+
res.headers
end
# @return [ Array<String> ] The interesting headers detected
def interesting_entries