Created
January 8, 2017 17:27
-
-
Save yazdipour/f981c76e518752a08eedafedc49a4662 to your computer and use it in GitHub Desktop.
Change SSID or Isolation of Wifi Router
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://admin:admin@192.168.1.1/wlcfg.wl?wlSsidIdx=0&wlEnbl=1&wlHide=1&wlAPIsolation=0&wlSsid=yourSSid&wlCountry=IR' | |
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