You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hashcat/tools/test_modules
philsmd 2c88578c1f
tests: add unit tests for -m 29600
2 years ago
..
README.md minor whitespace fixes 3 years ago
m00000.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00010.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00011.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00012.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00020.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00021.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00022.pm Fixed Unit Test salt-max in case of optimized kernel, with hash-type 22 and 23 2 years ago
m00023.pm Fixed Unit Test salt-max in case of optimized kernel, with hash-type 22 and 23 2 years ago
m00024.pm Added hash-mode 24 - SolarWinds Serv-U 3 years ago
m00030.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00040.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00050.pm tests: cleanup and module deps fix 2 years ago
m00060.pm tests: cleanup and module deps fix 2 years ago
m00070.pm Added hash-mode 70 - md5(utf16le(pass)) 3 years ago
m00100.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00101.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00110.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00111.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00112.pm cosmetic: minor code style fixes 4 years ago
m00120.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00121.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00122.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00124.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00125.pm Fix several constraints of raw modes 5 years ago
m00130.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00131.pm cosmetic: minor code style fixes 4 years ago
m00132.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00133.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00140.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00141.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00150.pm tests: cleanup and module deps fix 2 years ago
m00160.pm tests: cleanup and module deps fix 2 years ago
m00170.pm Added hash-mode 170 - sha1(utf16le(pass)) 3 years ago
m00200.pm Make use of module_constraints more easy and fix some modes 5 years ago
m00300.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00400.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00500.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m00600.pm updates default pw_max length for blake2b 4 years ago
m00610.pm Limit password and salt length in unit test for -m 610 and -m 620 2 years ago
m00620.pm Limit password and salt length in unit test for -m 610 and -m 620 2 years ago
m00900.pm tests: cleanup and module deps fix 2 years ago
m01000.pm Example of a better UTF8 to UTF16LE encoding in unit test. It allows digesting UTF8 encoded password candidates from the shell in passthrough mode 3 years ago
m01100.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01300.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01400.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01410.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01411.pm minor whitespace fixes, per #2841 3 years ago
m01420.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01421.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01430.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01440.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01441.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01450.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01460.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01470.pm Added hash-mode 1470 - sha256(utf16le(pass)) 3 years ago
m01500.pm Fixed more constraints in unit tests 5 years ago
m01600.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01700.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01710.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01711.pm tests: cleanup and module deps fix 2 years ago
m01720.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01722.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01730.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01731.pm cosmetic: minor code style fixes 4 years ago
m01740.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01750.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01760.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m01770.pm Added hash-mode 1770 - sha512(utf16le(pass)) 3 years ago
m01800.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m02100.pm tests: cleanup and module deps fix 2 years ago
m02400.pm tests: cleanup and module deps fix 2 years ago
m02410.pm Mode 2400 and 2410 do not have pure kernel 5 years ago
m02500.pm Fixed more constraints in unit tests 5 years ago
m02600.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m02611.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m02612.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m02711.pm Fixed more constraints in unit tests 5 years ago
m02811.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m03000.pm Prevent unit test of -m 3000 to generate zero hash. This confuses test.sh validator 3 years ago
m03100.pm Fixed more constraints in unit tests 5 years ago
m03200.pm Fixed more constraints in unit tests 5 years ago
m03500.pm Add files via upload 4 years ago
m03710.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m03711.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m03800.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m03910.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m04010.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m04110.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m04300.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m04400.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m04410.pm added md5(sha1($pass).$salt) 2 years ago
m04500.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m04510.pm fixes #3029: cracking long salts in -m 4510/4710 2 years ago
m04520.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m04521.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m04522.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m04700.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m04710.pm fixes #3029: cracking long salts in -m 4510/4710 2 years ago
m04711.pm Added hash-mode 4711, Huawei sha1(md5(pass).salt) 5 years ago
m04800.pm cosmetic: minor code style fixes 4 years ago
m04900.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m05000.pm Add files via upload 4 years ago
m05100.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m05300.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m05400.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m05500.pm tests: cleanup and module deps fix 2 years ago
m05600.pm minor: add use "warnings"; to every perl script 4 years ago
m05700.pm minor: add use "warnings"; to every perl script 4 years ago
m05800.pm minor: add use "warnings"; to every perl script 4 years ago
m06000.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m06100.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m06300.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m06400.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m06500.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m06600.pm cosmetic: minor code style fixes 4 years ago
m06700.pm cosmetic: minor code style fixes 4 years ago
m06800.pm cosmetic: minor code style fixes 4 years ago
m06900.pm Fixed more constraints in unit tests 5 years ago
m07000.pm cosmetic: minor code style fixes 4 years ago
m07100.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m07200.pm cosmetic: minor code style fixes 4 years ago
m07300.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m07400.pm Added -m 7401 = MySQL $A$ (sha256crypt), closes #2305 4 years ago
m07401.pm Added -m 7401 = MySQL $A$ (sha256crypt), closes #2305 4 years ago
m07500.pm tests: cleanup and module deps fix 2 years ago
m07700.pm cosmetic: minor code style fixes 4 years ago
m07701.pm cosmetic: minor code style fixes 4 years ago
m07800.pm cosmetic: minor code style fixes 4 years ago
m07801.pm cosmetic: minor code style fixes 4 years ago
m07900.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m08000.pm Add -m 8000 unit test 5 years ago
m08100.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m08200.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m08300.pm cosmetic: minor code style fixes 4 years ago
m08400.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m08500.pm Add -m 8500 unit test 5 years ago
m08600.pm Add -m 8600 unit test 5 years ago
m08700.pm Add -m 9100 unit test 5 years ago
m08900.pm tests: cleanup and module deps fix 2 years ago
m09100.pm Add -m 9100 unit test 5 years ago
m09200.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m09300.pm cosmetic: minor code style fixes 4 years ago
m09400.pm Add -m 9600 unit test 5 years ago
m09500.pm Fixed unit tests using 'null' as padding method in Crypt::CBC but actually want to use 'none' 3 years ago
m09600.pm Fixed unit tests using 'null' as padding method in Crypt::CBC but actually want to use 'none' 3 years ago
m09700.pm Add -m 9700 unit test 5 years ago
m09800.pm fixes #2067: 40-bit oldoffice false positive problem 4 years ago
m09900.pm Fix pure kernel maximum password length in -m 9900 test unit 5 years ago
m10000.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m10100.pm Do not use next if we mean return 5 years ago
m10200.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m10300.pm Add -m 10300 unit test 5 years ago
m10400.pm Add -m 10500 unit test 5 years ago
m10500.pm Do not use next if we mean return 5 years ago
m10600.pm Fix -m 10600 max password length in pure kernel mode 5 years ago
m10700.pm Fixed unit tests using 'null' as padding method in Crypt::CBC but actually want to use 'none' 3 years ago
m10800.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m10810.pm Added hash-mode 10810 - sha384(pass.salt) 3 years ago
m10820.pm Added hash-mode 10820 - sha384(salt.pass) 3 years ago
m10830.pm Added hash-mode 10830 - sha384(utf16le(pass).salt) 3 years ago
m10840.pm Added hash-mode 10840 - sha384(salt.utf16le(pass)) 3 years ago
m10870.pm Added hash-mode 10870 - sha384(utf16le(pass)) 3 years ago
m10900.pm cosmetic: minor code style fixes 4 years ago
m10901.pm tests: cleanup and module deps fix 2 years ago
m11000.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m11100.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m11200.pm tests: cleanup and module deps fix 2 years ago
m11300.pm tests: added verify code for -m 11300 = bitcoin/litecoin 4 years ago
m11400.pm Add unit tests for multiple modules: 5 years ago
m11500.pm Fixed unit test initialization value for -m 11500 3 years ago
m11600.pm Add -m 11600 optimized kernel 4 years ago
m11700.pm tests: use python3/pip3 instead of just python/pip 4 years ago
m11750.pm tests: use python3/pip3 instead of just python/pip 4 years ago
m11760.pm tests: use python3/pip3 instead of just python/pip 4 years ago
m11800.pm tests: use python3/pip3 instead of just python/pip 4 years ago
m11850.pm tests: use python3/pip3 instead of just python/pip 4 years ago
m11860.pm tests: use python3/pip3 instead of just python/pip 4 years ago
m11900.pm cosmetic: minor code style fixes 4 years ago
m12000.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m12001.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m12100.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m12200.pm cosmetic: minor code style fixes 4 years ago
m12300.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m12400.pm Fixed more constraints in unit tests 5 years ago
m12500.pm Restore maximum password length 128 for pure RAR3 kernels 3 years ago
m12600.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m12700.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m12800.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m12900.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m13000.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m13100.pm tests: cleanup and module deps fix 2 years ago
m13200.pm tests: fixed -m 13200 = AxCrypt tests 4 years ago
m13300.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m13400.pm fixes #2009: padding problem in -m 13400 tests 4 years ago
m13500.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m13600.pm tests: fixed -m 13600 = WinZip verification 4 years ago
m13800.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m13900.pm tests: cleanup and module deps fix 2 years ago
m14000.pm Fixed more constraints in unit tests 5 years ago
m14100.pm Fixed more constraints in unit tests 5 years ago
m14400.pm Add unit tests for multiple modules 5 years ago
m14700.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m14800.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m14900.pm Add unit tests for multiple modules 5 years ago
m15000.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m15100.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m15200.pm minor whitespace fixes, per #2841 3 years ago
m15300.pm Prepare for DPAPI masterkey Context 3 2 years ago
m15310.pm Added hash-mode: DPAPI masterkey file v1 (context 3) 2 years ago
m15400.pm Fix -m 15400 selftest-pair, benchmark-mask and unit-test 5 years ago
m15500.pm Add unit tests for multiple modules: 5 years ago
m15600.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m15700.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m15900.pm Prepare for DPAPI masterkey Context 3 2 years ago
m15910.pm DPAPI masterkey file v2 (context 3) 2 years ago
m16000.pm Fixed more constraints in unit tests 5 years ago
m16100.pm Add unit tests for multiple modules: 5 years ago
m16200.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m16300.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m16400.pm tests: fixed -m 16400 = CRAM-MD5 Dovecot tests 4 years ago
m16500.pm cosmetic: minor code style fixes 4 years ago
m16600.pm Fixed unit tests using 'null' as padding method in Crypt::CBC but actually want to use 'none' 3 years ago
m16700.pm cosmetic: minor code style fixes 4 years ago
m16800.pm tests: remove verify code for -m 16800 = WPA-PMKID-PBKDF2 4 years ago
m16900.pm tests: cleanup and module deps fix 2 years ago
m17300.pm Fixed more constraints in unit tests 5 years ago
m17400.pm Fixed more constraints in unit tests 5 years ago
m17500.pm Fixed more constraints in unit tests 5 years ago
m17600.pm Fixed more constraints in unit tests 5 years ago
m17700.pm cosmetic: minor code style fixes 4 years ago
m17800.pm cosmetic: minor code style fixes 4 years ago
m17900.pm Fixed more constraints in unit tests 5 years ago
m18000.pm Fixed more constraints in unit tests 5 years ago
m18100.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m18200.pm tests: cleanup and module deps fix 2 years ago
m18300.pm cosmetic: minor code style fixes 4 years ago
m18400.pm cosmetic: minor code style fixes 4 years ago
m18500.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m18600.pm cosmetic: minor code style fixes 4 years ago
m18700.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m18800.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m18900.pm Fixed maximum password length limit which was announced as 256 but actually was 255 5 years ago
m19000.pm Added QNX /etc/shadow hash cracking support 5 years ago
m19100.pm Added QNX /etc/shadow hash cracking support 5 years ago
m19200.pm Added QNX /etc/shadow hash cracking support 5 years ago
m19300.pm Added hash-mode 19300 sha1(..) 5 years ago
m19500.pm Added hash mode 19500 5 years ago
m19600.pm tests: cleanup and module deps fix 2 years ago
m19700.pm tests: cleanup and module deps fix 2 years ago
m19800.pm tests: cleanup and module deps fix 2 years ago
m19900.pm tests: cleanup and module deps fix 2 years ago
m20011.pm tests: cleanup and module deps fix 2 years ago
m20012.pm tests: cleanup and module deps fix 2 years ago
m20013.pm tests: cleanup and module deps fix 2 years ago
m20200.pm minor whitespace fixes, per #2841 3 years ago
m20300.pm minor whitespace fixes, per #2841 3 years ago
m20400.pm minor whitespace fixes, per #2841 3 years ago
m20500.pm adding pkzip stream cipher kernels 20500 and 20510 5 years ago
m20510.pm Add minimum password length for -m 20510 5 years ago
m20600.pm tests: cleanup and module deps fix 2 years ago
m20710.pm cleanup 3 years ago
m20711.pm update AuthMe patch (3) 5 years ago
m20720.pm Add files via upload 4 years ago
m20800.pm switch hash-mode from 4710 to 20800 5 years ago
m20900.pm switch hash-mode from 4410 to 20900 5 years ago
m21000.pm switch hash-mode from 1770 to 21000 5 years ago
m21100.pm switch hash-mode from 4720 to 21100 5 years ago
m21200.pm improved speed of -m 21200 by using pre-computed SHA1 hash 4 years ago
m21300.pm make -m 21200 more generic (except all supported salt len) 4 years ago
m21400.pm switch hash-mode from 1470 to 21400, cleanup credits/readme/changes txt 5 years ago
m21420.pm removed unused printf from 21420 test module 2 years ago
m21500.pm tests: cleanup and module deps fix 2 years ago
m21501.pm tests: cleanup and module deps fix 2 years ago
m21600.pm tests: cleanup and module deps fix 2 years ago
m21700.pm Added -m 21700 = Electrum 4 and -m 21800 = Electrum 5 5 years ago
m21800.pm tests: allow tests with 05 AND 04 in zlib header for electrum 5 4 years ago
m22000.pm Initial -m 22001 support 4 years ago
m22100.pm Update Bitlocker minimum password length 4 4 years ago
m22200.pm Added hash-mode: Citrix NetScaler (SHA512) 4 years ago
m22300.pm Added -m 22300 = sha256($salt.$pass.$salt) 4 years ago
m22301.pm tests: solve telegram format conflict with jtr 4 years ago
m22400.pm AES Crypt Plugin: Replaced naive with true UTF8 to UTF16 conversion, reduced max password length to 128 and improved performance 3 years ago
m22500.pm Fixes #1538: Added -m 22500 = MultiBit Classic .key (MD5) 4 years ago
m22600.pm Added -m 22600 = Telegram Desktop App Passcode (PBKDF2-HMAC-SHA1) 4 years ago
m22700.pm fixes #2383: added -m 22700 = MultiBit HD (scrypt) 4 years ago
m22911.pm minor: update list of perl modules for unit tests 4 years ago
m22921.pm Update support for RSA/DSA/EC/OPENSSH Private Keys 4 years ago
m22931.pm Update support for RSA/DSA/EC/OPENSSH Private Keys 4 years ago
m22941.pm Update support for RSA/DSA/EC/OPENSSH Private Keys 4 years ago
m22951.pm Update support for RSA/DSA/EC/OPENSSH Private Keys 4 years ago
m23001.pm fixes #2410: added -m 2300x = SecureZIP 4 years ago
m23002.pm fixes #2410: added -m 2300x = SecureZIP 4 years ago
m23003.pm fixes #2410: added -m 2300x = SecureZIP 4 years ago
m23100.pm Fixed unit tests using 'null' as padding method in Crypt::CBC but actually want to use 'none' 3 years ago
m23200.pm Fix verify function in unit test for -m 23200 4 years ago
m23300.pm Fixed unit tests using 'null' as padding method in Crypt::CBC but actually want to use 'none' 3 years ago
m23400.pm fix test/verify for -m 23400 2 years ago
m23500.pm fixes #2510: Added -m 23500/23600 = AxCrypt 2 AES-128/256 4 years ago
m23600.pm fixes #2510: Added -m 23500/23600 = AxCrypt 2 AES-128/256 4 years ago
m23700.pm Restore maximum password length 128 for pure RAR3 kernels 3 years ago
m23900.pm Added -m 23900 = BestCrypt v3 Volume Encryption 4 years ago
m24100.pm Added mongodb-scram ServerKey (-m 24100 for SHA1, -m 24200 for SHA256) 4 years ago
m24200.pm Added mongodb-scram ServerKey (-m 24100 for SHA1, -m 24200 for SHA256) 4 years ago
m24300.pm Add files via upload 4 years ago
m24410.pm tests: remove requirement Convert::ASN1 4 years ago
m24420.pm tests: remove requirement Convert::ASN1 4 years ago
m24500.pm Added -m 24500 = Telegram Desktop >= v2.1.14 (PBKDF2-HMAC-SHA512) 4 years ago
m24600.pm Add additional support for SQLCipher v3 and hashes SHA1 and SHA256 and a unit-test 3 years ago
m24700.pm tests: cleanup and module deps fix 2 years ago
m24800.pm tests: cleanup and module deps fix 2 years ago
m24900.pm tests: cleanup and module deps fix 2 years ago
m25000.pm tests: cleanup and module deps fix 2 years ago
m25100.pm tests: cleanup and module deps fix 2 years ago
m25200.pm tests: cleanup and module deps fix 2 years ago
m25300.pm tests: cleanup and module deps fix 2 years ago
m25400.pm tests: cleanup and module deps fix 2 years ago
m25500.pm Unit-Tests: Added missing unit-test for Stargazer Stellar Wallet XLM 3 years ago
m25600.pm Rename -m 3201 to -m 25600 3 years ago
m25700.pm tests: cleanup and module deps fix 2 years ago
m25800.pm Rename -m 3202 to -m 25800 3 years ago
m25900.pm minor whitespace fixes, per #2841 3 years ago
m26000.pm Remove some debugging code from tools/test_modules/m26000.pm 3 years ago
m26100.pm Added new hash-modes Mozilla key3.db and key4.db 3 years ago
m26200.pm fixes #2840: minor code style changes for OpenEdge tests 3 years ago
m26300.pm Renamed -m 7010 to -m 26300 3 years ago
m26401.pm Added hash-mode: AES-128/192/256-ECB NOKDF 3 years ago
m26402.pm Added hash-mode: AES-128/192/256-ECB NOKDF 3 years ago
m26403.pm Added hash-mode: AES-128/192/256-ECB NOKDF 3 years ago
m26500.pm Added hash-mode: iPhone passcode (UID key + System Keybag) 3 years ago
m26600.pm tests: cleanup and module deps fix 2 years ago
m26700.pm tests: cleanup and module deps fix 2 years ago
m26800.pm tests: cleanup and module deps fix 2 years ago
m26900.pm tests: cleanup and module deps fix 2 years ago
m27000.pm tests: cleanup and module deps fix 2 years ago
m27100.pm tests: cleanup and module deps fix 2 years ago
m27200.pm Fix errors and make recommended changes, set pw_max to 9 for opti kernel 3 years ago
m27300.pm tests: cleanup and module deps fix 2 years ago
m27400.pm move to 27400, fix unit test 3 years ago
m27500.pm tests: cleanup and module deps fix 2 years ago
m27600.pm tests: cleanup and module deps fix 2 years ago
m27700.pm fixes #2674: added -m 27700 = MultiBit Classic .wallet (scrypt) 3 years ago
m27800.pm add tests for -m 27800 = MurmurHash 3 2 years ago
m27900.pm Added missing unit-test for -m 27900 3 years ago
m28000.pm Added hash-mode: CRC64Jones 3 years ago
m28100.pm tests: get rid of wrong modules from -m 28100 2 years ago
m28200.pm remove unnecessary perl modules from Exodus tests 2 years ago
m28300.pm tests: cleanup and module deps fix 2 years ago
m28400.pm Added kernel, module and unit-test for hash-mode 28400: bcryptsha512 2 years ago
m28501.pm Add -m 28503/28504 = Bitcoin WIF, P2WSH/bech32/segwit address 2 years ago
m28502.pm Add -m 28503/28504 = Bitcoin WIF, P2WSH/bech32/segwit address 2 years ago
m28503.pm Add -m 28503/28504 = Bitcoin WIF, P2WSH/bech32/segwit address 2 years ago
m28504.pm Add -m 28503/28504 = Bitcoin WIF, P2WSH/bech32/segwit address 2 years ago
m28505.pm Add -m 28505/28506, Bitcoin WIF, P2SH(P2WPKH)/compat address 2 years ago
m28506.pm Add -m 28505/28506, Bitcoin WIF, P2SH(P2WPKH)/compat address 2 years ago
m28600.pm fix test/verify for -m 28600 2 years ago
m28700.pm cleanup: remove spaces at the end of lines 2 years ago
m28800.pm fix test/verify for -m 28800 2 years ago
m28900.pm fix test/verify for -m 28900 2 years ago
m29000.pm add unit tests for -m 29000 2 years ago
m29100.pm fix -m 29100 unit test dependencies 2 years ago
m29200.pm radmin 3: remove whitespace, add credits to tests 2 years ago
m29600.pm tests: add unit tests for -m 29600 2 years ago

