Accessing D-Link DGL-4300 router stats with PHP

Michael Daly

[H]ard|Gawd
Joined
Jan 6, 2007
Messages
1,212
My old router allowed me to access the stats easily with PHP. With the new D-Link 4300, the web pages and/or xml files need a prior login. If I login with a browser and then use the PHP program, no problem. However, I can't get the router to accept a login from PHP. The usual "http://username: [email protected]/..." isn't being accepted (even with my Firefox browser).

This router doesn't support CLI, so that's out.

I ran a JavaScript debugger to capture the MD5 encrypted string that's sent to the router, but when I put that in:
"http://username: [email protected]/post_login.cgi?data=xyxyxyxyxy"

it gave me a timeout message!

Does anyone know of a way to convince this thing to login and cough up web pages via PHP?
 
Back
Top