Created
March 24, 2016 17:56
-
-
Save HugoPresents/3744871b87a0d632cceb to your computer and use it in GitHub Desktop.
curl reboot tp-link
This file contains hidden or 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
#!/bin/sh | |
curl -sSL --anyauth --user username:password -H "Referer: http://192.168.0.2/userRpm/SysRebootRpm.htm" -H "User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36" "http://192.168.0.2/userRpm/SysRebootRpm.htm?Reboot=Reboot" |
Hello!
I have an TL-SG108E and not working this method. I think I have newer firmware. At the login method are stopped. Do you have any idea to how can I login into switch from curl? I would like to create backup file from switch weekly automated.
Thanks, Daniel
sorry, can't help
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
I have an TL-SG108E and not working this method. I think I have newer firmware. At the login method are stopped.
Do you have any idea to how can I login into switch from curl?
I would like to create backup file from switch weekly automated.
Thanks,
Daniel