|
Stop When Found
|
|
05-28-2012, 07:16 PM
Post: #1
|
|||
|
|||
|
Stop When Found
I am brute forcing an uppercase password of 8 characters using the code below. I have cut it down for simplicity. I also know that I didn't need to make a custom character set but this is just test code.
Code: oclHashcat-plus32.exe -a 3 --hash-type 2500 -n 160 -1 ABCDEFGHIJKLMNOPQRSTUVWXYZ test.hccap -o Found.txt ?1?1?1?1?1?1?1AMy question is how can I stop oclHashcat-plus from moving on to the next line if say for example the first line finds it ? This will allow me to leave it running without constantly having to check up on it ! Thank you for any suggestions.
|
|||
|
05-28-2012, 07:23 PM
Post: #2
|
|||
|
|||
|
RE: Stop When Found
why do you run three instances at once on the same machine?
|
|||
|
05-28-2012, 07:26 PM
(This post was last modified: 05-28-2012 07:38 PM by Hash-IT.)
Post: #3
|
|||
|
|||
RE: Stop When Found
(05-28-2012 07:23 PM)undeath Wrote: why do you run three instances at once on the same machine? I don't, this is just a sample of the first 3. They also run consecutively, not concurrently. Its ok I think I have found it. Code: IF EXISTThen look for found.txt I had tried this before but it didn't work for some reason which is why I posted here. However it seems to work now. Does anyone know of anything smarter than this ? Perhaps make it move to a different batch file when one finishes or something like that ? |
|||
|
05-28-2012, 08:18 PM
Post: #4
|
|||
|
|||
|
RE: Stop When Found
@Hash-IT:: What you got is the best!
Just add this line to the end of each run line: Code: IF EXIST "Found.txt" echo WPA key found! && goto:eof |
|||
|
05-28-2012, 10:23 PM
Post: #5
|
|||
|
|||
|
RE: Stop When Found
Thank you M@LIK !
![]() I just used exit instead of && goto:eof, I assume your version is more correct. Can I ask how would I jump to another project when a key is found ? I suspect something like && goto:"batch_file_name_here" ? |
|||
|
05-28-2012, 10:38 PM
Post: #6
|
|||
|
|||
|
RE: Stop When Found
Actually you don't need "goto" for that.
Code: IF EXIST "Found.txt" echo WPA key found! && [your_2nd_bat_file] |
|||
|
05-28-2012, 10:48 PM
Post: #7
|
|||
|
|||
|
RE: Stop When Found
M@LIK you are awesome, thanks for that !!
![]() I have just thought I can make a shutdown script and run it when the key is found, brilliant ! |
|||
|
05-28-2012, 10:55 PM
Post: #8
|
|||
|
|||
|
RE: Stop When Found
A whole script for shutting down? That doesn't sound professional xD
Use "shutdown /s" command instead. See "shutdown /?" for more options. Code: IF EXIST "Found.txt" shutdown /sYou're always welcome! : ) |
|||
|
05-28-2012, 11:02 PM
Post: #9
|
|||
|
|||
|
RE: Stop When Found
Thanks M@LIK, much neater.
If you need to use my GPU sometime PM me, the offers still there. |
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help



