vendredi 12 septembre 2014

wget post form to reboot router


Vote count:

0




I want to restart my Fritz!Box 7390 using wget. The webinterface has got a reboot form which looks like this:



<form action="/system/reboot.lua" method="POST">
<div id="btn_form_foot">
<input type="hidden" name="sid" value="beb5683181c2ab9f">
<button type="submit" name="reboot">Neu starten</button>
</div>
</form>


I want to submit this form. So far i tried it like this, but it does not seem to work:



wget --post-data "sid=beb5683181c2ab9f" "http://ift.tt/WRIwbm"


The sid seems to change everytime i load the page.


But im not sure if thats the issue, cause i can fix the sid by adding ?sid=example to the url



asked 1 min ago







wget post form to reboot router

Aucun commentaire:

Enregistrer un commentaire