https://github.com/rofl0r/sm3crack
cracker for sm3crypt hashes
https://github.com/rofl0r/sm3crack
Last synced: 6 months ago
JSON representation
cracker for sm3crypt hashes
- Host: GitHub
- URL: https://github.com/rofl0r/sm3crack
- Owner: rofl0r
- Created: 2024-08-11T18:25:33.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-12T14:35:57.000Z (almost 2 years ago)
- Last Synced: 2025-08-01T10:02:52.531Z (12 months ago)
- Language: C
- Size: 16.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
sm3crypt cracker used for CMIYC 2024 based on xcrypt PR.
the cracker is single-thread, but can be made multithreaded using
my jobflow program like so:
john -session=foobar -stdout -mask='Aksha#?d?d?d?d' | jobflow -threads 8 -bulk 4K -exec ./sm3 hashes.sm3
the jobflow program passes stdin in chunks of "bulk" bytes to avoid
syscall overhead.
build:
echo "CFLAGS = -mavx -msse2 -O3 -g0 -flto -std=gnu99 -static" > config.mak
make
if you build for non-x86_64 platform, remove the #include "mymemcpy.c" and
#define memcpy mymemcpy from crypt-sm3.c.