d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Reseting Router Using C++
Add Reply New Topic New Poll
Member
Posts: 114
Joined: Sep 5 2012
Gold: 0.00
Sep 15 2012 08:37pm
Is this possible? If so, how would you go about doing something like this?
Member
Posts: 16,144
Joined: Mar 27 2008
Gold: 14,618.00
Sep 16 2012 12:32am
if you do not reset your router by c++, how you reset it? by the web-formular? if yes, then take wireshark and look what packets are required for that step. you could then write c++ code that sends the data from the router's login-formular to the router to log yourself in. then you need to virtually click the required button.

you may have a look at GET/POST requests and you need to save cookies (so that you won't lose the login-session just after you created them by logging in)
in linux you would use "curl".


it really depends on your router... as example, you could install linux, ssh to it and just restart it :)
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll