Skip to content

Commit d2a9a26

Browse files
committed
real fix for sinn3r bug
1 parent ec35f4b commit d2a9a26

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/exploits/linux/http/lifesize_uvc_ping_rce.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ def exploit
7171

7272
token = /name='csrfmiddlewaretoken' value='(.*)'/.match(res.body)
7373

74+
if token.length < 2
75+
fail_with("Could not find token on page.")
76+
end
77+
7478
token = token[1]
7579

7680
post = {

0 commit comments

Comments
 (0)