the password starts with don'tCumKnocking1010
then it is six characters which I do not know, I need to test for all of them
then the password ends with :
5050HaGotYa%
so it if the two characters are ABCDEF then :
don'tCumKnocking1010ABCDEF5050HaGotYa%
would be the complete password.
Here is what matricks suggested:
I don't know how to implement this to interface with TruceCrypt mount, nor do I know exactly what is going on in the code(I can kind of tell how a lttle of it works but don't fully understand it).
Please help
Thank you
then it is six characters which I do not know, I need to test for all of them
then the password ends with :
5050HaGotYa%
so it if the two characters are ABCDEF then :
don'tCumKnocking1010ABCDEF5050HaGotYa%
would be the complete password.
Here is what matricks suggested:
Code:
; Some definitions
Local $firstpart = don'tCumKnocking1010
Local $lastpart = 5050HaGotYa%
Local $possibleChars = "AaBbCcDdEeFf"
Local $possibleCharsArray = StringSplit($possibleChars)
Local $possibleCombos[UBound($possibleCharsArray)^6]
; Generate the possible combinations
Local $currentIndex = 0
For $firstChar In $possibleCharsArray
For $secondChar In $possibleCharsArray
$possibleCombos[$currentIndex] = $firstChar & $secondChar
Next
Next
For $combo In $possibleCombos
WinWaitActive("My Truecrypt container passphrase dialog")
Send($firstpart & $combo & $lastpart) ; type entire passphrase into field
Sleep(200) ; wait a little
Send({ENTER}) ; press Enter
If WinExists("Truecrypt container opened!") ;if opening was successful, inform & break loop
MsgBox("The passphrase was " & $firstpart & $combo & $lastpart)
ExitLoop()
EndIf ; If not successful, will try next combo
Next
Please help
Thank you