Jump to content
Sign in to follow this  
cambium

Oh noeees , sadly another login problem( IE )

Recommended Posts

cambium

heya sorry for another disturbing autologin problem.

This login seems to be different than normal logins.

http://llamarr.mybrute.com

i don't get it to work.

There is a field on the upper left "Type here"

Sourcecode says it is a form <form method="post" action="/go"> , sadly no name or id , well no problem because its the only<form> on whole page.

#include <IE.au3>
$oIE = _IECreate ("http://llamarr.mybrute.com/")
$oForm = _IEFormGetCollection ($oIE); @extend returns 1 , of course .. there is only 1 form
$oText = _IEFormElementGetObjByName ($oForm, "name"); this form has 2 elements both input type , one has a name : "name" , i guess the textfield
_IEFormElementSetValue ($oText, "lalalatest")

well doesn't seem to work , any suggestions is welcome :D

Edit : tried with _ieAction("focus/click") that didn't worked either

Edited by cambium

Share this post


Link to post
Share on other sites
rajeshontheweb

might look primitive, but this is what i had to use when there was no access available to input objects

$hIE = _IEPropertyGet($oIE, "hwnd")
                sleep(500)
                _IEAction($oIE,"focus")
                ControlSend($hIE, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "{TAB}")
                ControlSend($hIE, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "{TAB}")
                ControlSend($hIE, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "{TAB}")
                ControlSend($hIE, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "{TAB}")
                ControlSend($hIE, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "{TAB}")
                ControlSend($hIE, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "{TAB}")
                ControlSend($hIE, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "{TAB}")
                ControlSend($hIE, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "{TAB}")
                ControlSend($hIE, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "lalalalatest")
                sleep(500)
                ControlSend($hIE, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "{ENTER}")

Share this post


Link to post
Share on other sites
cambium

ah ok , nice thx for help perhaps this will get me further

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  

×