Vĩ Kha Blog

How to login my router with AutoIT

2 posts in this topic

I want to login my router (IP: 192.168.1.1) but I can't read the POST to login by Firebug or LiveHTTPHeader. So, How to I can login my router with AutoIT. 

Thank you for you reply

Share this post


Link to post
Share on other sites



you could look into the _IE functions from the AutoIt docs.

Here's some code from the _IEFormElementSetValue example 2:

; Get a reference to a specific form element and set its value.
; In this case, submit a query to the Google search engine

#include <IE.au3>

Local $oIE = _IECreate("http://www.google.com")
Local $oForm = _IEFormGetCollection($oIE, 0)
Local $oQuery = _IEFormElementGetCollection($oForm, 4)
_IEFormElementSetValue($oQuery, "AutoIt IE.au3")
_IEFormSubmit($oForm)

 

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