Skip to content

Commit

Permalink
ZXHN H108N V2.5, module 'ZTE ZXV10 RCE': Fixed false positive issue t…
Browse files Browse the repository at this point in the history
…hreat9#305 (threat9#346)

* Router detected as vulnerable while its not threat9#305

* Fixed typo error

* Check status code instead of string
  • Loading branch information
AlexHilgertBRA authored and lucyoa committed Nov 14, 2017
1 parent f8f7d65 commit 52679c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion routersploit/modules/exploits/routers/zte/zxv10_rce.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ def login(self):
"Password": self.password}

response = http_request("POST", url, self.session, data=data)
if "Username" not in response.text and "Password" not in response.text:
if "Username" not in response.text \
and "Password" not in response.text \
and response.status_code != 404:
print_success("Successful authentication")
return True
except Exception:
Expand Down

0 comments on commit 52679c7

Please sign in to comment.