Created
November 28, 2022 18:51
-
-
Save elpatron68/984855505d84abd0c79cb81ab83aa8a5 to your computer and use it in GitHub Desktop.
Reveal Teamviewer Quicksupport credentials and save them to disk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Constants.au3> | |
#include <FileConstants.au3> | |
; Run("TeamViewerQS.exe") | |
WinWait("TeamViewer QuickSupport") | |
WinActivate("TeamViewer QuickSupport") | |
Sleep(5000) | |
Local $i = 0 | |
While $i <= 10 | |
Local $tText=WinGetText("TeamViewer QuickSupport") | |
If StringInStr($tText, "Bereit zum Verbinden") Then | |
ExitLoop | |
EndIf | |
$i = $i + 1 | |
Sleep(1000) | |
WEnd | |
If StringInStr($tText, "Bereit zum Verbinden") Then | |
Local Const $sFilePath = @TempDir & "\tv.txt" | |
Local $hFileOpen = FileOpen($sFilePath, $FO_OVERWRITE) | |
FileWrite($hFileOpen, $tText) | |
FileClose($hFileOpen) | |
EndIf | |
; ShellExecute("notepad.exe", $sFilePath) | |
Exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment