Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- import random,math
- rand = math.floor(random.randint(1,1000))
- commandOnAll = f"http://192.168.1.203/cgi-bin/runcommand.sh?{rand}:cmd=254,130,1" # on
- rand = math.floor(random.randint(1,1000))
- commandX = f"http://192.168.1.203/cgi-bin/runcommand.sh?{rand}:cmd=254,124,1" # something
- rand = math.floor(random.randint(1,1000))
- commandOffAll = f"http://192.168.1.203/cgi-bin/runcommand.sh?{rand}:cmd=254,129,1" # off
- r = requests.get(commandOffAll)
- print(r.content)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement