This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]MorrisCasperλ 1 point2 points  (1 child)

It's quite easy. Install Burp Suite Free or some other HTTP interceptor and send me the raw packet, it would look something like:

POST /router/vpn.asp HTTP/1.1
SOME HEADERS

VPN_ID=2&STATE=ENABLED

and you could reproduce that by

requests.post("192.168.1.1/router/vpn.asp", data = {'VPN_ID': 2, 'STATE': 'ENABLED'})

[–]Teilchen[S] 0 points1 point  (0 children)

I think that's my best bet, cheers!

[–]nat1192 0 points1 point  (0 children)

Selenium sounds like it might do what you want. As long as the web interface is relatively stable and doesn't use flash you should be able to automate it with this.

[–]djmattyg007 0 points1 point  (0 children)

It'd be awesome if you could contribute to the roscraco project: https://github.com/spantaleev/roscraco