Skip to content

Commit c0391ed

Browse files
committed
Land rapid7#3409, fix for http crawler
2 parents 8f52133 + 7440054 commit c0391ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/http/crawler.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ def crawler_process_page(t, page, cnt)
104104
info[:ctype] = page.headers['content-type']
105105
end
106106

107-
if !page.get_cookies.empty?
108-
info[:cookie] = page.get_cookies
107+
if !page.cookies.empty?
108+
info[:cookie] = page.cookies
109109
end
110110

111111
if page.headers['authorization']

0 commit comments

Comments
 (0)