Sign in to follow this  
Followers 0
Chris86

Control another software

21 posts in this topic

Hi, Does anyone know how I can use autoit to copy the Teamviewer ID and Password from autoit? I know it works.

I have to check the ID text, rightclick -> copy. and rightclick on the password text and "Copy dynamic password".

I know I can use mousemove etc. but I want it to be failfree :(

Share this post


Link to post
Share on other sites



The windowinfo tool supplied with autoit will help a lot. also, look into controlclick and controlsend :(


010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

Ok thanks :(

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Hmm, I tried some control sends, but didnt get anything, but if I could pull out the visible text that Windowinfo Tool do then it will be enough :(

Can you help?

>>>> Window <<<<
Title:  TeamViewer
Class:  #32770
Position:   1075, 340
Size:   278, 356
Style:  0x94CA00CC
ExStyle:    0x00010101
Handle: 0x0000000000050CE0

>>>> Control <<<<
Class:  Edit
Instance:   1
ClassnameNN:    Edit1
Name:   
Advanced (Class):   [CLASS:Edit; INSTANCE:1]
ID: 20098
Text:   
Position:   21, 208
Size:   141, 20
ControlClick Coords:    78, 7
Style:  0x50010881
ExStyle:    0x00000204
Handle: 0x00000000000A0B56

>>>> Mouse <<<<
Position:   102, 240
Cursor ID:  0
Color:  0x3481C5

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
Avbryt
491 477 294
1111

Meddel partneren din følgende
ID for å koble seg til skrivebordet ditt.
www.teamviewer.com
Passord
ID
Klar til tilkobling (sikker forbindelse)


>>>> Hidden Text <<<<
Edited by Chris86

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

So what did you try that did not worked?

We need to know what did not work for you so that we can help you edit it if it whas wrong, or if it whas correct to try to provide some other solution.

So post some codes.

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

This is one of them, I also tried WinGetText

$var = ControlCommand("TeamViewer", "", "Edit", "GetLine", "2")
$var2 = ControlCommand("TeamViewer", "", "Edit", "GetLine", "3")
msgbox(1, "ID",$var)
msgbox(1, "Dynamic PW",$var2)

both returns 0

Edited by Chris86

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

for controlID parmetar try to use [CLASS:Edit; INSTANCE:1]

Did you try with ControlGetText ?

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

Didnt work :S

Share this post


Link to post
Share on other sites

one more time, pls show code that did not work :(


TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

$var = ControlGetText("TeamViewer", "", "[CLASS:Edit; INSTANCE:1]")
_ClipBoard_SetData ($var)

Do you know how AU3 Window Info Tool is getting all the text?

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

try WinGetText

Edit: and to stringsplit to get data from one line if its working

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

Still nothing

$var = WinGetText("TeamViewer", "")
$array = StringSplit($var, @CRLF, 1)
ConsoleWrite($array)
Edited by Chris86

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

$var = WinGetText("TeamViewer", "")
$array = StringSplit($var, @CRLF, 1)
ConsoleWrite($var)
For $x = 1 To $array[0]
    ConsoleWrite("Line:"&$x&" "&$array[$x]&@CRLF)
Next

and this?

Edited: tuped wrong title

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

#14 ·  Posted (edited)

Why isnt this working :S?

Output:

Line:1

Edited by Chris86

Share this post


Link to post
Share on other sites

I tuped wrong title up there, i puted Untitlen instead TeamViewer


TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

#16 ·  Posted (edited)

I know, I changed it.

Does anyone know how Windowinfo tool get all the text?

Edited by Chris86

Share this post


Link to post
Share on other sites

I know, I changed it.

Does anyone know how Windowinfo tool get all the text?

If I try the WindowInfoTool on Teamviewer then it cannot see the password. I really doubt that yours can either if it a recent version of TeamViewer.

But why do you want to read the password?

TeamViewer allows you to remotely access a PC. If the password is discovered then you can do lots of harm to a company, steal data etc.

I don't think anyone should even try to help you.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

#18 ·  Posted (edited)

This doesnt have anything to do with hacking.

lots of people ask me if I can help them with their comps, then I have to use lots of time guiding them trough the teamviewer installation.

and I just want to automate it..

and yes, the windowinfo tool can see the ID and the Dynamic password

Hacking is totally forbidden in my country, so if im that stupid to use this to get into anyones pc or company pc, I will be sent to jail for 1 year ++, im going to use this to help people, not doing anyhting malicious..

-

Anyway, this is what the script is going to do:

-Download TeamviewerQS

-Send id and DYNAMIC password to an file on my company website

-Wait till session is done, then delete TeamviewerQS

-Delete the id/pw file on my server.

Edited by Chris86

Share this post


Link to post
Share on other sites

I tought that "Copy dynamic password" is mented for instalation like in some programs that rendom put ID PASS for free version of their program to register.

Win info can definitly see pass and ID becose its not *** and autoit can get that data as tested, but until someone from uper chain of autoit forum (DEV or ADMIN) do not say that its ok im not puting any more writing of it to this topic.

Sry all for i whas dumbass and did not understand the intension of this post in the first place.


TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

#20 ·  Posted (edited)

Well thanks bogQ for taking your time anyway..

@Martin; Im not a f***ing hacker, its totally illegal in my country and I have no interests in ruining things for people, as I said, I was making this for HELPING people..

Edited by Chris86

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  
Followers 0