maniootek

Chrome auto login

5 posts in this topic

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?

Share this post


Link to post
Share on other sites



@maniootek have you tried the Chrome UDF?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Yes I heard about it but it require to install some messaging host application which is not handle for me. I want my application work on few other pc machines and I don't want to install anything extra to make my script works.

Share this post


Link to post
Share on other sites

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


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
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 

 

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