Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work? #1

Open
hardyt opened this issue Sep 22, 2015 · 13 comments
Open

Doesn't work? #1

hardyt opened this issue Sep 22, 2015 · 13 comments

Comments

@hardyt
Copy link

hardyt commented Sep 22, 2015

I tried a known password, but the program gives a false negative (i.e., the program said it tried the password and the password didn't work). Maybe I am using the command line incorrectly?

This is what I am trying:

python VeraCracker.py -v c:\temp\test2.tc -p list.txt -m I:

list.txt has six passwords in it, one on each line. One of the passwords is the correct password for c:\temp\test2.tc.

Also.. it goes through the passwords in a few ms. Way too quickly!

@PidgeyL
Copy link
Member

PidgeyL commented Sep 23, 2015

Judging from the path (c:\temp\test2.tc) I'm assuming you're using Windows?
Are you using python 3.x, not python 2.x?
Do you have Veracrypt installed?

@hardyt
Copy link
Author

hardyt commented Sep 23, 2015

I'm using Windows 7 Professional, Python 2.7.9, and VeraCrypt 1.0f-2. Does this require Python 3?

@PidgeyL
Copy link
Member

PidgeyL commented Sep 23, 2015

Yes, it requires python 3 (see the readme)

-----Original Message-----
From: "hardyt" [email protected]
Sent: ‎23/‎09/‎2015 18:37
To: "NorthernSec/VeraCracker" [email protected]
Cc: "Pidgey" [email protected]
Subject: Re: [VeraCracker] Doesn't work? (#1)

I'm using Windows 7 Professional, Python 2.7.9, and VeraCrypt 1.0f-2. Does this require Python 3?

Reply to this email directly or view it on GitHub.

@hardyt
Copy link
Author

hardyt commented Sep 23, 2015

Thanks for the hint and the quick responses. I'm now using Python 3.5. The volume mounts about three minutes after VeraCracker ends with this output, giving a false negative this time:

C:\Program Files (x86)\Python 3.5>python VeraCracker.py -v c:\temp\test2.tc -p list.txt -m I:
TODO: Is veracrypt installed
'query' is not recognized as an internal or external command,
operable program or batch file.
'query' is not recognized as an internal or external command, 0/6
operable program or batch file.
'query' is not recognized as an internal or external command, 1/6
operable program or batch file.
'query' is not recognized as an internal or external command, 2/6
operable program or batch file.
'query' is not recognized as an internal or external command, 3/6
operable program or batch file.
'query' is not recognized as an internal or external command, 4/6
operable program or batch file.
'query' is not recognized as an internal or external command, 5/6
operable program or batch file.
Cracking [##################################################] 6/6
Password not found
Cracking duration: 0:00:00.280016
Passwords tried: 6

@PidgeyL
Copy link
Member

PidgeyL commented Sep 23, 2015

yes, that is something I also noticed on some Windows computers. query is a cmd command that I used to see if a process is running. I remember another option, but I'd have to look for that again.

@hardyt
Copy link
Author

hardyt commented Sep 23, 2015

Ok. Thanks for coding this!

@0xferit
Copy link
Contributor

0xferit commented Aug 13, 2016

I fixed the issue which makes the script quit without trying all passwords.

@PidgeyL PidgeyL mentioned this issue Aug 13, 2016
@hardyt
Copy link
Author

hardyt commented Aug 16, 2016

I still see the same output. On which Windows platform does this work?

@0xferit
Copy link
Contributor

0xferit commented Aug 17, 2016

In Linux, works well. Your error seems related to something else.

@PidgeyL
Copy link
Member

PidgeyL commented Aug 17, 2016

Yes. The issue is related to the "query" command in Windows. Not all versions support it, apparently. Not even amongst the same version. Might have to do with home/professional editions

@PidgeyL
Copy link
Member

PidgeyL commented Aug 17, 2016

For windows users, check if you can find the query command, and if not, how to get it. for me, two out of three PC's had it, and because I'm mainly a Linux user, that was good enough for me :p

@bmweb75
Copy link

bmweb75 commented Jan 20, 2019

Hello PidgeyL, THANK YOU for this tool !
I am a Windows 10 user and I had the "query process" problem. (Python 3.7.2)
=> I replaced "query process" by "tasklist" (VeraWinProcList = "tasklist") to solving the problem.
=> I had to replace VeraWinProcName ="veracrypt.exe" by VeraWinProcName = "VeraCrypt.exe" to making the isVeraRunning() works.
And now your program works perfectly, it tests all the password of the *.txt file and find it (or not) and when found it mounts the drive and write the password that matches.
Thanks a lot for your work, I could recover files that I was trying to open since 2 years ;-)

@jns0x
Copy link

jns0x commented Mar 30, 2021

@bmweb75
Thanks for that, script is running now, however it goes through password list too fast and even if there is correct password it will not tell it. Any sugesstions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants