Jump to content

Chrome auto login


Recommended Posts

I would like to create an application written in Autoit which can auto login to various websites using Chrome web browser. I don't want use Send() function to type text (username and password) as this is not safe solution to input text in the input field (in my opinion). Rather than send text I would like to "set text" on specified input field.

Does anyone have any idea or ready example?

Link to comment
Share on other sites

  • Moderators

The look at IUIAutomation, that is going to be your only other avenue. Just be prepared for the additional complexity it brings.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

What do you mean with

Quote

is not safe solution to input text in the input field

  • Nothing is safe in html (or even in all userspace of windows all keys can be hooked on memory examined)
  • not even in a password box its easy to switch type from password to plain text
  • and as it seems your application has a list of users/passwords its not secure it all :)
  • trick to make it little safer is when you type passwords to type in between dummy keys on other window or use dummy keys and then backspace them out
    so like ss{backspace}ee{backspace}cc{backspace}rr{backspace}ee{backspace}t

I answered with code over here 

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...