Skip to content

Commit 4bdbdc0

Browse files
authored
Fix response parsing
1 parent b36836b commit 4bdbdc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/gather/shodan_honeyscore.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def run
7575
return
7676
end
7777

78-
score = res.to_s.to_f # Change the score to a float to be able to determine value in the checks
78+
score = res.body.to_f # Change the score to a float to be able to determine value in the checks
7979

8080
if score == 0
8181
print_error("#{tgt} is not a honeypot")

0 commit comments

Comments
 (0)