wirepolt.blogg.se

Elinks force refresh
Elinks force refresh




elinks force refresh

alert("Switch is rebooting and Web will be disconnected!") $ curl -b "$COOKIE" -u "admin:MySecretPassword" -data "FlagForReboot=&Submit=+Restart+" $IP_ADDRESS/html/MntRestartSystem.html $ curl -b "$COOKIE" -u "admin:MySecretPassword" $IP_ADDRESS/html/MntRestartSystem.htmlĪnd this one sending the FlagForReboot data (I would swear they are the same): $ IP_ADDRESS=192.168.1.232 This is my attempt (see JigglyNaga answer) to access the reboot device page via CURL without sending the FlagForReboot data: $ IP_ADDRESS=192.168.1.232 If I do echo YWRtaWAAAAAhQXBpYQ= | base64 -decode the shell gives me admin:MyPassword. part, ending on Q= (The AAAAA is mine, in order to obscure the real password). User-Agent: Mozilla/5.0 (X11 Linux armv7l rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.0Īccept: text/html,application/xhtml+xml,application/xml q=0.9,*/* q=0.8Īuthorization: Basic YWRtaWAAAAAhQXBpYQ= This is the capture for the moment of the login: GET /html/HomeWizard.html HTTP/1.1 and then I try WGet with -post-data for RpWebId=3c268b4c and FlagForReboot=&Submit=+Restart+ : ~$ wget 192.168.1.232/Forms/RESET_Switch -post-data='RpWebId=3c268b4c' -post-data='FlagForReboot=&Submit=+Restart+'Ĭonnecting to 192.168.1.232:80. The WireShark/TCPDump capture for the reboot attempt shows a GET to with the description Authorization: Basic XXXXXXXXXX and just below Credentials: admin:MyEditedPassword. Lynx does not report of any need to accept cookies when browsing to DWL-2100AP. Starting web page for DAP-2310 (requesting credentials page): Attempt to reboot the DWL-2100AP via WGet (direct URL): wget (ANSI_X3.4-1968) -> (UTF-8) Object Not FoundThe requested URL '/html/HomeWizard.html' was not found on the RomPager server.Return to last page

Starting web page for DWL-2100AP (after inputing credentials): If I try to download it with curl (whether be it using -u username:password or not): The OvisLink model does not ask for password, but the Buffalo does, and Lynx request it OK as it must.Ĭommands: Use arrow keys to move, '?' for help, 'q' to quit, 'įunction JumpToHmain()tTimeout('JumpToHmain()',1) Authentication should be the first step on both devices, but Lynx does not ask me for it. It works fine with some Ovislink and Buffalo models I have tested, but it shows no info on screen when trying to navigate to two D-Link models. I use Lynx web browser from remote SSH (so I have no GUI) to enter into the web interface of some router and access points.






Elinks force refresh