Guest User

Untitled

a guest
Jan 22nd, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #!/bin/sh
  2. ip_address=192.168.0.5
  3. username=myuser
  4. password=mypass
  5. wget --no-check-certificate --user=$username --password=$password -qO- https://$ip_address/reboot
  6.  
  7. @echo off
  8. set ip_address=192.168.0.5
  9. set username=myuser
  10. set password=mypass
  11. start https://%ip_address%/reboot
  12. 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