I have a linksys router that has parental control (PC) software installed. I also have a linux (Slackware 9.1) server that needs to stay logged into the PC software in order to do what it needs to do.
The login process is an html page with a bunch of accompanying javascript. I need to be able to capture that script and somehow program it so I can submit the login from the command-line. I've done a fair amount of scripting and programming (most on Windows - some linux) but have done little web or javascript.
Can someone help me assess whether I can do this and if so what tools I'll need to make it happen?
Here are a few things I do know:
- The login page has a half-dozen hidden form fields that are supplied when the page is loaded. I know I'll likely have to 'get' the login page each time a scrape those variables.
- The login page contains a fair amount of script.
Let me know what you think