Jump to content
Sign in to follow this  
Hyflex

Live HTTP Headers with AutoIt?

Recommended Posts

Hyflex

Ok, I'm not quite sure if AutoIt can help with this.

Basically, I want the script at 11:50 all the way up to 12:00 to send the message:

ToolTip("Router Reconnect at 12:00" & @CRLF & "Please Wait...", 1, 1, "Router Reconnecting", 1)

Then at 12:00 for the script to send a header to the internet (disconnects) but it will need to login...

With headers username is admin and password is admin in LiveHeader form it is:

Authorization: Basic YWRtaW46YWRtaW4=

I then need it to check my external IP and record this...

Then do the header:

GET /apply.cgi?submit_button=Status_Router&submit_type=disconnect&change_action=gozila_cgi&wan_proto=dhcp

Wait until it can contact/ping 192.168.1.1 and when it can for it to do:

GET /apply.cgi?submit_button=Status_Router&submit_type=connect&change_action=gozila_cgi&wan_proto=dhcp

and then I can add the rest of the stuff I need to add.

For the program "JDownloader" it has a nice version but the script isn't perfect for me and I want a stand alone script not jdownloader...

[[[HSRC]]]

[[[sTEP]]]

[[[REQUEST]]]

AUTH /? HTTP/1.1

Host: %%%routerip%%%

Authorization: Basic %%%basicauth%%%

[[[/REQUEST]]]

[[[/sTEP]]]

[[[sTEP]]]

[[[REQUEST]]]

GET /apply.cgi?submit_button=Status&submit_type=Disconnect&change_action=gozila_cgi&wan_proto=pppoe HTTP/1.1

Host: %%%routerip%%%

[[[/REQUEST]]]

[[[/sTEP]]]

[[[sTEP]]]

[[[REQUEST]]]

GET /apply.cgi?submit_button=Status&submit_type=Connect&change_action=gozila_cgi&wan_proto=pppoe HTTP/1.1

Host: %%%routerip%%%

[[[/REQUEST]]]

[[[/sTEP]]]

[[[/HSRC]]]

Share this post


Link to post
Share on other sites
Authenticity

Try to follow this topic and see if you can come up with something specific to your router. It's for TP-LINK by the way.

Share this post


Link to post
Share on other sites
Hyflex

Try to follow this topic and see if you can come up with something specific to your router. It's for TP-LINK by the way.

How come when i searched it didnt find any of it...

I checked my previous posts and everything

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.