Reboot URL?

All about WTware on Raspberry. Wtware works with Raspberry Pi 3 Model B and Pi 2 Model B devices
http://www.winterminal.com
jzholzer
Posts: 6
Joined: Fri May 19, 2017 8:38 pm

Reboot URL?

Postby jzholzer » Wed May 24, 2017 12:06 am

There is a reboot button available on the administration web page, but it's in the form of a form submission button. That's not very convenient to allow me to throw a reboot link on our supervisory scada system. I'd rather not present all the admin stuff to the great unwashed by displaying the whole web page. Is there a hidden URL that can trigger a reboot? I can't work out how to drive a form submit from a URL

J1mbo
Posts: 57
Joined: Mon Mar 14, 2016 6:24 pm

Re: Reboot URL?

Postby J1mbo » Wed May 24, 2017 11:30 am

eg from a Linux box, wget http://[ip-address]/reboot

In my opinion it is a DoS security risk though, it should be authenticated.

akatik
SUPPORT
SUPPORT
Posts: 103
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: Reboot URL?

Postby akatik » Thu May 25, 2017 11:55 am

In last version, if Setup/HTTPS password is specified, It's already authenticated and works only over https, i.e.:

Code: Select all

wget --user=wtware --password=123 --no-check-certificate https://[ip-address]/reboot


Where 123 is a Setup/HTTPS password.

J1mbo
Posts: 57
Joined: Mon Mar 14, 2016 6:24 pm

Re: Reboot URL?

Postby J1mbo » Mon May 29, 2017 12:04 pm

Excellent, thanks for posting this.


Return to “WTware on Raspberry Pi 3 / Raspberry Pi 2”

Who is online

Users browsing this forum: No registered users and 4 guests