Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.5k views
in Technique[技术] by (71.8m points)

google oauth - alternative to WinAuth.exe with Autohotkey accessable GUI-elements

I'm looking for a way to re-transform a two-step-authentification-process (2SAP) back into a one-way-authentification-process.

I'm forced to use a 2SAP and it is impossible to change the process itself back to a 1SAP So I'm looking for a workaround using something like WinAuth.exe https://winauth.github.io/winauth/download.html

My approach is to use Autohotkey to do all the mouse-clicks the copy & paste for me. I have a basically working version of it but it has some unreliabilties:

The WinAuth.exe is written in a way that the Autohotkey-window-spy is unable to analyse the GUI-elements like the button "re-fresh code" etc. So the mouse-clicks of the autohotkey-script are based on relative x-y-coordinates of the WinAuth.exe-window.

This means as soon as the WinAuth.exe-window-size changes the script will fail because it places the mouse-arrow at the wrong place.

Everything would become a breeze if I had an auth-application that can create the tempory authenification-number where the GUI-elements like like text-edit-fields "create actual Auth-number" copy to clipboard etc. would be accessible So an application written in delphi, or C++ where the autohot-key window spy can analyse the GUI-elements would be great.

Does anybody know of such an alternative to WinAuth.exe?

best regards Stefan


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...