README.md

Hashcat test modules

Each module provides the functions module_constraints, module_generate_hash and module_verify_hash.

  • The module_constraints function should return the minimum and maximum length of the password, salt and the combination of password and salt in following order: password (pure), salt (pure), password (optimized), salt (optimized) and combination (optimized). Each pair should be set to -1 if the hash mode is not supporting the appropriate field. For example, if a hash-mode does not support a salt, it should be set to -1. The last field (combination) is important if the password and the salt is stored in the same buffer in the kernel (typically raw hashes only).
  • The first parameter to module_generate_hash is the password, which can be either in ASCII or binary (packed) form. The second parameter is the salt *which can be undefined for unsalted hash modes).
  • The module_verify_hash function accepts a line from the cracks file, without the newline characters.

During single and passthrough tests the module_generate_hash function must provide random values (e.g. salt) for hash generation if necessary. The test.pl script offers a few handy functions like random_hex_string, random_numeric_string and random_bytes. You can implement your own salt generation functions, if your mode has specific requirements.

During verify tests the module_verify_hash function must parse the hash:password line and calculate a hash by passing all necessary data to module_generate_hash. How you pass it is up to you, as long as the first parameter is the password.

Important: You have to call pack_if_HEX_notation as soon as you have parsed the password, or your tests will fail on passwords in the $HEX[...] format.

If the algorithm has ambiguous hashes (e.g. partial case-insensetivity), the test module can provide an optional function module_preprocess_hashlist. It recieves a reference to the hashlist array and can unify the hashes in a way that guarantees the match with the output of module_verify_hash.

Examples

  • For the most basic test modules, see m00000.pm and m00100.pm
  • For the basic salted hash tests, see m00110.pm and m00120.pm
  • For some sligthly more complex modules with PBKDF2 and encryption, see m18400.pm and m18600.pm
  • For a test module with hashlist preprocessing and a custom salt generation algorithm, see m05600.pm