Comments (11)
Hi. We've probably already fixed this issue, please try with our latest Windows build available from here: https://github.com/openwall/john-packages/releases/tag/jumbo-dev (also linked from the "Download Windows Build" badge in the README.md in this repo). Please let us know of your results.
Unfortunately, the 1.9.0-jumbo-1 release that you reported this issue against is rather old, and in general we expect GitHub issues to be used for latest code that we actually have here on GitHub. Thank you!
Separately:
if the hash is too long, Hashcat will truncate and reject it.
This sounds confused. If the hash is too long, then perhaps it's simply not a valid hash, and should in fact be rejected. Or did you mean candidate password rather than hash?
from john.
Hello, thank you very much. Following your instructions, it can now function normally.
Separately:
if the hash is too long, Hashcat will truncate and reject it.
This sounds confused. If the hash is too long, then perhaps it's simply not a valid hash, and should in fact be rejected. Or did you mean candidate password rather than hash?
For this reason, it is another open-source cracking software Hashcat, which I have previously attempted to use for cracking. But the target compressed file that I want to crack has a capacity of 6GB, so the hash value file calculated through rar2John. exe reaches 42.8MB, which is too long. I asked the open-source community and they said that Hashcat is currently unable to handle it, and Hashcat will truncate excessively long hashes.
Thank you again! Here is a screenshot of how I successfully cracked it according to your instructions:
from john.
Thank you. This explains it, and great to know things appear to work now.
@simplete Since we don't have a card like yours, we'd be interested in test results for it. Would you be able to run (on an idle system, not concurrently with your RAR cracking) this command: john --test --format=opencl > log.txt
and send us log.txt
? This may take a long while to complete. You can interrupt and then john --restore
your RAR cracking.
Does anyone else reading this know of an equivalent to tee -a
that would work on Windows out of the box? @alainesp maybe? Also, @alainesp it looks like your recent OpenCL DLL loading changes helped here - thank you!
from john.
@simplete Since we don't have a card like yours, we'd be interested in test results for it. Would you be able to run (on an idle system, not concurrently with your RAR cracking) this command:
john --test --format=opencl > log.txt
and send uslog.txt
? This may take a long while to complete. You can interrupt and thenjohn --restore
your RAR cracking.
Sorry, I don't have any other available idle systems here. I ran this command on Windows 11. The following is a screenshot of the run and the log file:
log.txt
from john.
Thank you very much!
Sorry, I don't have any other available idle systems here.
I meant that you would temporarily stop the attack on your 11.txt
(which would make this system idle), then run this test, then continue the attack with john --restore
. Is this what you did? Or did you run this test while also cracking 11.txt
at the same time?
In the log, there are 74 successful tests, but also 7 failing ones. And this ends in a fatal failure for solarwinds-opencl
, which may be because of issues with solarwinds-opencl
or it may be memory leaks accumulated from previous tests. To find this out, can you please run john --test --format=solarwinds-opencl
?
For others reading this:
$ tr -d '\0' < log.txt | grep -ac DONE
74
$ tr -d '\0' < log.txt | grep -a FAILED
Benchmarking: argon2-opencl [Blake2 OpenCL]... FAILED (cmp_one(2))
Benchmarking: sha512crypt-opencl, crypt(3) $6$ (rounds=5000) [SHA512 OpenCL]... FAILED (cmp_all(1))
Benchmarking: ethereum-opencl, Ethereum Wallet [PBKDF2-SHA256 Keccak OpenCL]... FAILED (cmp_all(1))
Benchmarking: ethereum-presale-opencl, Ethereum Presale Wallet [PBKDF2-SHA256 AES Keccak OpenCL]... FAILED (cmp_all(1))
Benchmarking: geli-opencl, FreeBSD GELI [PBKDF2-SHA512 AES OpenCL]... FAILED (cmp_all(1))
Benchmarking: mscash2-opencl, MS Cache Hash 2 (DCC2) [PBKDF2-SHA1 OpenCL]... FAILED (cmp_all(1))
Benchmarking: pgpdisk-opencl, PGP Disk / Virtual Disk [SHA1 AES/TwoFish/CAST OpenCL]... FAILED (cmp_all(1))
For argon2-opencl
, it failing at cmp_one(2)
suggests that Argon2d works (would be index 1), but Argon2i fails.
from john.
Using PowerShell
#Using the alias
run\john --test --format=sha*crypt-opencl | tee 1.txt
#Using the cmdlet
run\john --test --format=sha*crypt-opencl | Tee-Object -FilePath 2.txt
/windows/02Jan$ ls -l *.txt
-rwxrwxrwx 1 root root 1056 jan 19 09:43 1.txt
-rwxrwxrwx 1 root root 1006 jan 19 09:46 2.txt
$ file *.txt
1.txt: Unicode text, UTF-16, little-endian text, with CRLF line terminators
2.txt: Unicode text, UTF-16, little-endian text, with CRLF line terminators
from john.
Thanks @claudioandre-br! Why is the second file smaller? Does this also capture stderr (I guess not) and do you know a way to do so (like 2>&1
we'd use in a Unix shell)?
Separately, we might want to reconsider printing some stuff to stderr (just have it go to stdout along with everything else). The way we split what goes to stdout vs. stderr now feels more annoying and arbitrary than useful and expected.
from john.
Why is the second file smaller?
Part of the output is missing (was lost).
diff -a 1.txt 2.txt
< Raw: 10032 c/s real, 326808 c/s virtual
---
> Raw: 8328 c/s
[...]
I'll re-check it later.
from john.
@claudioandre-br Oh, we don't print c/s virtual if the virtual time appears to be 0. This can happen, and is fine, since we can in fact use very little CPU time when running almost entirely on an OpenCL device.
from john.
I meant that you would temporarily stop the attack on your
11.txt
(which would make this system idle), then run this test, then continue the attack withjohn --restore
. Is this what you did? Or did you run this test while also cracking11.txt
at the same time?
@solardiz Sorry, there is an issue with my understanding. There were no other applications occupying the GPU while running this test.
In the log, there are 74 successful tests, but also 7 failing ones. And this ends in a fatal failure for
solarwinds-opencl
, which may be because of issues withsolarwinds-opencl
or it may be memory leaks accumulated from previous tests. To find this out, can you please runjohn --test --format=solarwinds-opencl
?
The following is the result of running 'John -- test -- format=solarwinds opencl >log_solarwinds-opencl.txt':
log_solarwinds-opencl.txt
from john.
@simplete OK, thank you very much! Now we have a better understanding of how JtR behaves on this sort of card.
from john.
Related Issues (20)
- Convert the RAdmin format to thin around dynamic_1010, or optimize
- Make HMAC CPU formats use SIMD and OpenMP fully
- Specialize SIMD SHA-256 for half-length input, iterated hashing HOT 2
- New issue in simd-intrinsics.c HOT 1
- update ssh2john to support all algs from openssh HOT 3
- mozilla2john errors with python 3.11.6 HOT 4
- zip2john output is large, unidentified by other tools HOT 10
- CI: Test our *2john tools HOT 2
- John on big/little architectures HOT 5
- Standardize iteration count for PBKDF2 benchmarks
- Use interleaved SHA-NI for SHA-256 on some CPUs lacking AVX-512 HOT 4
- Can't crack specific zip file with John, but I manged to do it on other OS HOT 4
- md5crypt-opencl on Intel Alder Lake GPU: CL_OUT_OF_RESOURCES (-5) error in opencl_md5crypt_fmt_plug.c:404 - Copy data back HOT 3
- Help installing into termux HOT 1
- blake2.h error : size of array element is not a multiple of its alignment HOT 3
- Integrate ZLUDA for AMD CUDA brute HOT 1
- error: size of array element is not a multiple of its alignment HOT 3
- Switch to Sovyn Y.'s DES S-box expressions
- Switch Lotus formats to bitslice implementation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from john.