Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- ip_address=192.168.0.5
- username=myuser
- password=mypass
- wget --no-check-certificate --user=$username --password=$password -qO- https://$ip_address/reboot
- @echo off
- set ip_address=192.168.0.5
- set username=myuser
- set password=mypass
- start https://%ip_address%/reboot
- rem so far it open the requested URL, but it checks the SSL certificate so it blocks the execution, and i don't know how to pass user and password
Add Comment
Please, Sign In to add comment