Browsers, dumps and javascript.

kitepilot at kitepilot.com kitepilot at kitepilot.com
Sat Jun 6 22:22:27 MST 2009


Hello geeky World... 

I have a bunch of Senao CB3 radios in my network which will only take a WEB 
interface for configuration, and such interface uses javascript to parse a 
binary record of unknown structure at load time to display the content of 
the configuration parameters. 

You can see a dump as:
wget --recursive --page-requisites --convert-links --debug --user=XXXXXXXX 
 --password=XXXXXXXX 172.28.0.52
at:
http://www.kitepilot.com/radio.tar.bz2 

Now, this is the challenge:
I want to extract information from the page without human intervention. 

Before the page is displayed, my information is in the binary record, and 
other than reverse engineering the format, it can only be extracted using 
javascript. 

This is what I have tried:
I dumped the page with lynx, which doesn't work cuz lynx ignores javascript.
I dumped the page with wget, which leaves me with all I need, but then I 
can't find a browser that extracts my info and I am still in the same 
boat...
Neither lynx, w3b or links will work, for different reasons each one. 

Sooo...
I decided to write a perl script, but because my perl skills are rusted 
beyond WD40 hope, it's becoming a stinking project...   :( 

What I am trying to do is simple:
There is a WEB site that requires authorization, that uses javascript to 
extract the information I need, and I want to parse it out.
There's got to be a simple way.   :(
I ran out of ideas...
Any one?
Thanks!
Enrique


More information about the PLUG-discuss mailing list