Skip to content

Commit

Permalink
Fixing false positive for DLink DVG N5402SP Path Traversal (threat9#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucyoa authored and fwkz committed Apr 1, 2017
1 parent 25fccd8 commit e670169
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,8 @@ def check(self):

# connection
response = http_request(method="POST", url=url, data=data)
if response is None:
return False # target is not vulnerable

if "root" in response.text:
if response is not None and "root:" in response.text:
return True # target vulnerable

return False # target not vulnerable

0 comments on commit e670169

Please sign in to comment.