├── modules └── .lock ├── obj ├── .lock └── contrib │ └── minizip │ └── .lock ├── OpenCL ├── inc_comp_multi.h ├── inc_scalar.h ├── inc_comp_multi_bs.h ├── inc_comp_single.h ├── inc_comp_single_bs.h ├── inc_luks_xts.h ├── inc_comp_single_bs.cl ├── inc_truecrypt_crc32.h ├── inc_comp_single.cl ├── inc_truecrypt_keyfile.h ├── inc_veracrypt_keyfile.h ├── m02000_a0-pure.cl ├── m02000_a1-pure.cl ├── m02000_a3-pure.cl ├── amp_a3.cl ├── inc_luks_essiv.h ├── inc_luks_xts.cl ├── inc_cipher_kuznyechik.h ├── inc_cipher_camellia.h ├── m02000_a0-optimized.cl ├── m02000_a1-optimized.cl ├── m02000_a3-optimized.cl └── amp_a0.cl ├── Makefile ├── .gitattributes ├── deps ├── zlib │ ├── contrib │ │ ├── blast │ │ │ ├── test.txt │ │ │ ├── README │ │ │ ├── test.pk │ │ │ └── Makefile │ │ ├── infback9 │ │ │ └── README │ │ ├── puff │ │ │ └── zeros.raw │ │ ├── dotzlib │ │ │ ├── DotZLib.chm │ │ │ └── DotZLib │ │ │ │ ├── Deflater.cs │ │ │ │ ├── DotZLib.cs │ │ │ │ ├── Inflater.cs │ │ │ │ ├── CodecBase.cs │ │ │ │ ├── GZipStream.cs │ │ │ │ ├── ChecksumImpl.cs │ │ │ │ └── CircularBuffer.cs │ │ ├── masmx64 │ │ │ └── bld_ml64.bat │ │ ├── masmx86 │ │ │ └── bld_ml32.bat │ │ ├── minizip │ │ │ ├── MiniZip64_Changes.txt │ │ │ ├── minizip.pc.in │ │ │ └── Makefile │ │ ├── delphi │ │ │ └── ZLibConst.pas │ │ ├── testzlib │ │ │ └── testzlib.txt │ │ ├── untgz │ │ │ ├── Makefile │ │ │ └── Makefile.msc │ │ ├── iostream3 │ │ │ └── TODO │ │ ├── ada │ │ │ └── zlib.gpr │ │ └── iostream │ │ │ └── test.cpp │ ├── zlib.3.pdf │ ├── Makefile │ ├── win32 │ │ └── VisualC.txt │ ├── old │ │ └── README │ ├── nintendods │ │ └── README │ ├── zlib.pc.in │ ├── zlib.pc.cmakein │ ├── inffast.h │ └── gzclose.c ├── xxHash │ ├── tests │ │ ├── collisions │ │ │ ├── .gitignore │ │ │ └── allcodecs │ │ │ │ └── README.md │ │ └── bench │ │ │ └── .gitignore │ ├── cmake_unofficial │ │ ├── xxHashConfig.cmake.in │ │ └── .gitignore │ ├── .gitattributes │ ├── doc │ │ └── README.md │ ├── libxxhash.pc.in │ └── .gitignore ├── unrar │ ├── dll.rc │ ├── rs16.cpp │ ├── rarpch.cpp │ ├── list.hpp │ ├── global.cpp │ ├── smallfn.hpp │ ├── rarlang.hpp │ ├── version.hpp │ ├── ui.cpp │ ├── global.hpp │ ├── resource.hpp │ ├── dll.def │ ├── log.hpp │ ├── dll_nocrypt.def │ ├── isnt.hpp │ ├── smallfn.cpp │ ├── volume.hpp │ ├── crc.hpp │ ├── sha256.hpp │ ├── filestr.hpp │ ├── resource.cpp │ ├── filcreat.hpp │ ├── sha1.hpp │ ├── encname.hpp │ ├── isnt.cpp │ ├── coder.hpp │ ├── raros.hpp │ └── options.cpp ├── LZMA-SDK │ ├── C │ │ ├── Util │ │ │ ├── LzmaLib │ │ │ │ ├── LzmaLib.def │ │ │ │ ├── resource.rc │ │ │ │ ├── LzmaLibExports.c │ │ │ │ ├── LzmaLib.dsw │ │ │ │ └── makefile │ │ │ ├── SfxSetup │ │ │ │ ├── setup.ico │ │ │ │ ├── Precomp.c │ │ │ │ ├── resource.rc │ │ │ │ ├── Precomp.h │ │ │ │ ├── SfxSetup.dsw │ │ │ │ └── makefile │ │ │ ├── 7z │ │ │ │ ├── Precomp.c │ │ │ │ ├── Precomp.h │ │ │ │ ├── 7z.dsw │ │ │ │ └── makefile.gcc │ │ │ └── Lzma │ │ │ │ ├── makefile.gcc │ │ │ │ ├── makefile │ │ │ │ └── LzmaUtil.dsw │ │ ├── var_gcc_x64.mak │ │ ├── var_clang.mak │ │ ├── var_gcc_x86.mak │ │ ├── var_gcc.mak │ │ ├── Precomp.h │ │ ├── var_clang_arm64.mak │ │ ├── var_clang_x64.mak │ │ ├── var_clang_x86.mak │ │ ├── var_mac_x64.mak │ │ ├── var_mac_arm64.mak │ │ ├── var_gcc_arm64.mak │ │ ├── DllSecur.h │ │ ├── Sort.h │ │ ├── 7zAlloc.h │ │ ├── Delta.h │ │ ├── 7zBuf.c │ │ ├── 7zCrc.h │ │ ├── XzCrc64.h │ │ ├── RotateDefs.h │ │ └── 7zBuf.h │ └── DOC │ │ ├── installer.txt │ │ └── lzma-history.txt └── OpenCL-Headers │ └── CODE_OF_CONDUCT.md ├── tools ├── tc_tests │ ├── .gitattributes │ ├── hashcat_sha512_aes.tc │ ├── hashcat_ripemd160_aes.tc │ ├── hashcat_sha512_serpent.tc │ ├── hashcat_sha512_twofish.tc │ ├── hashcat_whirlpool_aes.tc │ ├── hashcat_ripemd160_serpent.tc │ ├── hashcat_ripemd160_twofish.tc │ ├── hashcat_whirlpool_serpent.tc │ ├── hashcat_whirlpool_twofish.tc │ ├── hashcat_ripemd160_aes_boot.tc │ ├── hashcat_sha512_aes-twofish.tc │ ├── hashcat_sha512_serpent-aes.tc │ ├── hashcat_ripemd160_aes-twofish.tc │ ├── hashcat_ripemd160_serpent-aes.tc │ ├── hashcat_ripemd160_serpent_boot.tc │ ├── hashcat_ripemd160_twofish_boot.tc │ ├── hashcat_sha512_twofish-serpent.tc │ ├── hashcat_whirlpool_aes-twofish.tc │ ├── hashcat_whirlpool_serpent-aes.tc │ ├── hashcat_ripemd160_aes-twofish_boot.tc │ ├── hashcat_ripemd160_serpent-aes_boot.tc │ ├── hashcat_ripemd160_twofish-serpent.tc │ ├── hashcat_sha512_aes-twofish-serpent.tc │ ├── hashcat_sha512_serpent-twofish-aes.tc │ ├── hashcat_whirlpool_twofish-serpent.tc │ ├── hashcat_ripemd160_aes-twofish-serpent.tc │ ├── hashcat_ripemd160_serpent-twofish-aes.tc │ ├── hashcat_whirlpool_aes-twofish-serpent.tc │ ├── hashcat_whirlpool_serpent-twofish-aes.tc │ ├── hashcat_ripemd160_twofish-serpent_boot.tc │ ├── hashcat_ripemd160_aes-twofish-serpent_boot.tc │ └── hashcat_ripemd160_serpent-twofish-aes_boot.tc ├── vc_tests │ ├── .gitattributes │ ├── hashcat_sha256_aes.vc │ ├── hashcat_sha512_aes.vc │ ├── hashcat_streebog_aes.vc │ ├── hashcat_ripemd160_aes.vc │ ├── hashcat_sha256_serpent.vc │ ├── hashcat_sha256_twofish.vc │ ├── hashcat_sha512_serpent.vc │ ├── hashcat_sha512_twofish.vc │ ├── hashcat_whirlpool_aes.vc │ ├── hashcat_ripemd160_serpent.vc │ ├── hashcat_ripemd160_twofish.vc │ ├── hashcat_sha256_camellia.vc │ ├── hashcat_sha256_kuznyechik.vc │ ├── hashcat_sha512_camellia.vc │ ├── hashcat_sha512_kuznyechik.vc │ ├── hashcat_streebog_camellia.vc │ ├── hashcat_streebog_serpent.vc │ ├── hashcat_streebog_twofish.vc │ ├── hashcat_whirlpool_serpent.vc │ ├── hashcat_whirlpool_twofish.vc │ ├── hashcat_ripemd160_aes_boot.vc │ ├── hashcat_sha256_aes-twofish.vc │ ├── hashcat_sha256_serpent-aes.vc │ ├── hashcat_sha256_twofish_boot.vc │ ├── hashcat_sha512_aes-twofish.vc │ ├── hashcat_sha512_serpent-aes.vc │ ├── hashcat_streebog_kuznyechik.vc │ ├── hashcat_whirlpool_camellia.vc │ ├── hashcat_ripemd160_aes-twofish.vc │ ├── hashcat_ripemd160_serpent-aes.vc │ ├── hashcat_sha256_aes_boot_pim500.vc │ ├── hashcat_sha256_kuznyechik-aes.vc │ ├── hashcat_sha256_twofish-serpent.vc │ ├── hashcat_sha512_kuznyechik-aes.vc │ ├── hashcat_sha512_twofish-serpent.vc │ ├── hashcat_streebog_aes-twofish.vc │ ├── hashcat_streebog_serpent-aes.vc │ ├── hashcat_whirlpool_aes-twofish.vc │ ├── hashcat_whirlpool_kuznyechik.vc │ ├── hashcat_whirlpool_serpent-aes.vc │ ├── hashcat_sha256_camellia-serpent.vc │ ├── hashcat_sha256_serpent-aes_boot.vc │ ├── hashcat_sha512_camellia-serpent.vc │ ├── hashcat_streebog_kuznyechik-aes.vc │ ├── hashcat_streebog_twofish-serpent.vc │ ├── hashcat_whirlpool_kuznyechik-aes.vc │ ├── hashcat_ripemd160_aes-twofish_boot.vc │ ├── hashcat_ripemd160_twofish-serpent.vc │ ├── hashcat_sha256_aes-twofish-serpent.vc │ ├── hashcat_sha256_camellia-kuznyechik.vc │ ├── hashcat_sha256_kuznyechik-twofish.vc │ ├── hashcat_sha256_serpent-twofish-aes.vc │ ├── hashcat_sha512_aes-twofish-serpent.vc │ ├── hashcat_sha512_camellia-kuznyechik.vc │ ├── hashcat_sha512_kuznyechik-twofish.vc │ ├── hashcat_sha512_serpent-twofish-aes.vc │ ├── hashcat_streebog_camellia-serpent.vc │ ├── hashcat_streebog_kuznyechik-twofish.vc │ ├── hashcat_whirlpool_camellia-serpent.vc │ ├── hashcat_whirlpool_twofish-serpent.vc │ ├── hashcat_ripemd160_aes-twofish-serpent.vc │ ├── hashcat_ripemd160_serpent-twofish-aes.vc │ ├── hashcat_streebog_aes-twofish-serpent.vc │ ├── hashcat_streebog_camellia-kuznyechik.vc │ ├── hashcat_streebog_serpent-twofish-aes.vc │ ├── hashcat_whirlpool_aes-twofish-serpent.vc │ ├── hashcat_whirlpool_camellia-kuznyechik.vc │ ├── hashcat_whirlpool_kuznyechik-twofish.vc │ ├── hashcat_whirlpool_serpent-twofish-aes.vc │ ├── hashcat_sha256_serpent-twofish-aes_boot.vc │ ├── hashcat_ripemd160_aes-twofish-serpent_boot.vc │ ├── hashcat_sha256_kuznyechik-serpent-camellia.vc │ ├── hashcat_sha512_kuznyechik-serpent-camellia.vc │ ├── hashcat_streebog_kuznyechik-serpent-camellia.vc │ └── hashcat_whirlpool_kuznyechik-serpent-camellia.vc ├── pdf_tests │ ├── owner.pdf │ ├── user.pdf │ ├── user-owner.pdf │ ├── owner.hash │ ├── user.hash │ ├── owner.in │ ├── user-owner.hash │ ├── user_userpw-in-hash.hash │ ├── user-owner_userpw-in-hash.hash │ ├── user_userpw-in-hash.in │ ├── user-owner_userpw-in-hash.in │ └── _README.txt ├── cl_tests │ ├── hashcat_sha1_aes_128.img │ ├── hashcat_sha1_aes_192.img │ ├── hashcat_sha1_aes_256.img │ ├── hashcat_sha1_serpent_128.img │ ├── hashcat_sha1_serpent_192.img │ ├── hashcat_sha1_serpent_256.img │ ├── hashcat_sha1_twofish_128.img │ ├── hashcat_sha1_twofish_192.img │ ├── hashcat_sha1_twofish_256.img │ ├── hashcat_sha256_aes_128.img │ ├── hashcat_sha256_aes_192.img │ ├── hashcat_sha256_aes_256.img │ ├── hashcat_sha512_aes_128.img │ ├── hashcat_sha512_aes_192.img │ ├── hashcat_sha512_aes_256.img │ ├── hashcat_ripemd160_aes_128.img │ ├── hashcat_ripemd160_aes_192.img │ ├── hashcat_ripemd160_aes_256.img │ ├── hashcat_sha256_serpent_128.img │ ├── hashcat_sha256_serpent_192.img │ ├── hashcat_sha256_serpent_256.img │ ├── hashcat_sha256_twofish_128.img │ ├── hashcat_sha256_twofish_192.img │ ├── hashcat_sha256_twofish_256.img │ ├── hashcat_sha512_serpent_128.img │ ├── hashcat_sha512_serpent_192.img │ ├── hashcat_sha512_serpent_256.img │ ├── hashcat_sha512_twofish_128.img │ ├── hashcat_sha512_twofish_192.img │ ├── hashcat_sha512_twofish_256.img │ ├── hashcat_whirlpool_aes_128.img │ ├── hashcat_whirlpool_aes_192.img │ ├── hashcat_whirlpool_aes_256.img │ ├── hashcat_ripemd160_serpent_128.img │ ├── hashcat_ripemd160_serpent_192.img │ ├── hashcat_ripemd160_serpent_256.img │ ├── hashcat_ripemd160_twofish_128.img │ ├── hashcat_ripemd160_twofish_192.img │ ├── hashcat_ripemd160_twofish_256.img │ ├── hashcat_whirlpool_serpent_128.img │ ├── hashcat_whirlpool_serpent_192.img │ ├── hashcat_whirlpool_serpent_256.img │ ├── hashcat_whirlpool_twofish_128.img │ ├── hashcat_whirlpool_twofish_192.img │ └── hashcat_whirlpool_twofish_256.img └── test_modules │ └── m00900.pm ├── example400.hash ├── example500.hash ├── example500.sh ├── charsets ├── DES_special │ ├── DES_alpha.hcchr │ ├── multiple_nodes │ │ ├── DES_portion_0.hcchr │ │ ├── DES_portion_1.hcchr │ │ ├── DES_portion_2.hcchr │ │ ├── DES_portion_3.hcchr │ │ ├── DES_portion_4.hcchr │ │ ├── DES_portion_5.hcchr │ │ ├── DES_portion_6.hcchr │ │ ├── DES_portion_7.hcchr │ │ ├── DES_portion_8.hcchr │ │ ├── DES_portion_9.hcchr │ │ ├── DES_portion_A.hcchr │ │ ├── DES_portion_B.hcchr │ │ ├── DES_portion_C.hcchr │ │ ├── DES_portion_D.hcchr │ │ ├── DES_portion_E.hcchr │ │ └── DES_portion_F.hcchr │ └── DES_numeral.hcchr ├── combined │ ├── French.hcchr │ ├── German.hcchr │ ├── Greek.hcchr │ ├── Polish.hcchr │ ├── Slovak.hcchr │ ├── Bulgarian.hcchr │ ├── Castilian.hcchr │ ├── Catalan.hcchr │ ├── English.hcchr │ ├── Italian.hcchr │ ├── Russian.hcchr │ ├── Spanish.hcchr │ ├── Lithuanian.hcchr │ ├── Portuguese.hcchr │ └── GreekPolytonic.hcchr ├── standard │ ├── French │ │ ├── fr_cp1252.hcchr │ │ ├── fr_ISO-8859-1.hcchr │ │ ├── fr_ISO-8859-15.hcchr │ │ └── fr_ISO-8859-16.hcchr │ ├── German │ │ ├── de_cp1252.hcchr │ │ ├── de_ISO-8859-1.hcchr │ │ └── de_ISO-8859-15.hcchr │ ├── Greek │ │ ├── el_cp1253.hcchr │ │ └── el_ISO-8859-7.hcchr │ ├── Polish │ │ ├── pl_cp1250.hcchr │ │ └── pl_ISO-8859-2.hcchr │ ├── Russian │ │ ├── ru_cp866.hcchr │ │ ├── ru_KOI8-R.hcchr │ │ ├── ru_cp1251.hcchr │ │ └── ru_ISO-8859-5.hcchr │ ├── Slovak │ │ ├── sk_cp1250.hcchr │ │ └── sk_ISO-8859-2.hcchr │ ├── Bulgarian │ │ ├── bg_KOI8-R.hcchr │ │ ├── bg_cp1251.hcchr │ │ └── bg_ISO-8859-5.hcchr │ ├── Catalan │ │ ├── ca_cp1252.hcchr │ │ ├── ca_ISO-8859-1.hcchr │ │ └── ca_ISO-8859-15.hcchr │ ├── English │ │ ├── en_cp1252.hcchr │ │ ├── en_ISO-8859-1.hcchr │ │ └── en_ISO-8859-15.hcchr │ ├── Hungarian │ │ └── hu_cp1250.hcchr │ ├── Italian │ │ ├── it_cp1252.hcchr │ │ ├── it_ISO-8859-1.hcchr │ │ └── it_ISO-8859-15.hcchr │ ├── Spanish │ │ ├── es_cp1252.hcchr │ │ ├── es_ISO-8859-1.hcchr │ │ └── es_ISO-8859-15.hcchr │ ├── Lithuanian │ │ ├── lt_cp1257.hcchr │ │ ├── lt_ISO-8859-4.hcchr │ │ └── lt_ISO-8859-13.hcchr │ ├── Portuguese │ │ ├── pt_cp1252.hcchr │ │ ├── pt_ISO-8859-1.hcchr │ │ └── pt_ISO-8859-15.hcchr │ ├── Castilian │ │ ├── es-ES_cp1252.hcchr │ │ ├── es-ES_ISO-8859-1.hcchr │ │ └── es-ES_ISO-8859-15.hcchr │ └── GreekPolytonic │ │ ├── el_polytonic_cp1253.hcchr │ │ └── el_polytonic_ISO-8859-7.hcchr ├── special │ ├── Catalan │ │ ├── ca_cp1252-special.hcchr │ │ ├── ca_ISO-8859-1-special.hcchr │ │ └── ca_ISO-8859-15-special.hcchr │ ├── French │ │ ├── fr_cp1252-special.hcchr │ │ ├── fr_ISO-8859-1-special.hcchr │ │ ├── fr_ISO-8859-15-special.hcchr │ │ └── fr_ISO-8859-16-special.hcchr │ ├── German │ │ ├── de_cp1252-special.hcchr │ │ ├── de_ISO-8859-1-special.hcchr │ │ └── de_ISO-8859-15-special.hcchr │ ├── Greek │ │ ├── el_cp1253-special.hcchr │ │ └── el_ISO-8859-7-special.hcchr │ ├── Italian │ │ ├── it_cp1252-special.hcchr │ │ ├── it_ISO-8859-1-special.hcchr │ │ └── it_ISO-8859-15-special.hcchr │ ├── Polish │ │ └── pl_cp1250-special.hcchr │ ├── Russian │ │ ├── ru_cp1251-special.hcchr │ │ ├── ru_cp866-special.hcchr │ │ └── ru_ISO-8859-5-special.hcchr │ ├── Slovak │ │ ├── sk_cp1250-special.hcchr │ │ └── sk_ISO-8859-2-special.hcchr │ ├── Spanish │ │ ├── es_cp1252-special.hcchr │ │ ├── es_ISO-8859-1-special.hcchr │ │ └── es_ISO-8859-15-special.hcchr │ ├── Castilian │ │ ├── es-ES_cp1252-special.hcchr │ │ ├── es-ES_ISO-8859-1-special.hcchr │ │ └── es-ES_ISO-8859-15-special.hcchr │ └── Portuguese │ │ ├── pt_cp1252-special.hcchr │ │ ├── pt_ISO-8859-1-special.hcchr │ │ └── pt_ISO-8859-15-special.hcchr └── DES_full.hcchr ├── example400.sh ├── example0.sh ├── example500.cmd ├── example400.cmd ├── hashcat.hcstat2 ├── masks └── hashcat-default.hcmask ├── example0.cmd ├── rules ├── hybrid │ ├── append_d.rule │ ├── prepend_d.rule │ ├── append_d_passthrough.rule │ ├── prepend_d_passthrough.rule │ ├── append_hl.rule │ ├── append_hu.rule │ ├── prepend_hl.rule │ ├── prepend_hu.rule │ ├── append_hl_passthrough.rule │ ├── append_hu_passthrough.rule │ ├── prepend_hl_passthrough.rule │ ├── prepend_hu_passthrough.rule │ ├── append_l.rule │ ├── append_u.rule │ ├── prepend_l.rule │ ├── prepend_u.rule │ ├── append_l_passthrough.rule │ ├── append_u_passthrough.rule │ ├── prepend_l_passthrough.rule │ ├── prepend_u_passthrough.rule │ ├── append_s.rule │ ├── prepend_s.rule │ ├── append_s_passthrough.rule │ ├── prepend_s_passthrough.rule │ ├── append_du.rule │ ├── append_ld.rule │ ├── prepend_du.rule │ ├── prepend_ld.rule │ ├── append_du_passthrough.rule │ ├── append_ld_passthrough.rule │ ├── prepend_du_passthrough.rule │ ├── prepend_ld_passthrough.rule │ ├── append_ds.rule │ ├── prepend_ds.rule │ ├── append_ds_passthrough.rule │ ├── prepend_ds_passthrough.rule │ ├── append_lu.rule │ ├── prepend_lu.rule │ ├── append_lu_passthrough.rule │ ├── prepend_lu_passthrough.rule │ ├── append_ls.rule │ ├── append_us.rule │ ├── prepend_ls.rule │ ├── prepend_us.rule │ ├── append_ls_passthrough.rule │ ├── append_us_passthrough.rule │ ├── prepend_ls_passthrough.rule │ ├── prepend_us_passthrough.rule │ ├── append_ldu.rule │ ├── prepend_ldu.rule │ ├── append_ldu_passthrough.rule │ ├── prepend_ldu_passthrough.rule │ ├── append_dus.rule │ ├── append_lds.rule │ ├── prepend_dus.rule │ ├── prepend_lds.rule │ ├── append_dus_passthrough.rule │ ├── append_lds_passthrough.rule │ ├── prepend_dus_passthrough.rule │ ├── prepend_lds_passthrough.rule │ ├── append_lus.rule │ ├── prepend_lus.rule │ ├── append_lus_passthrough.rule │ ├── prepend_lus_passthrough.rule │ ├── append_ldus.rule │ ├── prepend_ldus.rule │ ├── append_ldus_passthrough.rule │ └── prepend_ldus_passthrough.rule ├── toggles1.rule └── leetspeak.rule ├── docs ├── contact.txt ├── team.txt ├── user_manuals.txt ├── license_libs │ └── LZMA_SDK_LICENSE.txt ├── performance.txt └── status_codes.txt ├── src ├── common.c ├── emu_inc_rp.c ├── emu_inc_simd.c ├── emu_inc_scalar.c ├── emu_inc_cipher_aes.c ├── emu_inc_cipher_des.c ├── emu_inc_hash_md4.c ├── emu_inc_hash_md5.c ├── emu_inc_hash_sha1.c ├── emu_inc_hash_sha224.c ├── emu_inc_hash_sha256.c ├── emu_inc_hash_sha384.c ├── emu_inc_hash_sha512.c ├── emu_inc_rp_optimized.c ├── emu_inc_cipher_camellia.c ├── emu_inc_cipher_serpent.c ├── emu_inc_cipher_twofish.c ├── emu_inc_hash_ripemd160.c ├── emu_inc_hash_whirlpool.c ├── emu_inc_cipher_kuznyechik.c ├── emu_inc_hash_streebog256.c ├── emu_inc_hash_streebog512.c ├── emu_inc_platform.c ├── emu_inc_common.c ├── emu_inc_ecc_secp256k1.c └── emu_general.c ├── extra └── tab_completion │ └── howto.txt ├── include ├── autotune.h ├── selftest.h ├── benchmark.h ├── timer.h ├── emu_inc_rp.h ├── emu_inc_hash_md4.h ├── emu_inc_hash_md5.h ├── emu_inc_hash_sha1.h ├── bitmap.h ├── emu_inc_hash_sha512.h ├── emu_inc_rp_optimized.h ├── emu_inc_ecc_secp256k1.h ├── emu_inc_hash_sha256.h ├── combinator.h ├── cpu_crc32.h ├── monitor.h ├── emu_inc_cipher_des.h ├── cpt.h ├── locking.h ├── straight.h ├── bitops.h ├── pidfile.h ├── outfile_check.h ├── rp_cpu.h ├── induct.h ├── debugfile.h ├── memory.h ├── stdout.h ├── emu_inc_cipher_aes.h ├── affinity.h ├── usage.h ├── dispatch.h ├── hlfmt.h ├── ext_lzma.h ├── restore.h ├── keyboard_layout.h ├── emu_general.h ├── loopback.h └── tuningdb.h ├── .gitignore ├── .editorconfig └── .travis.yml /modules/.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /obj/.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /OpenCL/inc_comp_multi.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /OpenCL/inc_scalar.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /OpenCL/inc_comp_multi_bs.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /OpenCL/inc_comp_single.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /OpenCL/inc_comp_single_bs.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /obj/contrib/minizip/.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | include src/Makefile 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | src/Makefile export-subst 2 | -------------------------------------------------------------------------------- /deps/zlib/contrib/blast/test.txt: -------------------------------------------------------------------------------- 1 | AIAIAIAIAIAIA -------------------------------------------------------------------------------- /tools/tc_tests/.gitattributes: -------------------------------------------------------------------------------- 1 | *.tc binary 2 | -------------------------------------------------------------------------------- /tools/vc_tests/.gitattributes: -------------------------------------------------------------------------------- 1 | *.vc binary 2 | -------------------------------------------------------------------------------- /example400.hash: -------------------------------------------------------------------------------- 1 | $H$9y5boZ2wsUlgl2tI6b5PrRoADzYfXD1 2 | -------------------------------------------------------------------------------- /example500.hash: -------------------------------------------------------------------------------- 1 | $1$uOM6WNc4$r3ZGeSB11q6UUSILqek3J1 2 | -------------------------------------------------------------------------------- /example500.sh: -------------------------------------------------------------------------------- 1 | ./hashcat -m 500 example500.hash example.dict 2 | -------------------------------------------------------------------------------- /charsets/DES_special/DES_alpha.hcchr: -------------------------------------------------------------------------------- 1 | abadaebabcbfcbcdcedadcdfeaeceffbfdfe -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_0.hcchr: -------------------------------------------------------------------------------- 1 | 01020407080b0d0e -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_1.hcchr: -------------------------------------------------------------------------------- 1 | 10131516191a1c1f -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_2.hcchr: -------------------------------------------------------------------------------- 1 | 20232526292a2c2f -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_3.hcchr: -------------------------------------------------------------------------------- 1 | 31323437383b3d3e -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_4.hcchr: -------------------------------------------------------------------------------- 1 | 40434546494a4c4f -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_5.hcchr: -------------------------------------------------------------------------------- 1 | 51525457585b5d5e -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_6.hcchr: -------------------------------------------------------------------------------- 1 | 61626467686b6d6e -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_7.hcchr: -------------------------------------------------------------------------------- 1 | 70737576797a7c7f -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_8.hcchr: -------------------------------------------------------------------------------- 1 | 80838586898a8c8f -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_9.hcchr: -------------------------------------------------------------------------------- 1 | 91929497989b9d9e -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_A.hcchr: -------------------------------------------------------------------------------- 1 | a1a2a4a7a8abadae -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_B.hcchr: -------------------------------------------------------------------------------- 1 | b0b3b5b6b9babcbf -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_C.hcchr: -------------------------------------------------------------------------------- 1 | c1c2c4c7c8cbcdce -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_D.hcchr: -------------------------------------------------------------------------------- 1 | d0d3d5d6d9dadcdf -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_E.hcchr: -------------------------------------------------------------------------------- 1 | e0e3e5e6e9eaecef -------------------------------------------------------------------------------- /charsets/DES_special/multiple_nodes/DES_portion_F.hcchr: -------------------------------------------------------------------------------- 1 | f1f2f4f7f8fbfdfe -------------------------------------------------------------------------------- /example400.sh: -------------------------------------------------------------------------------- 1 | cat example.dict | ./hashcat -m 400 example400.hash 2 | -------------------------------------------------------------------------------- /example0.sh: -------------------------------------------------------------------------------- 1 | ./hashcat -m 0 -t 32 -a 7 example0.hash ?a?a?a?a example.dict 2 | -------------------------------------------------------------------------------- /example500.cmd: -------------------------------------------------------------------------------- 1 | hashcat.exe -m 500 example500.hash example.dict 2 | pause 3 | -------------------------------------------------------------------------------- /deps/xxHash/tests/collisions/.gitignore: -------------------------------------------------------------------------------- 1 | #build artefacts 2 | collisionsTest 3 | -------------------------------------------------------------------------------- /example400.cmd: -------------------------------------------------------------------------------- 1 | type example.dict | hashcat.exe -m 400 example400.hash 2 | pause 3 | -------------------------------------------------------------------------------- /deps/zlib/contrib/infback9/README: -------------------------------------------------------------------------------- 1 | See infback9.h for what this is and how to use it. 2 | -------------------------------------------------------------------------------- /hashcat.hcstat2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/hashcat.hcstat2 -------------------------------------------------------------------------------- /masks/hashcat-default.hcmask: -------------------------------------------------------------------------------- 1 | ?l?d?u,?l?d,?l?d*!$@_,?1?2?2?2?2?2?2?3?3?3?3?d?d?d?d 2 | -------------------------------------------------------------------------------- /deps/unrar/dll.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/unrar/dll.rc -------------------------------------------------------------------------------- /example0.cmd: -------------------------------------------------------------------------------- 1 | hashcat.exe -m 0 -t 32 -a 7 example0.hash ?a?a?a?a example.dict 2 | pause 3 | -------------------------------------------------------------------------------- /deps/unrar/rs16.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/unrar/rs16.cpp -------------------------------------------------------------------------------- /deps/zlib/zlib.3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/zlib/zlib.3.pdf -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/LzmaLib/LzmaLib.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | LzmaCompress 3 | LzmaUncompress 4 | 5 | -------------------------------------------------------------------------------- /deps/xxHash/tests/collisions/allcodecs/README.md: -------------------------------------------------------------------------------- 1 | Put in this directory all hash algorithms to test 2 | -------------------------------------------------------------------------------- /rules/hybrid/append_d.rule: -------------------------------------------------------------------------------- 1 | $0 2 | $1 3 | $2 4 | $3 5 | $4 6 | $5 7 | $6 8 | $7 9 | $8 10 | $9 11 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_d.rule: -------------------------------------------------------------------------------- 1 | ^0 2 | ^1 3 | ^2 4 | ^3 5 | ^4 6 | ^5 7 | ^6 8 | ^7 9 | ^8 10 | ^9 11 | -------------------------------------------------------------------------------- /tools/pdf_tests/owner.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/pdf_tests/owner.pdf -------------------------------------------------------------------------------- /tools/pdf_tests/user.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/pdf_tests/user.pdf -------------------------------------------------------------------------------- /charsets/combined/French.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/French.hcchr -------------------------------------------------------------------------------- /charsets/combined/German.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/German.hcchr -------------------------------------------------------------------------------- /charsets/combined/Greek.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/Greek.hcchr -------------------------------------------------------------------------------- /charsets/combined/Polish.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/Polish.hcchr -------------------------------------------------------------------------------- /charsets/combined/Slovak.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/Slovak.hcchr -------------------------------------------------------------------------------- /deps/unrar/rarpch.cpp: -------------------------------------------------------------------------------- 1 | // We use rarpch.cpp to create precompiled headers for MS Visual C++. 2 | #include "rar.hpp" 3 | -------------------------------------------------------------------------------- /docs/contact.txt: -------------------------------------------------------------------------------- 1 | web: https://hashcat.net 2 | discord: https://hashcat.net/discord 3 | irc: Libera Chat #hashcat 4 | -------------------------------------------------------------------------------- /docs/team.txt: -------------------------------------------------------------------------------- 1 | Please go to https://github.com/hashcat/team-hashcat for all write-ups, achievements, and files. 2 | -------------------------------------------------------------------------------- /tools/pdf_tests/user-owner.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/pdf_tests/user-owner.pdf -------------------------------------------------------------------------------- /charsets/combined/Bulgarian.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/Bulgarian.hcchr -------------------------------------------------------------------------------- /charsets/combined/Castilian.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/Castilian.hcchr -------------------------------------------------------------------------------- /charsets/combined/Catalan.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/Catalan.hcchr -------------------------------------------------------------------------------- /charsets/combined/English.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/English.hcchr -------------------------------------------------------------------------------- /charsets/combined/Italian.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/Italian.hcchr -------------------------------------------------------------------------------- /charsets/combined/Russian.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/Russian.hcchr -------------------------------------------------------------------------------- /charsets/combined/Spanish.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/Spanish.hcchr -------------------------------------------------------------------------------- /deps/LZMA-SDK/DOC/installer.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/LZMA-SDK/DOC/installer.txt -------------------------------------------------------------------------------- /deps/zlib/contrib/blast/README: -------------------------------------------------------------------------------- 1 | Read blast.h for purpose and usage. 2 | 3 | Mark Adler 4 | madler@alumni.caltech.edu 5 | -------------------------------------------------------------------------------- /deps/zlib/contrib/blast/test.pk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/zlib/contrib/blast/test.pk -------------------------------------------------------------------------------- /deps/zlib/contrib/puff/zeros.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/zlib/contrib/puff/zeros.raw -------------------------------------------------------------------------------- /charsets/combined/Lithuanian.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/Lithuanian.hcchr -------------------------------------------------------------------------------- /charsets/combined/Portuguese.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/Portuguese.hcchr -------------------------------------------------------------------------------- /deps/LZMA-SDK/DOC/lzma-history.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/LZMA-SDK/DOC/lzma-history.txt -------------------------------------------------------------------------------- /deps/unrar/list.hpp: -------------------------------------------------------------------------------- 1 | #ifndef _RAR_LIST_ 2 | #define _RAR_LIST_ 3 | 4 | void ListArchive(CommandData *Cmd); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /rules/hybrid/append_d_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $0 3 | $1 4 | $2 5 | $3 6 | $4 7 | $5 8 | $6 9 | $7 10 | $8 11 | $9 12 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_d_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^0 3 | ^1 4 | ^2 5 | ^3 6 | ^4 7 | ^5 8 | ^6 9 | ^7 10 | ^8 11 | ^9 12 | -------------------------------------------------------------------------------- /src/common.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | -------------------------------------------------------------------------------- /charsets/combined/GreekPolytonic.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/combined/GreekPolytonic.hcchr -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/LzmaLib/resource.rc: -------------------------------------------------------------------------------- 1 | #include "../../7zVersion.rc" 2 | 3 | MY_VERSION_INFO_DLL("LZMA library", "LZMA") 4 | -------------------------------------------------------------------------------- /deps/zlib/contrib/dotzlib/DotZLib.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/zlib/contrib/dotzlib/DotZLib.chm -------------------------------------------------------------------------------- /deps/zlib/contrib/masmx64/bld_ml64.bat: -------------------------------------------------------------------------------- 1 | ml64.exe /Flinffasx64 /c /Zi inffasx64.asm 2 | ml64.exe /Flgvmat64 /c /Zi gvmat64.asm 3 | -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_sha512_aes.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_sha512_aes.tc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_aes.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_aes.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_aes.vc -------------------------------------------------------------------------------- /charsets/DES_special/DES_numeral.hcchr: -------------------------------------------------------------------------------- 1 | 0102040708101315161920232526293132343738404345464951525457586162646768707375767980838586899192949798 -------------------------------------------------------------------------------- /charsets/standard/French/fr_cp1252.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/French/fr_cp1252.hcchr -------------------------------------------------------------------------------- /charsets/standard/German/de_cp1252.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/German/de_cp1252.hcchr -------------------------------------------------------------------------------- /charsets/standard/Greek/el_cp1253.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Greek/el_cp1253.hcchr -------------------------------------------------------------------------------- /charsets/standard/Polish/pl_cp1250.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Polish/pl_cp1250.hcchr -------------------------------------------------------------------------------- /charsets/standard/Russian/ru_cp866.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Russian/ru_cp866.hcchr -------------------------------------------------------------------------------- /charsets/standard/Slovak/sk_cp1250.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Slovak/sk_cp1250.hcchr -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/SfxSetup/setup.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/LZMA-SDK/C/Util/SfxSetup/setup.ico -------------------------------------------------------------------------------- /deps/xxHash/cmake_unofficial/xxHashConfig.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | include(${CMAKE_CURRENT_LIST_DIR}/xxHashTargets.cmake) 4 | 5 | -------------------------------------------------------------------------------- /deps/zlib/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | -@echo "Please use ./configure first. Thank you." 3 | 4 | distclean: 5 | make -f Makefile.in distclean 6 | -------------------------------------------------------------------------------- /deps/zlib/contrib/masmx86/bld_ml32.bat: -------------------------------------------------------------------------------- 1 | ml /coff /Zi /c /Flmatch686.lst match686.asm 2 | ml /coff /Zi /c /Flinffas32.lst inffas32.asm 3 | -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha1_aes_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha1_aes_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha1_aes_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha1_aes_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha1_aes_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha1_aes_256.img -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_aes.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_aes.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_sha512_serpent.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_sha512_serpent.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_sha512_twofish.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_sha512_twofish.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_whirlpool_aes.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_whirlpool_aes.tc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_ripemd160_aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_ripemd160_aes.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_twofish.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_twofish.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_twofish.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_twofish.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_aes.vc -------------------------------------------------------------------------------- /charsets/standard/Bulgarian/bg_KOI8-R.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Bulgarian/bg_KOI8-R.hcchr -------------------------------------------------------------------------------- /charsets/standard/Bulgarian/bg_cp1251.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Bulgarian/bg_cp1251.hcchr -------------------------------------------------------------------------------- /charsets/standard/Catalan/ca_cp1252.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Catalan/ca_cp1252.hcchr -------------------------------------------------------------------------------- /charsets/standard/English/en_cp1252.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/English/en_cp1252.hcchr -------------------------------------------------------------------------------- /charsets/standard/Greek/el_ISO-8859-7.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Greek/el_ISO-8859-7.hcchr -------------------------------------------------------------------------------- /charsets/standard/Hungarian/hu_cp1250.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Hungarian/hu_cp1250.hcchr -------------------------------------------------------------------------------- /charsets/standard/Italian/it_cp1252.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Italian/it_cp1252.hcchr -------------------------------------------------------------------------------- /charsets/standard/Russian/ru_KOI8-R.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Russian/ru_KOI8-R.hcchr -------------------------------------------------------------------------------- /charsets/standard/Russian/ru_cp1251.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Russian/ru_cp1251.hcchr -------------------------------------------------------------------------------- /charsets/standard/Spanish/es_cp1252.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Spanish/es_cp1252.hcchr -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/7z/Precomp.c: -------------------------------------------------------------------------------- 1 | /* Precomp.c -- StdAfx 2 | 2013-01-21 : Igor Pavlov : Public domain */ 3 | 4 | #include "Precomp.h" 5 | -------------------------------------------------------------------------------- /rules/toggles1.rule: -------------------------------------------------------------------------------- 1 | T0 2 | T1 3 | T2 4 | T3 5 | T4 6 | T5 7 | T6 8 | T7 9 | T8 10 | T9 11 | TA 12 | TB 13 | TC 14 | TD 15 | TE 16 | -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha1_serpent_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha1_serpent_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha1_serpent_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha1_serpent_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha1_serpent_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha1_serpent_256.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha1_twofish_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha1_twofish_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha1_twofish_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha1_twofish_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha1_twofish_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha1_twofish_256.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha256_aes_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha256_aes_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha256_aes_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha256_aes_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha256_aes_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha256_aes_256.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha512_aes_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha512_aes_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha512_aes_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha512_aes_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha512_aes_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha512_aes_256.img -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_serpent.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_serpent.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_twofish.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_twofish.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_whirlpool_serpent.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_whirlpool_serpent.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_whirlpool_twofish.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_whirlpool_twofish.tc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_ripemd160_serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_ripemd160_serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_ripemd160_twofish.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_ripemd160_twofish.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_camellia.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_camellia.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_kuznyechik.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_kuznyechik.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_camellia.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_camellia.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_kuznyechik.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_kuznyechik.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_camellia.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_camellia.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_twofish.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_twofish.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_twofish.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_twofish.vc -------------------------------------------------------------------------------- /charsets/standard/Catalan/ca_ISO-8859-1.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Catalan/ca_ISO-8859-1.hcchr -------------------------------------------------------------------------------- /charsets/standard/English/en_ISO-8859-1.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/English/en_ISO-8859-1.hcchr -------------------------------------------------------------------------------- /charsets/standard/French/fr_ISO-8859-1.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/French/fr_ISO-8859-1.hcchr -------------------------------------------------------------------------------- /charsets/standard/French/fr_ISO-8859-15.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/French/fr_ISO-8859-15.hcchr -------------------------------------------------------------------------------- /charsets/standard/French/fr_ISO-8859-16.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/French/fr_ISO-8859-16.hcchr -------------------------------------------------------------------------------- /charsets/standard/German/de_ISO-8859-1.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/German/de_ISO-8859-1.hcchr -------------------------------------------------------------------------------- /charsets/standard/German/de_ISO-8859-15.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/German/de_ISO-8859-15.hcchr -------------------------------------------------------------------------------- /charsets/standard/Italian/it_ISO-8859-1.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Italian/it_ISO-8859-1.hcchr -------------------------------------------------------------------------------- /charsets/standard/Lithuanian/lt_cp1257.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Lithuanian/lt_cp1257.hcchr -------------------------------------------------------------------------------- /charsets/standard/Polish/pl_ISO-8859-2.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Polish/pl_ISO-8859-2.hcchr -------------------------------------------------------------------------------- /charsets/standard/Portuguese/pt_cp1252.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Portuguese/pt_cp1252.hcchr -------------------------------------------------------------------------------- /charsets/standard/Russian/ru_ISO-8859-5.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Russian/ru_ISO-8859-5.hcchr -------------------------------------------------------------------------------- /charsets/standard/Slovak/sk_ISO-8859-2.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Slovak/sk_ISO-8859-2.hcchr -------------------------------------------------------------------------------- /charsets/standard/Spanish/es_ISO-8859-1.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Spanish/es_ISO-8859-1.hcchr -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/SfxSetup/Precomp.c: -------------------------------------------------------------------------------- 1 | /* Precomp.c -- StdAfx 2 | 2013-01-21 : Igor Pavlov : Public domain */ 3 | 4 | #include "Precomp.h" 5 | -------------------------------------------------------------------------------- /deps/zlib/contrib/dotzlib/DotZLib/Deflater.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/zlib/contrib/dotzlib/DotZLib/Deflater.cs -------------------------------------------------------------------------------- /deps/zlib/contrib/dotzlib/DotZLib/DotZLib.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/zlib/contrib/dotzlib/DotZLib/DotZLib.cs -------------------------------------------------------------------------------- /deps/zlib/contrib/dotzlib/DotZLib/Inflater.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/zlib/contrib/dotzlib/DotZLib/Inflater.cs -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_ripemd160_aes_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_ripemd160_aes_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_ripemd160_aes_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_ripemd160_aes_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_ripemd160_aes_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_ripemd160_aes_256.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha256_serpent_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha256_serpent_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha256_serpent_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha256_serpent_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha256_serpent_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha256_serpent_256.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha256_twofish_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha256_twofish_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha256_twofish_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha256_twofish_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha256_twofish_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha256_twofish_256.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha512_serpent_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha512_serpent_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha512_serpent_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha512_serpent_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha512_serpent_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha512_serpent_256.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha512_twofish_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha512_twofish_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha512_twofish_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha512_twofish_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_sha512_twofish_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_sha512_twofish_256.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_whirlpool_aes_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_whirlpool_aes_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_whirlpool_aes_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_whirlpool_aes_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_whirlpool_aes_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_whirlpool_aes_256.img -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_aes_boot.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_aes_boot.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_sha512_aes-twofish.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_sha512_aes-twofish.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_sha512_serpent-aes.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_sha512_serpent-aes.tc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_ripemd160_aes_boot.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_ripemd160_aes_boot.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_aes-twofish.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_aes-twofish.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_serpent-aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_serpent-aes.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_twofish_boot.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_twofish_boot.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_aes-twofish.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_aes-twofish.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_serpent-aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_serpent-aes.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_kuznyechik.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_kuznyechik.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_camellia.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_camellia.vc -------------------------------------------------------------------------------- /charsets/special/Catalan/ca_cp1252-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Catalan/ca_cp1252-special.hcchr -------------------------------------------------------------------------------- /charsets/special/French/fr_cp1252-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/French/fr_cp1252-special.hcchr -------------------------------------------------------------------------------- /charsets/special/German/de_cp1252-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/German/de_cp1252-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Greek/el_cp1253-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Greek/el_cp1253-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Italian/it_cp1252-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Italian/it_cp1252-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Polish/pl_cp1250-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Polish/pl_cp1250-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Russian/ru_cp1251-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Russian/ru_cp1251-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Russian/ru_cp866-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Russian/ru_cp866-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Slovak/sk_cp1250-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Slovak/sk_cp1250-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Spanish/es_cp1252-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Spanish/es_cp1252-special.hcchr -------------------------------------------------------------------------------- /charsets/standard/Bulgarian/bg_ISO-8859-5.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Bulgarian/bg_ISO-8859-5.hcchr -------------------------------------------------------------------------------- /charsets/standard/Castilian/es-ES_cp1252.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Castilian/es-ES_cp1252.hcchr -------------------------------------------------------------------------------- /charsets/standard/Catalan/ca_ISO-8859-15.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Catalan/ca_ISO-8859-15.hcchr -------------------------------------------------------------------------------- /charsets/standard/English/en_ISO-8859-15.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/English/en_ISO-8859-15.hcchr -------------------------------------------------------------------------------- /charsets/standard/Italian/it_ISO-8859-15.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Italian/it_ISO-8859-15.hcchr -------------------------------------------------------------------------------- /charsets/standard/Lithuanian/lt_ISO-8859-4.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Lithuanian/lt_ISO-8859-4.hcchr -------------------------------------------------------------------------------- /charsets/standard/Portuguese/pt_ISO-8859-1.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Portuguese/pt_ISO-8859-1.hcchr -------------------------------------------------------------------------------- /charsets/standard/Spanish/es_ISO-8859-15.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Spanish/es_ISO-8859-15.hcchr -------------------------------------------------------------------------------- /deps/zlib/contrib/dotzlib/DotZLib/CodecBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/zlib/contrib/dotzlib/DotZLib/CodecBase.cs -------------------------------------------------------------------------------- /deps/zlib/contrib/dotzlib/DotZLib/GZipStream.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/zlib/contrib/dotzlib/DotZLib/GZipStream.cs -------------------------------------------------------------------------------- /extra/tab_completion/howto.txt: -------------------------------------------------------------------------------- 1 | run: 2 | source ./install 3 | OR 4 | source ./hashcat.sh # not working permanently (i.e. not working after a reboot) 5 | -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_ripemd160_serpent_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_ripemd160_serpent_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_ripemd160_serpent_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_ripemd160_serpent_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_ripemd160_serpent_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_ripemd160_serpent_256.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_ripemd160_twofish_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_ripemd160_twofish_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_ripemd160_twofish_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_ripemd160_twofish_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_ripemd160_twofish_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_ripemd160_twofish_256.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_whirlpool_serpent_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_whirlpool_serpent_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_whirlpool_serpent_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_whirlpool_serpent_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_whirlpool_serpent_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_whirlpool_serpent_256.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_whirlpool_twofish_128.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_whirlpool_twofish_128.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_whirlpool_twofish_192.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_whirlpool_twofish_192.img -------------------------------------------------------------------------------- /tools/cl_tests/hashcat_whirlpool_twofish_256.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/cl_tests/hashcat_whirlpool_twofish_256.img -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_aes-twofish.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_aes-twofish.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_serpent-aes.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_serpent-aes.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_serpent_boot.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_serpent_boot.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_twofish_boot.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_twofish_boot.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_sha512_twofish-serpent.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_sha512_twofish-serpent.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_whirlpool_aes-twofish.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_whirlpool_aes-twofish.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_whirlpool_serpent-aes.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_whirlpool_serpent-aes.tc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_ripemd160_aes-twofish.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_ripemd160_aes-twofish.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_ripemd160_serpent-aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_ripemd160_serpent-aes.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_aes_boot_pim500.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_aes_boot_pim500.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_kuznyechik-aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_kuznyechik-aes.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_twofish-serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_twofish-serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_kuznyechik-aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_kuznyechik-aes.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_twofish-serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_twofish-serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_aes-twofish.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_aes-twofish.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_serpent-aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_serpent-aes.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_aes-twofish.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_aes-twofish.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_kuznyechik.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_kuznyechik.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_serpent-aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_serpent-aes.vc -------------------------------------------------------------------------------- /charsets/special/Greek/el_ISO-8859-7-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Greek/el_ISO-8859-7-special.hcchr -------------------------------------------------------------------------------- /charsets/standard/Castilian/es-ES_ISO-8859-1.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Castilian/es-ES_ISO-8859-1.hcchr -------------------------------------------------------------------------------- /charsets/standard/Lithuanian/lt_ISO-8859-13.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Lithuanian/lt_ISO-8859-13.hcchr -------------------------------------------------------------------------------- /charsets/standard/Portuguese/pt_ISO-8859-15.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Portuguese/pt_ISO-8859-15.hcchr -------------------------------------------------------------------------------- /deps/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs -------------------------------------------------------------------------------- /rules/hybrid/append_hl.rule: -------------------------------------------------------------------------------- 1 | $0 2 | $1 3 | $2 4 | $3 5 | $4 6 | $5 7 | $6 8 | $7 9 | $8 10 | $9 11 | $a 12 | $b 13 | $c 14 | $d 15 | $e 16 | $f 17 | -------------------------------------------------------------------------------- /rules/hybrid/append_hu.rule: -------------------------------------------------------------------------------- 1 | $0 2 | $1 3 | $2 4 | $3 5 | $4 6 | $5 7 | $6 8 | $7 9 | $8 10 | $9 11 | $A 12 | $B 13 | $C 14 | $D 15 | $E 16 | $F 17 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_hl.rule: -------------------------------------------------------------------------------- 1 | ^0 2 | ^1 3 | ^2 4 | ^3 5 | ^4 6 | ^5 7 | ^6 8 | ^7 9 | ^8 10 | ^9 11 | ^a 12 | ^b 13 | ^c 14 | ^d 15 | ^e 16 | ^f 17 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_hu.rule: -------------------------------------------------------------------------------- 1 | ^0 2 | ^1 3 | ^2 4 | ^3 5 | ^4 6 | ^5 7 | ^6 8 | ^7 9 | ^8 10 | ^9 11 | ^A 12 | ^B 13 | ^C 14 | ^D 15 | ^E 16 | ^F 17 | -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_camellia-serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_camellia-serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_serpent-aes_boot.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_serpent-aes_boot.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_camellia-serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_camellia-serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_kuznyechik-aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_kuznyechik-aes.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_twofish-serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_twofish-serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_kuznyechik-aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_kuznyechik-aes.vc -------------------------------------------------------------------------------- /charsets/special/Castilian/es-ES_cp1252-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Castilian/es-ES_cp1252-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Catalan/ca_ISO-8859-1-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Catalan/ca_ISO-8859-1-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Catalan/ca_ISO-8859-15-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Catalan/ca_ISO-8859-15-special.hcchr -------------------------------------------------------------------------------- /charsets/special/French/fr_ISO-8859-1-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/French/fr_ISO-8859-1-special.hcchr -------------------------------------------------------------------------------- /charsets/special/French/fr_ISO-8859-15-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/French/fr_ISO-8859-15-special.hcchr -------------------------------------------------------------------------------- /charsets/special/French/fr_ISO-8859-16-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/French/fr_ISO-8859-16-special.hcchr -------------------------------------------------------------------------------- /charsets/special/German/de_ISO-8859-1-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/German/de_ISO-8859-1-special.hcchr -------------------------------------------------------------------------------- /charsets/special/German/de_ISO-8859-15-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/German/de_ISO-8859-15-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Italian/it_ISO-8859-1-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Italian/it_ISO-8859-1-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Italian/it_ISO-8859-15-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Italian/it_ISO-8859-15-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Portuguese/pt_cp1252-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Portuguese/pt_cp1252-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Russian/ru_ISO-8859-5-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Russian/ru_ISO-8859-5-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Slovak/sk_ISO-8859-2-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Slovak/sk_ISO-8859-2-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Spanish/es_ISO-8859-1-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Spanish/es_ISO-8859-1-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Spanish/es_ISO-8859-15-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Spanish/es_ISO-8859-15-special.hcchr -------------------------------------------------------------------------------- /charsets/standard/Castilian/es-ES_ISO-8859-15.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/Castilian/es-ES_ISO-8859-15.hcchr -------------------------------------------------------------------------------- /deps/unrar/global.cpp: -------------------------------------------------------------------------------- 1 | #define INCLUDEGLOBAL 2 | 3 | #if defined(__BORLANDC__) || defined(_MSC_VER) 4 | #pragma hdrstop 5 | #endif 6 | 7 | #include "rar.hpp" 8 | -------------------------------------------------------------------------------- /deps/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/deps/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs -------------------------------------------------------------------------------- /deps/zlib/win32/VisualC.txt: -------------------------------------------------------------------------------- 1 | 2 | To build zlib using the Microsoft Visual C++ environment, 3 | use the appropriate project from the contrib/vstudio/ directory. 4 | -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_aes-twofish_boot.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_aes-twofish_boot.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_serpent-aes_boot.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_serpent-aes_boot.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_twofish-serpent.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_twofish-serpent.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_sha512_aes-twofish-serpent.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_sha512_aes-twofish-serpent.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_sha512_serpent-twofish-aes.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_sha512_serpent-twofish-aes.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_whirlpool_twofish-serpent.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_whirlpool_twofish-serpent.tc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_ripemd160_aes-twofish_boot.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_ripemd160_aes-twofish_boot.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_ripemd160_twofish-serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_ripemd160_twofish-serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_aes-twofish-serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_aes-twofish-serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_camellia-kuznyechik.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_camellia-kuznyechik.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_kuznyechik-twofish.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_kuznyechik-twofish.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_serpent-twofish-aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_serpent-twofish-aes.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_aes-twofish-serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_aes-twofish-serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_camellia-kuznyechik.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_camellia-kuznyechik.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_kuznyechik-twofish.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_kuznyechik-twofish.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_serpent-twofish-aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_serpent-twofish-aes.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_camellia-serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_camellia-serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_kuznyechik-twofish.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_kuznyechik-twofish.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_camellia-serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_camellia-serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_twofish-serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_twofish-serpent.vc -------------------------------------------------------------------------------- /charsets/special/Portuguese/pt_ISO-8859-1-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Portuguese/pt_ISO-8859-1-special.hcchr -------------------------------------------------------------------------------- /deps/zlib/old/README: -------------------------------------------------------------------------------- 1 | This directory contains files that have not been updated for zlib 1.2.x 2 | 3 | (Volunteers are encouraged to help clean this up. Thanks.) 4 | -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_aes-twofish-serpent.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_aes-twofish-serpent.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_serpent-twofish-aes.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_serpent-twofish-aes.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_whirlpool_aes-twofish-serpent.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_whirlpool_aes-twofish-serpent.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_whirlpool_serpent-twofish-aes.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_whirlpool_serpent-twofish-aes.tc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_ripemd160_aes-twofish-serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_ripemd160_aes-twofish-serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_ripemd160_serpent-twofish-aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_ripemd160_serpent-twofish-aes.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_aes-twofish-serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_aes-twofish-serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_camellia-kuznyechik.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_camellia-kuznyechik.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_serpent-twofish-aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_serpent-twofish-aes.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_aes-twofish-serpent.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_aes-twofish-serpent.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_camellia-kuznyechik.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_camellia-kuznyechik.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_kuznyechik-twofish.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_kuznyechik-twofish.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_serpent-twofish-aes.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_serpent-twofish-aes.vc -------------------------------------------------------------------------------- /charsets/special/Castilian/es-ES_ISO-8859-1-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Castilian/es-ES_ISO-8859-1-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Castilian/es-ES_ISO-8859-15-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Castilian/es-ES_ISO-8859-15-special.hcchr -------------------------------------------------------------------------------- /charsets/special/Portuguese/pt_ISO-8859-15-special.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/special/Portuguese/pt_ISO-8859-15-special.hcchr -------------------------------------------------------------------------------- /charsets/standard/GreekPolytonic/el_polytonic_cp1253.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/GreekPolytonic/el_polytonic_cp1253.hcchr -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/SfxSetup/resource.rc: -------------------------------------------------------------------------------- 1 | #include "../../7zVersion.rc" 2 | 3 | MY_VERSION_INFO_APP("7z Setup SFX small", "7zS2.sfx") 4 | 5 | 1 ICON "setup.ico" 6 | -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_twofish-serpent_boot.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_twofish-serpent_boot.tc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_serpent-twofish-aes_boot.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_serpent-twofish-aes_boot.vc -------------------------------------------------------------------------------- /rules/hybrid/append_hl_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $0 3 | $1 4 | $2 5 | $3 6 | $4 7 | $5 8 | $6 9 | $7 10 | $8 11 | $9 12 | $a 13 | $b 14 | $c 15 | $d 16 | $e 17 | $f 18 | -------------------------------------------------------------------------------- /rules/hybrid/append_hu_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $0 3 | $1 4 | $2 5 | $3 6 | $4 7 | $5 8 | $6 9 | $7 10 | $8 11 | $9 12 | $A 13 | $B 14 | $C 15 | $D 16 | $E 17 | $F 18 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_hl_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^0 3 | ^1 4 | ^2 5 | ^3 6 | ^4 7 | ^5 8 | ^6 9 | ^7 10 | ^8 11 | ^9 12 | ^a 13 | ^b 14 | ^c 15 | ^d 16 | ^e 17 | ^f 18 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_hu_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^0 3 | ^1 4 | ^2 5 | ^3 6 | ^4 7 | ^5 8 | ^6 9 | ^7 10 | ^8 11 | ^9 12 | ^A 13 | ^B 14 | ^C 15 | ^D 16 | ^E 17 | ^F 18 | -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_aes-twofish-serpent_boot.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_aes-twofish-serpent_boot.tc -------------------------------------------------------------------------------- /tools/tc_tests/hashcat_ripemd160_serpent-twofish-aes_boot.tc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/tc_tests/hashcat_ripemd160_serpent-twofish-aes_boot.tc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_ripemd160_aes-twofish-serpent_boot.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_ripemd160_aes-twofish-serpent_boot.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha256_kuznyechik-serpent-camellia.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha256_kuznyechik-serpent-camellia.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_sha512_kuznyechik-serpent-camellia.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_sha512_kuznyechik-serpent-camellia.vc -------------------------------------------------------------------------------- /charsets/standard/GreekPolytonic/el_polytonic_ISO-8859-7.hcchr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/charsets/standard/GreekPolytonic/el_polytonic_ISO-8859-7.hcchr -------------------------------------------------------------------------------- /deps/zlib/contrib/minizip/MiniZip64_Changes.txt: -------------------------------------------------------------------------------- 1 | 2 | MiniZip 1.1 was derrived from MiniZip at version 1.01f 3 | 4 | Change in 1.0 (Okt 2009) 5 | - **TODO - Add history** 6 | 7 | -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_streebog_kuznyechik-serpent-camellia.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_streebog_kuznyechik-serpent-camellia.vc -------------------------------------------------------------------------------- /tools/vc_tests/hashcat_whirlpool_kuznyechik-serpent-camellia.vc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alienwithin/hashcat/master/tools/vc_tests/hashcat_whirlpool_kuznyechik-serpent-camellia.vc -------------------------------------------------------------------------------- /deps/xxHash/tests/bench/.gitignore: -------------------------------------------------------------------------------- 1 | # build artifacts 2 | 3 | *.o 4 | benchHash 5 | benchHash32 6 | benchHash_avx2 7 | benchHash_hw 8 | 9 | # test files 10 | 11 | test* 12 | -------------------------------------------------------------------------------- /deps/zlib/contrib/blast/Makefile: -------------------------------------------------------------------------------- 1 | blast: blast.c blast.h 2 | cc -DTEST -o blast blast.c 3 | 4 | test: blast 5 | blast < test.pk | cmp - test.txt 6 | 7 | clean: 8 | rm -f blast blast.o 9 | -------------------------------------------------------------------------------- /deps/unrar/smallfn.hpp: -------------------------------------------------------------------------------- 1 | #ifndef _RAR_SMALLFN_ 2 | #define _RAR_SMALLFN_ 3 | 4 | int ToPercent(int64 N1,int64 N2); 5 | int ToPercentUnlim(int64 N1,int64 N2); 6 | void RARInitData(); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /deps/unrar/rarlang.hpp: -------------------------------------------------------------------------------- 1 | #ifndef _RAR_LANG_ 2 | #define _RAR_LANG_ 3 | 4 | #ifdef USE_RC 5 | #include "rarres.hpp" 6 | #else 7 | #include "loclang.hpp" 8 | #endif 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /deps/unrar/version.hpp: -------------------------------------------------------------------------------- 1 | #define RARVER_MAJOR 6 2 | #define RARVER_MINOR 1 3 | #define RARVER_BETA 0 4 | #define RARVER_DAY 7 5 | #define RARVER_MONTH 4 6 | #define RARVER_YEAR 2021 7 | -------------------------------------------------------------------------------- /deps/unrar/ui.cpp: -------------------------------------------------------------------------------- 1 | #include "rar.hpp" 2 | 3 | #include "uicommon.cpp" 4 | 5 | #ifdef SILENT 6 | #include "uisilent.cpp" 7 | #else 8 | 9 | 10 | 11 | 12 | #include "uiconsole.cpp" 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /deps/xxHash/cmake_unofficial/.gitignore: -------------------------------------------------------------------------------- 1 | # cmake artifacts 2 | 3 | CMakeCache.txt 4 | CMakeFiles 5 | Makefile 6 | cmake_install.cmake 7 | 8 | 9 | # make compilation results 10 | 11 | *.dylib 12 | *.a 13 | -------------------------------------------------------------------------------- /docs/user_manuals.txt: -------------------------------------------------------------------------------- 1 | The user manuals are constantly updated. That's why they are not part of the distribution. 2 | 3 | For more detailed information and advanced hashcat usage visit our Wiki: https://hashcat.net/wiki 4 | -------------------------------------------------------------------------------- /tools/pdf_tests/owner.hash: -------------------------------------------------------------------------------- 1 | $pdf$4*4*128*-3392*1*16*b438e5ce7c355548a28bf1408a36bbdf*32*63a1a7a95566adcf61a8c36002b6bfa900000000000000000000000000000000*32*566fa873ee33c797cd3b904fdadf814afa34df9a38f6ed41b984e2c6da2aa6f5 2 | -------------------------------------------------------------------------------- /tools/pdf_tests/user.hash: -------------------------------------------------------------------------------- 1 | $pdf$4*4*128*-1028*1*16*e77b55355f74d54895c93063ddbad299*32*61536f41f6bf35bce77a96eb45cebec500000000000000000000000000000000*32*ce69e44fd4717582076b810914829e577152c3110ee581d65e53c64a4e8f578d 2 | -------------------------------------------------------------------------------- /src/emu_inc_rp.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_rp.cl" 11 | 12 | -------------------------------------------------------------------------------- /tools/pdf_tests/owner.in: -------------------------------------------------------------------------------- 1 | $pdf$4*4*128*-3392*1*16*b438e5ce7c355548a28bf1408a36bbdf*32*63a1a7a95566adcf61a8c36002b6bfa900000000000000000000000000000000*32*566fa873ee33c797cd3b904fdadf814afa34df9a38f6ed41b984e2c6da2aa6f5:owner 2 | -------------------------------------------------------------------------------- /tools/pdf_tests/user-owner.hash: -------------------------------------------------------------------------------- 1 | $pdf$4*4*128*-3392*1*16*f72f279e0db2ee4ca76b0db6884e85cd*32*665d9c5a3c2443ac2aa3a9b855843bf200000000000000000000000000000000*32*0ba3835f88f90388e74e54584125ce142be0de24c6b0d37746e075b891756671 2 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/var_gcc_x64.mak: -------------------------------------------------------------------------------- 1 | PLATFORM=x64 2 | O=b/g_$(PLATFORM) 3 | IS_X64=1 4 | IS_X86= 5 | IS_ARM64= 6 | CROSS_COMPILE= 7 | MY_ARCH= 8 | USE_ASM=1 9 | CC=$(CROSS_COMPILE)gcc 10 | CXX=$(CROSS_COMPILE)g++ 11 | -------------------------------------------------------------------------------- /src/emu_inc_simd.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_simd.cl" 11 | 12 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/var_clang.mak: -------------------------------------------------------------------------------- 1 | PLATFORM= 2 | O=b/c 3 | IS_X64= 4 | IS_X86= 5 | IS_ARM64= 6 | CROSS_COMPILE= 7 | MY_ARCH= 8 | USE_ASM= 9 | CC=$(CROSS_COMPILE)clang 10 | CXX=$(CROSS_COMPILE)clang++ 11 | USE_CLANG=1 12 | -------------------------------------------------------------------------------- /rules/hybrid/append_l.rule: -------------------------------------------------------------------------------- 1 | $a 2 | $b 3 | $c 4 | $d 5 | $e 6 | $f 7 | $g 8 | $h 9 | $i 10 | $j 11 | $k 12 | $l 13 | $m 14 | $n 15 | $o 16 | $p 17 | $q 18 | $r 19 | $s 20 | $t 21 | $u 22 | $v 23 | $w 24 | $x 25 | $y 26 | $z 27 | -------------------------------------------------------------------------------- /rules/hybrid/append_u.rule: -------------------------------------------------------------------------------- 1 | $A 2 | $B 3 | $C 4 | $D 5 | $E 6 | $F 7 | $G 8 | $H 9 | $I 10 | $J 11 | $K 12 | $L 13 | $M 14 | $N 15 | $O 16 | $P 17 | $Q 18 | $R 19 | $S 20 | $T 21 | $U 22 | $V 23 | $W 24 | $X 25 | $Y 26 | $Z 27 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_l.rule: -------------------------------------------------------------------------------- 1 | ^a 2 | ^b 3 | ^c 4 | ^d 5 | ^e 6 | ^f 7 | ^g 8 | ^h 9 | ^i 10 | ^j 11 | ^k 12 | ^l 13 | ^m 14 | ^n 15 | ^o 16 | ^p 17 | ^q 18 | ^r 19 | ^s 20 | ^t 21 | ^u 22 | ^v 23 | ^w 24 | ^x 25 | ^y 26 | ^z 27 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_u.rule: -------------------------------------------------------------------------------- 1 | ^A 2 | ^B 3 | ^C 4 | ^D 5 | ^E 6 | ^F 7 | ^G 8 | ^H 9 | ^I 10 | ^J 11 | ^K 12 | ^L 13 | ^M 14 | ^N 15 | ^O 16 | ^P 17 | ^Q 18 | ^R 19 | ^S 20 | ^T 21 | ^U 22 | ^V 23 | ^W 24 | ^X 25 | ^Y 26 | ^Z 27 | -------------------------------------------------------------------------------- /src/emu_inc_scalar.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_scalar.cl" 11 | 12 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/var_gcc_x86.mak: -------------------------------------------------------------------------------- 1 | PLATFORM=x86 2 | O=b/g_$(PLATFORM) 3 | IS_X64= 4 | IS_X86=1 5 | IS_ARM64= 6 | CROSS_COMPILE= 7 | MY_ARCH=-m32 8 | USE_ASM=1 9 | CC=$(CROSS_COMPILE)gcc 10 | CXX=$(CROSS_COMPILE)g++ 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_cipher_aes.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_cipher_aes.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_cipher_des.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_cipher_des.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_hash_md4.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_hash_md4.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_hash_md5.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_hash_md5.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_hash_sha1.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_hash_sha1.cl" 11 | 12 | -------------------------------------------------------------------------------- /tools/pdf_tests/user_userpw-in-hash.hash: -------------------------------------------------------------------------------- 1 | $pdf$4*4*128*-1028*1*16*e77b55355f74d54895c93063ddbad299*32*61536f41f6bf35bce77a96eb45cebec500000000000000000000000000000000*32*ce69e44fd4717582076b810914829e577152c3110ee581d65e53c64a4e8f578d*user 2 | -------------------------------------------------------------------------------- /deps/xxHash/.gitattributes: -------------------------------------------------------------------------------- 1 | # Set the default behavior 2 | * text eol=lf 3 | 4 | # Explicitly declare source files 5 | *.c text eol=lf 6 | *.h text eol=lf 7 | 8 | # Denote files that should not be modified. 9 | *.odt binary 10 | 11 | -------------------------------------------------------------------------------- /src/emu_inc_hash_sha224.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_hash_sha224.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_hash_sha256.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_hash_sha256.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_hash_sha384.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_hash_sha384.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_hash_sha512.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_hash_sha512.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_rp_optimized.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_rp_optimized.cl" 11 | 12 | -------------------------------------------------------------------------------- /tools/pdf_tests/user-owner_userpw-in-hash.hash: -------------------------------------------------------------------------------- 1 | $pdf$4*4*128*-3392*1*16*f72f279e0db2ee4ca76b0db6884e85cd*32*665d9c5a3c2443ac2aa3a9b855843bf200000000000000000000000000000000*32*0ba3835f88f90388e74e54584125ce142be0de24c6b0d37746e075b891756671*user 2 | -------------------------------------------------------------------------------- /tools/pdf_tests/user_userpw-in-hash.in: -------------------------------------------------------------------------------- 1 | $pdf$4*4*128*-1028*1*16*e77b55355f74d54895c93063ddbad299*32*61536f41f6bf35bce77a96eb45cebec500000000000000000000000000000000*32*ce69e44fd4717582076b810914829e577152c3110ee581d65e53c64a4e8f578d*user:user 2 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/var_gcc.mak: -------------------------------------------------------------------------------- 1 | PLATFORM= 2 | O=b/g 3 | IS_X64= 4 | IS_X86= 5 | IS_ARM64= 6 | CROSS_COMPILE= 7 | MY_ARCH= 8 | USE_ASM= 9 | CC=$(CROSS_COMPILE)gcc 10 | CXX=$(CROSS_COMPILE)g++ 11 | 12 | # -march=armv8-a+crc+crypto 13 | -------------------------------------------------------------------------------- /deps/unrar/global.hpp: -------------------------------------------------------------------------------- 1 | #ifndef _RAR_GLOBAL_ 2 | #define _RAR_GLOBAL_ 3 | 4 | #ifdef INCLUDEGLOBAL 5 | #define EXTVAR 6 | #else 7 | #define EXTVAR extern 8 | #endif 9 | 10 | EXTVAR ErrorHandler ErrHandler; 11 | 12 | 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /include/autotune.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _AUTOTUNE_H 7 | #define _AUTOTUNE_H 8 | 9 | HC_API_CALL void *thread_autotune (void *p); 10 | 11 | #endif // _AUTOTUNE_H 12 | -------------------------------------------------------------------------------- /include/selftest.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _SELFTEST_H 7 | #define _SELFTEST_H 8 | 9 | HC_API_CALL void *thread_selftest (void *p); 10 | 11 | #endif // _SELFTEST_H 12 | -------------------------------------------------------------------------------- /src/emu_inc_cipher_camellia.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_cipher_camellia.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_cipher_serpent.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_cipher_serpent.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_cipher_twofish.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_cipher_twofish.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_hash_ripemd160.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_hash_ripemd160.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_hash_whirlpool.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_hash_whirlpool.cl" 11 | 12 | -------------------------------------------------------------------------------- /tools/pdf_tests/user-owner_userpw-in-hash.in: -------------------------------------------------------------------------------- 1 | $pdf$4*4*128*-3392*1*16*f72f279e0db2ee4ca76b0db6884e85cd*32*665d9c5a3c2443ac2aa3a9b855843bf200000000000000000000000000000000*32*0ba3835f88f90388e74e54584125ce142be0de24c6b0d37746e075b891756671*user:owner 2 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Precomp.h: -------------------------------------------------------------------------------- 1 | /* Precomp.h -- StdAfx 2 | 2013-11-12 : Igor Pavlov : Public domain */ 3 | 4 | #ifndef __7Z_PRECOMP_H 5 | #define __7Z_PRECOMP_H 6 | 7 | #include "Compiler.h" 8 | /* #include "7zTypes.h" */ 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /deps/zlib/nintendods/README: -------------------------------------------------------------------------------- 1 | This Makefile requires devkitARM (http://www.devkitpro.org/category/devkitarm/) and works inside "contrib/nds". It is based on a devkitARM template. 2 | 3 | Eduardo Costa 4 | January 3, 2009 5 | 6 | -------------------------------------------------------------------------------- /rules/hybrid/append_l_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $a 3 | $b 4 | $c 5 | $d 6 | $e 7 | $f 8 | $g 9 | $h 10 | $i 11 | $j 12 | $k 13 | $l 14 | $m 15 | $n 16 | $o 17 | $p 18 | $q 19 | $r 20 | $s 21 | $t 22 | $u 23 | $v 24 | $w 25 | $x 26 | $y 27 | $z 28 | -------------------------------------------------------------------------------- /rules/hybrid/append_u_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $A 3 | $B 4 | $C 5 | $D 6 | $E 7 | $F 8 | $G 9 | $H 10 | $I 11 | $J 12 | $K 13 | $L 14 | $M 15 | $N 16 | $O 17 | $P 18 | $Q 19 | $R 20 | $S 21 | $T 22 | $U 23 | $V 24 | $W 25 | $X 26 | $Y 27 | $Z 28 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_l_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^a 3 | ^b 4 | ^c 5 | ^d 6 | ^e 7 | ^f 8 | ^g 9 | ^h 10 | ^i 11 | ^j 12 | ^k 13 | ^l 14 | ^m 15 | ^n 16 | ^o 17 | ^p 18 | ^q 19 | ^r 20 | ^s 21 | ^t 22 | ^u 23 | ^v 24 | ^w 25 | ^x 26 | ^y 27 | ^z 28 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_u_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^A 3 | ^B 4 | ^C 5 | ^D 6 | ^E 7 | ^F 8 | ^G 9 | ^H 10 | ^I 11 | ^J 12 | ^K 13 | ^L 14 | ^M 15 | ^N 16 | ^O 17 | ^P 18 | ^Q 19 | ^R 20 | ^S 21 | ^T 22 | ^U 23 | ^V 24 | ^W 25 | ^X 26 | ^Y 27 | ^Z 28 | -------------------------------------------------------------------------------- /src/emu_inc_cipher_kuznyechik.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_cipher_kuznyechik.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_hash_streebog256.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_hash_streebog256.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_hash_streebog512.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_hash_streebog512.cl" 11 | 12 | -------------------------------------------------------------------------------- /src/emu_inc_platform.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "bitops.h" 9 | #include "emu_general.h" 10 | 11 | #include "inc_platform.cl" 12 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/var_clang_arm64.mak: -------------------------------------------------------------------------------- 1 | PLATFORM=arm64 2 | O=b/c_$(PLATFORM) 3 | IS_X64= 4 | IS_X86= 5 | IS_ARM64=1 6 | CROSS_COMPILE= 7 | MY_ARCH= 8 | USE_ASM=1 9 | CC=$(CROSS_COMPILE)clang 10 | CXX=$(CROSS_COMPILE)clang++ 11 | USE_CLANG=1 12 | -------------------------------------------------------------------------------- /include/benchmark.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _BENCHMARK_H 7 | #define _BENCHMARK_H 8 | 9 | int benchmark_next (hashcat_ctx_t *hashcat_ctx); 10 | 11 | #endif // _BENCHMARK_H 12 | -------------------------------------------------------------------------------- /src/emu_inc_common.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "bitops.h" 9 | #include "emu_general.h" 10 | 11 | #include "inc_common.cl" 12 | 13 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/var_clang_x64.mak: -------------------------------------------------------------------------------- 1 | PLATFORM=x64 2 | O=b/c_$(PLATFORM) 3 | IS_X64=1 4 | IS_X86= 5 | IS_ARM64= 6 | CROSS_COMPILE= 7 | MY_ARCH= 8 | USE_ASM=1 9 | CC=$(CROSS_COMPILE)clang 10 | CXX=$(CROSS_COMPILE)clang++ 11 | USE_CLANG=1 12 | 13 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/var_clang_x86.mak: -------------------------------------------------------------------------------- 1 | PLATFORM=x86 2 | O=b/c_$(PLATFORM) 3 | IS_X64= 4 | IS_X86=1 5 | IS_ARM64= 6 | CROSS_COMPILE= 7 | MY_ARCH=-m32 8 | USE_ASM=1 9 | CC=$(CROSS_COMPILE)clang 10 | CXX=$(CROSS_COMPILE)clang++ 11 | USE_CLANG=1 12 | 13 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/var_mac_x64.mak: -------------------------------------------------------------------------------- 1 | PLATFORM=x64 2 | O=b/m_$(PLATFORM) 3 | IS_X64=1 4 | IS_X86= 5 | IS_ARM64= 6 | CROSS_COMPILE= 7 | MY_ARCH=-arch x86_64 8 | USE_ASM= 9 | CC=$(CROSS_COMPILE)clang 10 | CXX=$(CROSS_COMPILE)clang++ 11 | USE_CLANG=1 12 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/7z/Precomp.h: -------------------------------------------------------------------------------- 1 | /* Precomp.h -- StdAfx 2 | 2013-06-16 : Igor Pavlov : Public domain */ 3 | 4 | #ifndef __7Z_PRECOMP_H 5 | #define __7Z_PRECOMP_H 6 | 7 | #include "../../Compiler.h" 8 | #include "../../7zTypes.h" 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/var_mac_arm64.mak: -------------------------------------------------------------------------------- 1 | PLATFORM=arm64 2 | O=b/m_$(PLATFORM) 3 | IS_X64= 4 | IS_X86= 5 | IS_ARM64=1 6 | CROSS_COMPILE= 7 | MY_ARCH=-arch arm64 8 | USE_ASM=1 9 | CC=$(CROSS_COMPILE)clang 10 | CXX=$(CROSS_COMPILE)clang++ 11 | USE_CLANG=1 12 | -------------------------------------------------------------------------------- /include/timer.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _TIMER_H 7 | #define _TIMER_H 8 | 9 | void hc_timer_set (hc_timer_t *a); 10 | double hc_timer_get (hc_timer_t a); 11 | 12 | #endif // _TIMER_H 13 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/SfxSetup/Precomp.h: -------------------------------------------------------------------------------- 1 | /* Precomp.h -- StdAfx 2 | 2013-06-16 : Igor Pavlov : Public domain */ 3 | 4 | #ifndef __7Z_PRECOMP_H 5 | #define __7Z_PRECOMP_H 6 | 7 | #include "../../Compiler.h" 8 | #include "../../7zTypes.h" 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /charsets/DES_full.hcchr: -------------------------------------------------------------------------------- 1 | 01020407080b0d0e10131516191a1c1f20232526292a2c2f31323437383b3d3e40434546494a4c4f51525457585b5d5e61626467686b6d6e70737576797a7c7f80838586898a8c8f91929497989b9d9ea1a2a4a7a8abadaeb0b3b5b6b9babcbfc1c2c4c7c8cbcdced0d3d5d6d9dadcdfe0e3e5e6e9eaeceff1f2f4f7f8fbfdfe -------------------------------------------------------------------------------- /deps/unrar/resource.hpp: -------------------------------------------------------------------------------- 1 | #ifndef _RAR_RESOURCE_ 2 | #define _RAR_RESOURCE_ 3 | 4 | #ifdef RARDLL 5 | #define St(x) (L"") 6 | #define StF(x) (L"") 7 | #else 8 | const wchar *St(MSGID StringId); 9 | const wchar *StF(MSGID StringId); 10 | #endif 11 | 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /deps/zlib/contrib/delphi/ZLibConst.pas: -------------------------------------------------------------------------------- 1 | unit ZLibConst; 2 | 3 | interface 4 | 5 | resourcestring 6 | sTargetBufferTooSmall = 'ZLib error: target buffer may be too small'; 7 | sInvalidStreamOp = 'Invalid stream operation'; 8 | 9 | implementation 10 | 11 | end. 12 | -------------------------------------------------------------------------------- /OpenCL/inc_luks_xts.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _INC_LUKS_XTS_H 7 | #define _INC_LUKS_XTS_H 8 | 9 | DECLSPEC void xts_mul2 (PRIVATE_AS u32 *in, PRIVATE_AS u32 *out); 10 | 11 | #endif // _INC_LUKS_XTS_H 12 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/var_gcc_arm64.mak: -------------------------------------------------------------------------------- 1 | PLATFORM=arm64 2 | O=b/g_$(PLATFORM) 3 | IS_X64= 4 | IS_X86= 5 | IS_ARM64=1 6 | CROSS_COMPILE= 7 | MY_ARCH=-mtune=cortex-a53 8 | USE_ASM=1 9 | CC=$(CROSS_COMPILE)gcc 10 | CXX=$(CROSS_COMPILE)g++ 11 | 12 | # -march=armv8-a+crc+crypto 13 | -------------------------------------------------------------------------------- /deps/zlib/contrib/testzlib/testzlib.txt: -------------------------------------------------------------------------------- 1 | To build testzLib with Visual Studio 2005: 2 | 3 | copy to a directory file from : 4 | - root of zLib tree 5 | - contrib/testzlib 6 | - contrib/masmx86 7 | - contrib/masmx64 8 | - contrib/vstudio/vc7 9 | 10 | and open testzlib8.sln -------------------------------------------------------------------------------- /rules/hybrid/append_s.rule: -------------------------------------------------------------------------------- 1 | $ 2 | $! 3 | $" 4 | $# 5 | $$ 6 | $% 7 | $& 8 | $' 9 | $( 10 | $) 11 | $* 12 | $+ 13 | $, 14 | $- 15 | $. 16 | $/ 17 | $: 18 | $; 19 | $< 20 | $= 21 | $> 22 | $? 23 | $@ 24 | $[ 25 | $\ 26 | $] 27 | $^ 28 | $_ 29 | $` 30 | ${ 31 | $| 32 | $} 33 | $~ 34 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_s.rule: -------------------------------------------------------------------------------- 1 | ^ 2 | ^! 3 | ^" 4 | ^# 5 | ^$ 6 | ^% 7 | ^& 8 | ^' 9 | ^( 10 | ^) 11 | ^* 12 | ^+ 13 | ^, 14 | ^- 15 | ^. 16 | ^/ 17 | ^: 18 | ^; 19 | ^< 20 | ^= 21 | ^> 22 | ^? 23 | ^@ 24 | ^[ 25 | ^\ 26 | ^] 27 | ^^ 28 | ^_ 29 | ^` 30 | ^{ 31 | ^| 32 | ^} 33 | ^~ 34 | -------------------------------------------------------------------------------- /include/emu_inc_rp.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _EMU_INC_RP_H 7 | #define _EMU_INC_RP_H 8 | 9 | #include "emu_general.h" 10 | 11 | #include "inc_vendor.h" 12 | #include "inc_rp.h" 13 | 14 | #endif // _EMU_INC_RP_H 15 | -------------------------------------------------------------------------------- /rules/hybrid/append_s_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $ 3 | $! 4 | $" 5 | $# 6 | $$ 7 | $% 8 | $& 9 | $' 10 | $( 11 | $) 12 | $* 13 | $+ 14 | $, 15 | $- 16 | $. 17 | $/ 18 | $: 19 | $; 20 | $< 21 | $= 22 | $> 23 | $? 24 | $@ 25 | $[ 26 | $\ 27 | $] 28 | $^ 29 | $_ 30 | $` 31 | ${ 32 | $| 33 | $} 34 | $~ 35 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_s_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^ 3 | ^! 4 | ^" 5 | ^# 6 | ^$ 7 | ^% 8 | ^& 9 | ^' 10 | ^( 11 | ^) 12 | ^* 13 | ^+ 14 | ^, 15 | ^- 16 | ^. 17 | ^/ 18 | ^: 19 | ^; 20 | ^< 21 | ^= 22 | ^> 23 | ^? 24 | ^@ 25 | ^[ 26 | ^\ 27 | ^] 28 | ^^ 29 | ^_ 30 | ^` 31 | ^{ 32 | ^| 33 | ^} 34 | ^~ 35 | -------------------------------------------------------------------------------- /src/emu_inc_ecc_secp256k1.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "types.h" 7 | #include "common.h" 8 | #include "emu_general.h" 9 | 10 | #include "inc_vendor.h" 11 | #include "inc_platform.h" 12 | #include "inc_ecc_secp256k1.cl" 13 | 14 | -------------------------------------------------------------------------------- /rules/hybrid/append_du.rule: -------------------------------------------------------------------------------- 1 | $0 2 | $1 3 | $2 4 | $3 5 | $4 6 | $5 7 | $6 8 | $7 9 | $8 10 | $9 11 | $A 12 | $B 13 | $C 14 | $D 15 | $E 16 | $F 17 | $G 18 | $H 19 | $I 20 | $J 21 | $K 22 | $L 23 | $M 24 | $N 25 | $O 26 | $P 27 | $Q 28 | $R 29 | $S 30 | $T 31 | $U 32 | $V 33 | $W 34 | $X 35 | $Y 36 | $Z 37 | -------------------------------------------------------------------------------- /rules/hybrid/append_ld.rule: -------------------------------------------------------------------------------- 1 | $a 2 | $b 3 | $c 4 | $d 5 | $e 6 | $f 7 | $g 8 | $h 9 | $i 10 | $j 11 | $k 12 | $l 13 | $m 14 | $n 15 | $o 16 | $p 17 | $q 18 | $r 19 | $s 20 | $t 21 | $u 22 | $v 23 | $w 24 | $x 25 | $y 26 | $z 27 | $0 28 | $1 29 | $2 30 | $3 31 | $4 32 | $5 33 | $6 34 | $7 35 | $8 36 | $9 37 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_du.rule: -------------------------------------------------------------------------------- 1 | ^0 2 | ^1 3 | ^2 4 | ^3 5 | ^4 6 | ^5 7 | ^6 8 | ^7 9 | ^8 10 | ^9 11 | ^A 12 | ^B 13 | ^C 14 | ^D 15 | ^E 16 | ^F 17 | ^G 18 | ^H 19 | ^I 20 | ^J 21 | ^K 22 | ^L 23 | ^M 24 | ^N 25 | ^O 26 | ^P 27 | ^Q 28 | ^R 29 | ^S 30 | ^T 31 | ^U 32 | ^V 33 | ^W 34 | ^X 35 | ^Y 36 | ^Z 37 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_ld.rule: -------------------------------------------------------------------------------- 1 | ^a 2 | ^b 3 | ^c 4 | ^d 5 | ^e 6 | ^f 7 | ^g 8 | ^h 9 | ^i 10 | ^j 11 | ^k 12 | ^l 13 | ^m 14 | ^n 15 | ^o 16 | ^p 17 | ^q 18 | ^r 19 | ^s 20 | ^t 21 | ^u 22 | ^v 23 | ^w 24 | ^x 25 | ^y 26 | ^z 27 | ^0 28 | ^1 29 | ^2 30 | ^3 31 | ^4 32 | ^5 33 | ^6 34 | ^7 35 | ^8 36 | ^9 37 | -------------------------------------------------------------------------------- /deps/OpenCL-Headers/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | A reminder that this issue tracker is managed by the Khronos Group. Interactions here should follow the Khronos Code of Conduct (https://www.khronos.org/developers/code-of-conduct), which prohibits aggressive or derogatory language. Please keep the discussion friendly and civil. 2 | -------------------------------------------------------------------------------- /deps/unrar/dll.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | RAROpenArchive 3 | RAROpenArchiveEx 4 | RARCloseArchive 5 | RARReadHeader 6 | RARReadHeaderEx 7 | RARProcessFile 8 | RARProcessFileW 9 | RARSetCallback 10 | RARSetChangeVolProc 11 | RARSetProcessDataProc 12 | RARSetPassword 13 | RARGetDllVersion 14 | -------------------------------------------------------------------------------- /deps/unrar/log.hpp: -------------------------------------------------------------------------------- 1 | #ifndef _RAR_LOG_ 2 | #define _RAR_LOG_ 3 | 4 | void InitLogOptions(const wchar *LogFileName,RAR_CHARSET CSet); 5 | 6 | #ifdef SILENT 7 | inline void Log(const wchar *ArcName,const wchar *fmt,...) {} 8 | #else 9 | void Log(const wchar *ArcName,const wchar *fmt,...); 10 | #endif 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /include/emu_inc_hash_md4.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _EMU_INC_HASH_MD4_H 7 | #define _EMU_INC_HASH_MD4_H 8 | 9 | #include "emu_general.h" 10 | 11 | #include "inc_vendor.h" 12 | #include "inc_hash_md4.h" 13 | 14 | #endif // _EMU_INC_HASH_MD4_H 15 | -------------------------------------------------------------------------------- /include/emu_inc_hash_md5.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _EMU_INC_HASH_MD5_H 7 | #define _EMU_INC_HASH_MD5_H 8 | 9 | #include "emu_general.h" 10 | 11 | #include "inc_vendor.h" 12 | #include "inc_hash_md5.h" 13 | 14 | #endif // _EMU_INC_HASH_MD5_H 15 | -------------------------------------------------------------------------------- /deps/unrar/dll_nocrypt.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | RAROpenArchive 3 | RAROpenArchiveEx 4 | RARCloseArchive 5 | RARReadHeader 6 | RARReadHeaderEx 7 | RARProcessFile 8 | RARProcessFileW 9 | RARSetCallback 10 | RARSetChangeVolProc 11 | RARSetProcessDataProc 12 | ; RARSetPassword 13 | RARGetDllVersion 14 | -------------------------------------------------------------------------------- /deps/zlib/contrib/untgz/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS=-g 3 | 4 | untgz: untgz.o ../../libz.a 5 | $(CC) $(CFLAGS) -o untgz untgz.o -L../.. -lz 6 | 7 | untgz.o: untgz.c ../../zlib.h 8 | $(CC) $(CFLAGS) -c -I../.. untgz.c 9 | 10 | ../../libz.a: 11 | cd ../..; ./configure; make 12 | 13 | clean: 14 | rm -f untgz untgz.o *~ 15 | -------------------------------------------------------------------------------- /include/emu_inc_hash_sha1.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _EMU_INC_HASH_SHA1_H 7 | #define _EMU_INC_HASH_SHA1_H 8 | 9 | #include "emu_general.h" 10 | 11 | #include "inc_vendor.h" 12 | #include "inc_hash_sha1.h" 13 | 14 | #endif // _EMU_INC_HASH_SHA1_H 15 | -------------------------------------------------------------------------------- /rules/hybrid/append_du_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $0 3 | $1 4 | $2 5 | $3 6 | $4 7 | $5 8 | $6 9 | $7 10 | $8 11 | $9 12 | $A 13 | $B 14 | $C 15 | $D 16 | $E 17 | $F 18 | $G 19 | $H 20 | $I 21 | $J 22 | $K 23 | $L 24 | $M 25 | $N 26 | $O 27 | $P 28 | $Q 29 | $R 30 | $S 31 | $T 32 | $U 33 | $V 34 | $W 35 | $X 36 | $Y 37 | $Z 38 | -------------------------------------------------------------------------------- /rules/hybrid/append_ld_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $a 3 | $b 4 | $c 5 | $d 6 | $e 7 | $f 8 | $g 9 | $h 10 | $i 11 | $j 12 | $k 13 | $l 14 | $m 15 | $n 16 | $o 17 | $p 18 | $q 19 | $r 20 | $s 21 | $t 22 | $u 23 | $v 24 | $w 25 | $x 26 | $y 27 | $z 28 | $0 29 | $1 30 | $2 31 | $3 32 | $4 33 | $5 34 | $6 35 | $7 36 | $8 37 | $9 38 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_du_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^0 3 | ^1 4 | ^2 5 | ^3 6 | ^4 7 | ^5 8 | ^6 9 | ^7 10 | ^8 11 | ^9 12 | ^A 13 | ^B 14 | ^C 15 | ^D 16 | ^E 17 | ^F 18 | ^G 19 | ^H 20 | ^I 21 | ^J 22 | ^K 23 | ^L 24 | ^M 25 | ^N 26 | ^O 27 | ^P 28 | ^Q 29 | ^R 30 | ^S 31 | ^T 32 | ^U 33 | ^V 34 | ^W 35 | ^X 36 | ^Y 37 | ^Z 38 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_ld_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^a 3 | ^b 4 | ^c 5 | ^d 6 | ^e 7 | ^f 8 | ^g 9 | ^h 10 | ^i 11 | ^j 12 | ^k 13 | ^l 14 | ^m 15 | ^n 16 | ^o 17 | ^p 18 | ^q 19 | ^r 20 | ^s 21 | ^t 22 | ^u 23 | ^v 24 | ^w 25 | ^x 26 | ^y 27 | ^z 28 | ^0 29 | ^1 30 | ^2 31 | ^3 32 | ^4 33 | ^5 34 | ^6 35 | ^7 36 | ^8 37 | ^9 38 | -------------------------------------------------------------------------------- /deps/zlib/zlib.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | sharedlibdir=@sharedlibdir@ 5 | includedir=@includedir@ 6 | 7 | Name: zlib 8 | Description: zlib compression library 9 | Version: @VERSION@ 10 | 11 | Requires: 12 | Libs: -L${libdir} -L${sharedlibdir} -lz 13 | Cflags: -I${includedir} 14 | -------------------------------------------------------------------------------- /include/bitmap.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _BITMAP_H 7 | #define _BITMAP_H 8 | 9 | #include 10 | 11 | int bitmap_ctx_init (hashcat_ctx_t *hashcat_ctx); 12 | void bitmap_ctx_destroy (hashcat_ctx_t *hashcat_ctx); 13 | 14 | #endif // _BITMAP_H 15 | -------------------------------------------------------------------------------- /deps/unrar/isnt.hpp: -------------------------------------------------------------------------------- 1 | #ifndef _RAR_ISNT_ 2 | #define _RAR_ISNT_ 3 | 4 | enum WINNT_VERSION { 5 | WNT_NONE=0,WNT_NT351=0x0333,WNT_NT4=0x0400,WNT_W2000=0x0500, 6 | WNT_WXP=0x0501,WNT_W2003=0x0502,WNT_VISTA=0x0600,WNT_W7=0x0601, 7 | WNT_W8=0x0602,WNT_W81=0x0603,WNT_W10=0x0a00 8 | }; 9 | 10 | DWORD WinNT(); 11 | 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /include/emu_inc_hash_sha512.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _EMU_INC_HASH_SHA512_H 7 | #define _EMU_INC_HASH_SHA512_H 8 | 9 | #include "emu_general.h" 10 | 11 | #include "inc_vendor.h" 12 | #include "inc_hash_sha512.h" 13 | 14 | #endif // _EMU_INC_HASH_SHA512_H 15 | -------------------------------------------------------------------------------- /OpenCL/inc_comp_single_bs.cl: -------------------------------------------------------------------------------- 1 | 2 | if ((il_pos + slice) < IL_CNT) 3 | { 4 | const u32 final_hash_pos = DIGESTS_OFFSET_HOST + 0; 5 | 6 | if (hc_atomic_inc (&hashes_shown[final_hash_pos]) == 0) 7 | { 8 | mark_hash (plains_buf, d_return_buf, SALT_POS_HOST, DIGESTS_CNT, 0, final_hash_pos, gid, il_pos + slice, 0, 0); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /include/emu_inc_rp_optimized.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _EMU_INC_RP_OPTIMIZED_H 7 | #define _EMU_INC_RP_OPTIMIZED_H 8 | 9 | #include "emu_general.h" 10 | 11 | #include "inc_vendor.h" 12 | #include "inc_rp_optimized.h" 13 | 14 | #endif // _EMU_INC_RP_OPTIMIZED_H 15 | -------------------------------------------------------------------------------- /OpenCL/inc_truecrypt_crc32.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _INC_TRUECRYPT_CRC32_H 7 | #define _INC_TRUECRYPT_CRC32_H 8 | 9 | DECLSPEC u32 round_crc32 (u32 a, const u32 v); 10 | DECLSPEC u32 round_crc32_4 (const u32 w, const u32 iv); 11 | 12 | #endif // _INC_TRUECRYPT_CRC32_H 13 | -------------------------------------------------------------------------------- /include/emu_inc_ecc_secp256k1.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _EMU_INC_ECC_SECP256K1_H 7 | #define _EMU_INC_ECC_SECP256K1_H 8 | 9 | #include "emu_general.h" 10 | 11 | #include "inc_vendor.h" 12 | #include "inc_ecc_secp256k1.h" 13 | 14 | #endif // _EMU_INC_ECC_SECP256K1_H 15 | -------------------------------------------------------------------------------- /deps/zlib/contrib/minizip/minizip.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@/minizip 5 | 6 | Name: minizip 7 | Description: Minizip zip file manipulation library 8 | Requires: 9 | Version: @PACKAGE_VERSION@ 10 | Libs: -L${libdir} -lminizip 11 | Libs.private: -lz 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /rules/hybrid/append_ds.rule: -------------------------------------------------------------------------------- 1 | $0 2 | $1 3 | $2 4 | $3 5 | $4 6 | $5 7 | $6 8 | $7 9 | $8 10 | $9 11 | $ 12 | $! 13 | $" 14 | $# 15 | $$ 16 | $% 17 | $& 18 | $' 19 | $( 20 | $) 21 | $* 22 | $+ 23 | $, 24 | $- 25 | $. 26 | $/ 27 | $: 28 | $; 29 | $< 30 | $= 31 | $> 32 | $? 33 | $@ 34 | $[ 35 | $\ 36 | $] 37 | $^ 38 | $_ 39 | $` 40 | ${ 41 | $| 42 | $} 43 | $~ 44 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_ds.rule: -------------------------------------------------------------------------------- 1 | ^0 2 | ^1 3 | ^2 4 | ^3 5 | ^4 6 | ^5 7 | ^6 8 | ^7 9 | ^8 10 | ^9 11 | ^ 12 | ^! 13 | ^" 14 | ^# 15 | ^$ 16 | ^% 17 | ^& 18 | ^' 19 | ^( 20 | ^) 21 | ^* 22 | ^+ 23 | ^, 24 | ^- 25 | ^. 26 | ^/ 27 | ^: 28 | ^; 29 | ^< 30 | ^= 31 | ^> 32 | ^? 33 | ^@ 34 | ^[ 35 | ^\ 36 | ^] 37 | ^^ 38 | ^_ 39 | ^` 40 | ^{ 41 | ^| 42 | ^} 43 | ^~ 44 | -------------------------------------------------------------------------------- /deps/unrar/smallfn.cpp: -------------------------------------------------------------------------------- 1 | #include "rar.hpp" 2 | 3 | int ToPercent(int64 N1,int64 N2) 4 | { 5 | if (N2 10 | #include 11 | 12 | int combinator_ctx_init (hashcat_ctx_t *hashcat_ctx); 13 | void combinator_ctx_destroy (hashcat_ctx_t *hashcat_ctx); 14 | 15 | #endif // _COMBINATOR_H 16 | -------------------------------------------------------------------------------- /rules/hybrid/append_ds_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $0 3 | $1 4 | $2 5 | $3 6 | $4 7 | $5 8 | $6 9 | $7 10 | $8 11 | $9 12 | $ 13 | $! 14 | $" 15 | $# 16 | $$ 17 | $% 18 | $& 19 | $' 20 | $( 21 | $) 22 | $* 23 | $+ 24 | $, 25 | $- 26 | $. 27 | $/ 28 | $: 29 | $; 30 | $< 31 | $= 32 | $> 33 | $? 34 | $@ 35 | $[ 36 | $\ 37 | $] 38 | $^ 39 | $_ 40 | $` 41 | ${ 42 | $| 43 | $} 44 | $~ 45 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_ds_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^0 3 | ^1 4 | ^2 5 | ^3 6 | ^4 7 | ^5 8 | ^6 9 | ^7 10 | ^8 11 | ^9 12 | ^ 13 | ^! 14 | ^" 15 | ^# 16 | ^$ 17 | ^% 18 | ^& 19 | ^' 20 | ^( 21 | ^) 22 | ^* 23 | ^+ 24 | ^, 25 | ^- 26 | ^. 27 | ^/ 28 | ^: 29 | ^; 30 | ^< 31 | ^= 32 | ^> 33 | ^? 34 | ^@ 35 | ^[ 36 | ^\ 37 | ^] 38 | ^^ 39 | ^_ 40 | ^` 41 | ^{ 42 | ^| 43 | ^} 44 | ^~ 45 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # top-most EditorConfig file, enforcing some of the code style 2 | # 3 | # See http://editorconfig.org for a plugin to your editor! 4 | # 5 | root = true 6 | 7 | [*] 8 | charset = utf-8 9 | end_of_line = lf 10 | insert_final_newline = true 11 | trim_trailing_whitespace = true 12 | indent_style = space 13 | indent_size = 2 14 | 15 | [Makefile] 16 | indent_style = tab 17 | -------------------------------------------------------------------------------- /docs/license_libs/LZMA_SDK_LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 1999-2021 Igor Pavlov 2 | 3 | LZMA SDK is written and placed in the public domain by Igor Pavlov. 4 | 5 | Anyone is free to copy, modify, publish, use, compile, sell, or 6 | distribute the original LZMA SDK code, either in source code form or 7 | as a compiled binary, for any purpose, commercial or non-commercial, 8 | and by any means. 9 | -------------------------------------------------------------------------------- /deps/zlib/contrib/untgz/Makefile.msc: -------------------------------------------------------------------------------- 1 | CC=cl 2 | CFLAGS=-MD 3 | 4 | untgz.exe: untgz.obj ..\..\zlib.lib 5 | $(CC) $(CFLAGS) untgz.obj ..\..\zlib.lib 6 | 7 | untgz.obj: untgz.c ..\..\zlib.h 8 | $(CC) $(CFLAGS) -c -I..\.. untgz.c 9 | 10 | ..\..\zlib.lib: 11 | cd ..\.. 12 | $(MAKE) -f win32\makefile.msc 13 | cd contrib\untgz 14 | 15 | clean: 16 | -del untgz.obj 17 | -del untgz.exe 18 | -------------------------------------------------------------------------------- /include/cpu_crc32.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _CPU_CRC32_H 7 | #define _CPU_CRC32_H 8 | 9 | #include 10 | #include 11 | 12 | int cpu_crc32 (const char *filename, u8 *keytab, const size_t keytabsz); 13 | u32 cpu_crc32_buffer (const u8 *buf, const size_t length); 14 | 15 | #endif // _CPU_CRC32_H 16 | -------------------------------------------------------------------------------- /include/monitor.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _MONITOR_H 7 | #define _MONITOR_H 8 | 9 | #define STDIN_TIMEOUT_WARN 20 // warn if no input from stdin for x seconds 10 | 11 | int get_runtime_left (const hashcat_ctx_t *hashcat_ctx); 12 | 13 | HC_API_CALL void *thread_monitor (void *p); 14 | 15 | #endif // _MONITOR_H 16 | -------------------------------------------------------------------------------- /OpenCL/inc_comp_single.cl: -------------------------------------------------------------------------------- 1 | if ((r0 == search[0]) 2 | && (r1 == search[1]) 3 | && (r2 == search[2]) 4 | && (r3 == search[3])) 5 | { 6 | const u32 final_hash_pos = DIGESTS_OFFSET_HOST + 0; 7 | 8 | if (hc_atomic_inc (&hashes_shown[final_hash_pos]) == 0) 9 | { 10 | mark_hash (plains_buf, d_return_buf, SALT_POS_HOST, DIGESTS_CNT, 0, final_hash_pos, gid, il_pos, 0, 0); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /OpenCL/inc_truecrypt_keyfile.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _INC_TRUECRYPT_KEYFILE_H 7 | #define _INC_TRUECRYPT_KEYFILE_H 8 | 9 | DECLSPEC u32 u8add (const u32 a, const u32 b); 10 | DECLSPEC u32 hc_apply_keyfile_tc (PRIVATE_AS u32 *w, const int pw_len, const GLOBAL_AS tc_t *tc); 11 | 12 | #endif // _INC_TRUECRYPT_KEYFILE_H 13 | -------------------------------------------------------------------------------- /OpenCL/inc_veracrypt_keyfile.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _INC_VERACRYPT_KEYFILE_H 7 | #define _INC_VERACRYPT_KEYFILE_H 8 | 9 | DECLSPEC u32 u8add (const u32 a, const u32 b); 10 | DECLSPEC u32 hc_apply_keyfile_vc (PRIVATE_AS u32 *w, const int pw_len, const GLOBAL_AS vc_t *vc); 11 | 12 | #endif // _INC_VERACRYPT_KEYFILE_H 13 | -------------------------------------------------------------------------------- /include/emu_inc_cipher_des.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _EMU_INC_CIPHER_DES_H 7 | #define _EMU_INC_CIPHER_DES_H 8 | 9 | #include "emu_general.h" 10 | 11 | #include "inc_vendor.h" 12 | #include "inc_cipher_des.h" 13 | 14 | extern u32a c_SPtrans[8][64]; 15 | extern u32a c_skb[8][64]; 16 | 17 | #endif // _EMU_INC_CIPHER_DES_H 18 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/Lzma/makefile.gcc: -------------------------------------------------------------------------------- 1 | PROG = 7lzma 2 | 3 | include ../../../CPP/7zip/LzmaDec_gcc.mak 4 | 5 | 6 | OBJS = \ 7 | $(LZMA_DEC_OPT_OBJS) \ 8 | $O/7zFile.o \ 9 | $O/7zStream.o \ 10 | $O/Alloc.o \ 11 | $O/LzFind.o \ 12 | $O/LzFindMt.o \ 13 | $O/LzmaDec.o \ 14 | $O/LzmaEnc.o \ 15 | $O/LzmaUtil.o \ 16 | $O/Threads.o \ 17 | 18 | 19 | include ../../7zip_gcc_c.mak 20 | -------------------------------------------------------------------------------- /include/cpt.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _CPT_H 7 | #define _CPT_H 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | int cpt_ctx_init (hashcat_ctx_t *hashcat_ctx); 14 | void cpt_ctx_destroy (hashcat_ctx_t *hashcat_ctx); 15 | void cpt_ctx_reset (hashcat_ctx_t *hashcat_ctx); 16 | 17 | #endif // _CPT_H 18 | -------------------------------------------------------------------------------- /include/locking.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _LOCKING_H 7 | #define _LOCKING_H 8 | 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | 16 | int hc_lockfile (HCFILE *fp); 17 | int hc_unlockfile (HCFILE *fp); 18 | 19 | #endif // _LOCKING_H 20 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/DllSecur.h: -------------------------------------------------------------------------------- 1 | /* DllSecur.h -- DLL loading for security 2 | 2018-02-19 : Igor Pavlov : Public domain */ 3 | 4 | #ifndef __DLL_SECUR_H 5 | #define __DLL_SECUR_H 6 | 7 | #include "7zTypes.h" 8 | 9 | EXTERN_C_BEGIN 10 | 11 | #ifdef _WIN32 12 | 13 | void My_SetDefaultDllDirectories(void); 14 | void LoadSecurityDlls(void); 15 | 16 | #endif 17 | 18 | EXTERN_C_END 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /deps/unrar/crc.hpp: -------------------------------------------------------------------------------- 1 | #ifndef _RAR_CRC_ 2 | #define _RAR_CRC_ 3 | 4 | // This function is only to intialize external CRC tables. We do not need to 5 | // call it before calculating CRC32. 6 | void InitCRC32(uint *CRCTab); 7 | 8 | uint CRC32(uint StartCRC,const void *Addr,size_t Size); 9 | 10 | #ifndef SFX_MODULE 11 | ushort Checksum14(ushort StartCRC,const void *Addr,size_t Size); 12 | #endif 13 | 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /deps/unrar/sha256.hpp: -------------------------------------------------------------------------------- 1 | #ifndef _RAR_SHA256_ 2 | #define _RAR_SHA256_ 3 | 4 | #define SHA256_DIGEST_SIZE 32 5 | 6 | typedef struct 7 | { 8 | uint32 H[8]; 9 | uint64 Count; 10 | byte Buffer[64]; 11 | } sha256_context; 12 | 13 | void sha256_init(sha256_context *ctx); 14 | void sha256_process(sha256_context *ctx, const void *Data, size_t Size); 15 | void sha256_done(sha256_context *ctx, byte *Digest); 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Sort.h: -------------------------------------------------------------------------------- 1 | /* Sort.h -- Sort functions 2 | 2014-04-05 : Igor Pavlov : Public domain */ 3 | 4 | #ifndef __7Z_SORT_H 5 | #define __7Z_SORT_H 6 | 7 | #include "7zTypes.h" 8 | 9 | EXTERN_C_BEGIN 10 | 11 | void HeapSort(UInt32 *p, size_t size); 12 | void HeapSort64(UInt64 *p, size_t size); 13 | 14 | /* void HeapSortRef(UInt32 *p, UInt32 *vals, size_t size); */ 15 | 16 | EXTERN_C_END 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/LzmaLib/LzmaLibExports.c: -------------------------------------------------------------------------------- 1 | /* LzmaLibExports.c -- LZMA library DLL Entry point 2 | 2015-11-08 : Igor Pavlov : Public domain */ 3 | 4 | #include "../../Precomp.h" 5 | 6 | #include 7 | 8 | BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) 9 | { 10 | UNUSED_VAR(hInstance); 11 | UNUSED_VAR(dwReason); 12 | UNUSED_VAR(lpReserved); 13 | return TRUE; 14 | } 15 | -------------------------------------------------------------------------------- /deps/unrar/filestr.hpp: -------------------------------------------------------------------------------- 1 | #ifndef _RAR_FILESTR_ 2 | #define _RAR_FILESTR_ 3 | 4 | bool ReadTextFile( 5 | const wchar *Name, 6 | StringList *List, 7 | bool Config, 8 | bool AbortOnError=false, 9 | RAR_CHARSET SrcCharset=RCH_DEFAULT, 10 | bool Unquote=false, 11 | bool SkipComments=false, 12 | bool ExpandEnvStr=false 13 | ); 14 | 15 | RAR_CHARSET DetectTextEncoding(const byte *Data,size_t DataSize); 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /rules/hybrid/append_lu.rule: -------------------------------------------------------------------------------- 1 | $a 2 | $b 3 | $c 4 | $d 5 | $e 6 | $f 7 | $g 8 | $h 9 | $i 10 | $j 11 | $k 12 | $l 13 | $m 14 | $n 15 | $o 16 | $p 17 | $q 18 | $r 19 | $s 20 | $t 21 | $u 22 | $v 23 | $w 24 | $x 25 | $y 26 | $z 27 | $A 28 | $B 29 | $C 30 | $D 31 | $E 32 | $F 33 | $G 34 | $H 35 | $I 36 | $J 37 | $K 38 | $L 39 | $M 40 | $N 41 | $O 42 | $P 43 | $Q 44 | $R 45 | $S 46 | $T 47 | $U 48 | $V 49 | $W 50 | $X 51 | $Y 52 | $Z 53 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_lu.rule: -------------------------------------------------------------------------------- 1 | ^a 2 | ^b 3 | ^c 4 | ^d 5 | ^e 6 | ^f 7 | ^g 8 | ^h 9 | ^i 10 | ^j 11 | ^k 12 | ^l 13 | ^m 14 | ^n 15 | ^o 16 | ^p 17 | ^q 18 | ^r 19 | ^s 20 | ^t 21 | ^u 22 | ^v 23 | ^w 24 | ^x 25 | ^y 26 | ^z 27 | ^A 28 | ^B 29 | ^C 30 | ^D 31 | ^E 32 | ^F 33 | ^G 34 | ^H 35 | ^I 36 | ^J 37 | ^K 38 | ^L 39 | ^M 40 | ^N 41 | ^O 42 | ^P 43 | ^Q 44 | ^R 45 | ^S 46 | ^T 47 | ^U 48 | ^V 49 | ^W 50 | ^X 51 | ^Y 52 | ^Z 53 | -------------------------------------------------------------------------------- /include/straight.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _STRAIGHT_H 7 | #define _STRAIGHT_H 8 | 9 | #include 10 | 11 | #define INCR_DICTS 1000 12 | 13 | int straight_ctx_update_loop (hashcat_ctx_t *hashcat_ctx); 14 | int straight_ctx_init (hashcat_ctx_t *hashcat_ctx); 15 | void straight_ctx_destroy (hashcat_ctx_t *hashcat_ctx); 16 | 17 | #endif // _STRAIGHT_H 18 | -------------------------------------------------------------------------------- /rules/hybrid/append_lu_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $a 3 | $b 4 | $c 5 | $d 6 | $e 7 | $f 8 | $g 9 | $h 10 | $i 11 | $j 12 | $k 13 | $l 14 | $m 15 | $n 16 | $o 17 | $p 18 | $q 19 | $r 20 | $s 21 | $t 22 | $u 23 | $v 24 | $w 25 | $x 26 | $y 27 | $z 28 | $A 29 | $B 30 | $C 31 | $D 32 | $E 33 | $F 34 | $G 35 | $H 36 | $I 37 | $J 38 | $K 39 | $L 40 | $M 41 | $N 42 | $O 43 | $P 44 | $Q 45 | $R 46 | $S 47 | $T 48 | $U 49 | $V 50 | $W 51 | $X 52 | $Y 53 | $Z 54 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_lu_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^a 3 | ^b 4 | ^c 5 | ^d 6 | ^e 7 | ^f 8 | ^g 9 | ^h 10 | ^i 11 | ^j 12 | ^k 13 | ^l 14 | ^m 15 | ^n 16 | ^o 17 | ^p 18 | ^q 19 | ^r 20 | ^s 21 | ^t 22 | ^u 23 | ^v 24 | ^w 25 | ^x 26 | ^y 27 | ^z 28 | ^A 29 | ^B 30 | ^C 31 | ^D 32 | ^E 33 | ^F 34 | ^G 35 | ^H 36 | ^I 37 | ^J 38 | ^K 39 | ^L 40 | ^M 41 | ^N 42 | ^O 43 | ^P 44 | ^Q 45 | ^R 46 | ^S 47 | ^T 48 | ^U 49 | ^V 50 | ^W 51 | ^X 52 | ^Y 53 | ^Z 54 | -------------------------------------------------------------------------------- /rules/leetspeak.rule: -------------------------------------------------------------------------------- 1 | ## rule: leetspeak single 2 | ## limits: none 3 | ## example: john ---> j0hn 4 | ## extras: case original, lower, upper 5 | 6 | sa4 7 | sa@ 8 | sb6 9 | sc< 10 | sc{ 11 | se3 12 | sg9 13 | si1 14 | si! 15 | so0 16 | sq9 17 | ss5 18 | ss$ 19 | st7 20 | st+ 21 | sx% 22 | 23 | ## rule: leetspeak multi 24 | ## limits: none 25 | ## example: johnbox ---> j0hnbox 26 | ## extras: all case variants 27 | 28 | sa@sc 10 | #include 11 | #include 12 | 13 | #if defined (_WIN) 14 | #include 15 | #include 16 | #endif // _WIN 17 | 18 | int pidfile_ctx_init (hashcat_ctx_t *hashcat_ctx); 19 | 20 | void pidfile_ctx_destroy (hashcat_ctx_t *hashcat_ctx); 21 | 22 | #endif // _PIDFILE_H 23 | -------------------------------------------------------------------------------- /deps/zlib/inffast.h: -------------------------------------------------------------------------------- 1 | /* inffast.h -- header to use inffast.c 2 | * Copyright (C) 1995-2003, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start)); 12 | -------------------------------------------------------------------------------- /include/outfile_check.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _OUTFILE_CHECK_H 7 | #define _OUTFILE_CHECK_H 8 | 9 | #include 10 | #include 11 | 12 | #define OUTFILES_DIR "outfiles" 13 | 14 | HC_API_CALL void *thread_outfile_remove (void *p); 15 | 16 | int outcheck_ctx_init (hashcat_ctx_t *hashcat_ctx); 17 | void outcheck_ctx_destroy (hashcat_ctx_t *hashcat_ctx); 18 | 19 | #endif // _OUTFILE_CHECK_H 20 | -------------------------------------------------------------------------------- /rules/hybrid/append_ls.rule: -------------------------------------------------------------------------------- 1 | $a 2 | $b 3 | $c 4 | $d 5 | $e 6 | $f 7 | $g 8 | $h 9 | $i 10 | $j 11 | $k 12 | $l 13 | $m 14 | $n 15 | $o 16 | $p 17 | $q 18 | $r 19 | $s 20 | $t 21 | $u 22 | $v 23 | $w 24 | $x 25 | $y 26 | $z 27 | $ 28 | $! 29 | $" 30 | $# 31 | $$ 32 | $% 33 | $& 34 | $' 35 | $( 36 | $) 37 | $* 38 | $+ 39 | $, 40 | $- 41 | $. 42 | $/ 43 | $: 44 | $; 45 | $< 46 | $= 47 | $> 48 | $? 49 | $@ 50 | $[ 51 | $\ 52 | $] 53 | $^ 54 | $_ 55 | $` 56 | ${ 57 | $| 58 | $} 59 | $~ 60 | -------------------------------------------------------------------------------- /rules/hybrid/append_us.rule: -------------------------------------------------------------------------------- 1 | $A 2 | $B 3 | $C 4 | $D 5 | $E 6 | $F 7 | $G 8 | $H 9 | $I 10 | $J 11 | $K 12 | $L 13 | $M 14 | $N 15 | $O 16 | $P 17 | $Q 18 | $R 19 | $S 20 | $T 21 | $U 22 | $V 23 | $W 24 | $X 25 | $Y 26 | $Z 27 | $ 28 | $! 29 | $" 30 | $# 31 | $$ 32 | $% 33 | $& 34 | $' 35 | $( 36 | $) 37 | $* 38 | $+ 39 | $, 40 | $- 41 | $. 42 | $/ 43 | $: 44 | $; 45 | $< 46 | $= 47 | $> 48 | $? 49 | $@ 50 | $[ 51 | $\ 52 | $] 53 | $^ 54 | $_ 55 | $` 56 | ${ 57 | $| 58 | $} 59 | $~ 60 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_ls.rule: -------------------------------------------------------------------------------- 1 | ^a 2 | ^b 3 | ^c 4 | ^d 5 | ^e 6 | ^f 7 | ^g 8 | ^h 9 | ^i 10 | ^j 11 | ^k 12 | ^l 13 | ^m 14 | ^n 15 | ^o 16 | ^p 17 | ^q 18 | ^r 19 | ^s 20 | ^t 21 | ^u 22 | ^v 23 | ^w 24 | ^x 25 | ^y 26 | ^z 27 | ^ 28 | ^! 29 | ^" 30 | ^# 31 | ^$ 32 | ^% 33 | ^& 34 | ^' 35 | ^( 36 | ^) 37 | ^* 38 | ^+ 39 | ^, 40 | ^- 41 | ^. 42 | ^/ 43 | ^: 44 | ^; 45 | ^< 46 | ^= 47 | ^> 48 | ^? 49 | ^@ 50 | ^[ 51 | ^\ 52 | ^] 53 | ^^ 54 | ^_ 55 | ^` 56 | ^{ 57 | ^| 58 | ^} 59 | ^~ 60 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_us.rule: -------------------------------------------------------------------------------- 1 | ^A 2 | ^B 3 | ^C 4 | ^D 5 | ^E 6 | ^F 7 | ^G 8 | ^H 9 | ^I 10 | ^J 11 | ^K 12 | ^L 13 | ^M 14 | ^N 15 | ^O 16 | ^P 17 | ^Q 18 | ^R 19 | ^S 20 | ^T 21 | ^U 22 | ^V 23 | ^W 24 | ^X 25 | ^Y 26 | ^Z 27 | ^ 28 | ^! 29 | ^" 30 | ^# 31 | ^$ 32 | ^% 33 | ^& 34 | ^' 35 | ^( 36 | ^) 37 | ^* 38 | ^+ 39 | ^, 40 | ^- 41 | ^. 42 | ^/ 43 | ^: 44 | ^; 45 | ^< 46 | ^= 47 | ^> 48 | ^? 49 | ^@ 50 | ^[ 51 | ^\ 52 | ^] 53 | ^^ 54 | ^_ 55 | ^` 56 | ^{ 57 | ^| 58 | ^} 59 | ^~ 60 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/7zAlloc.h: -------------------------------------------------------------------------------- 1 | /* 7zAlloc.h -- Allocation functions 2 | 2017-04-03 : Igor Pavlov : Public domain */ 3 | 4 | #ifndef __7Z_ALLOC_H 5 | #define __7Z_ALLOC_H 6 | 7 | #include "7zTypes.h" 8 | 9 | EXTERN_C_BEGIN 10 | 11 | void *SzAlloc(ISzAllocPtr p, size_t size); 12 | void SzFree(ISzAllocPtr p, void *address); 13 | 14 | void *SzAllocTemp(ISzAllocPtr p, size_t size); 15 | void SzFreeTemp(ISzAllocPtr p, void *address); 16 | 17 | EXTERN_C_END 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /include/rp_cpu.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _RP_CPU_H 7 | #define _RP_CPU_H 8 | 9 | #include 10 | 11 | #define RULE_RC_SYNTAX_ERROR -1 12 | #define RULE_RC_REJECT_ERROR -2 13 | 14 | int _old_apply_rule (const char *rule, int rule_len, char in[RP_PASSWORD_SIZE], int in_len, char out[RP_PASSWORD_SIZE]); 15 | 16 | int run_rule_engine (const int rule_len, const char *rule_buf); 17 | 18 | #endif // _RP_CPU_H 19 | -------------------------------------------------------------------------------- /include/induct.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _INDUCT_H 7 | #define _INDUCT_H 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | static const char INDUCT_DIR[] = "induct"; 14 | 15 | int induct_ctx_init (hashcat_ctx_t *hashcat_ctx); 16 | void induct_ctx_scan (hashcat_ctx_t *hashcat_ctx); 17 | void induct_ctx_destroy (hashcat_ctx_t *hashcat_ctx); 18 | 19 | #endif // _INDUCT_H 20 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Delta.h: -------------------------------------------------------------------------------- 1 | /* Delta.h -- Delta converter 2 | 2013-01-18 : Igor Pavlov : Public domain */ 3 | 4 | #ifndef __DELTA_H 5 | #define __DELTA_H 6 | 7 | #include "7zTypes.h" 8 | 9 | EXTERN_C_BEGIN 10 | 11 | #define DELTA_STATE_SIZE 256 12 | 13 | void Delta_Init(Byte *state); 14 | void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size); 15 | void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size); 16 | 17 | EXTERN_C_END 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /rules/hybrid/append_ls_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $a 3 | $b 4 | $c 5 | $d 6 | $e 7 | $f 8 | $g 9 | $h 10 | $i 11 | $j 12 | $k 13 | $l 14 | $m 15 | $n 16 | $o 17 | $p 18 | $q 19 | $r 20 | $s 21 | $t 22 | $u 23 | $v 24 | $w 25 | $x 26 | $y 27 | $z 28 | $ 29 | $! 30 | $" 31 | $# 32 | $$ 33 | $% 34 | $& 35 | $' 36 | $( 37 | $) 38 | $* 39 | $+ 40 | $, 41 | $- 42 | $. 43 | $/ 44 | $: 45 | $; 46 | $< 47 | $= 48 | $> 49 | $? 50 | $@ 51 | $[ 52 | $\ 53 | $] 54 | $^ 55 | $_ 56 | $` 57 | ${ 58 | $| 59 | $} 60 | $~ 61 | -------------------------------------------------------------------------------- /rules/hybrid/append_us_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $A 3 | $B 4 | $C 5 | $D 6 | $E 7 | $F 8 | $G 9 | $H 10 | $I 11 | $J 12 | $K 13 | $L 14 | $M 15 | $N 16 | $O 17 | $P 18 | $Q 19 | $R 20 | $S 21 | $T 22 | $U 23 | $V 24 | $W 25 | $X 26 | $Y 27 | $Z 28 | $ 29 | $! 30 | $" 31 | $# 32 | $$ 33 | $% 34 | $& 35 | $' 36 | $( 37 | $) 38 | $* 39 | $+ 40 | $, 41 | $- 42 | $. 43 | $/ 44 | $: 45 | $; 46 | $< 47 | $= 48 | $> 49 | $? 50 | $@ 51 | $[ 52 | $\ 53 | $] 54 | $^ 55 | $_ 56 | $` 57 | ${ 58 | $| 59 | $} 60 | $~ 61 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_ls_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^a 3 | ^b 4 | ^c 5 | ^d 6 | ^e 7 | ^f 8 | ^g 9 | ^h 10 | ^i 11 | ^j 12 | ^k 13 | ^l 14 | ^m 15 | ^n 16 | ^o 17 | ^p 18 | ^q 19 | ^r 20 | ^s 21 | ^t 22 | ^u 23 | ^v 24 | ^w 25 | ^x 26 | ^y 27 | ^z 28 | ^ 29 | ^! 30 | ^" 31 | ^# 32 | ^$ 33 | ^% 34 | ^& 35 | ^' 36 | ^( 37 | ^) 38 | ^* 39 | ^+ 40 | ^, 41 | ^- 42 | ^. 43 | ^/ 44 | ^: 45 | ^; 46 | ^< 47 | ^= 48 | ^> 49 | ^? 50 | ^@ 51 | ^[ 52 | ^\ 53 | ^] 54 | ^^ 55 | ^_ 56 | ^` 57 | ^{ 58 | ^| 59 | ^} 60 | ^~ 61 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_us_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^A 3 | ^B 4 | ^C 5 | ^D 6 | ^E 7 | ^F 8 | ^G 9 | ^H 10 | ^I 11 | ^J 12 | ^K 13 | ^L 14 | ^M 15 | ^N 16 | ^O 17 | ^P 18 | ^Q 19 | ^R 20 | ^S 21 | ^T 22 | ^U 23 | ^V 24 | ^W 25 | ^X 26 | ^Y 27 | ^Z 28 | ^ 29 | ^! 30 | ^" 31 | ^# 32 | ^$ 33 | ^% 34 | ^& 35 | ^' 36 | ^( 37 | ^) 38 | ^* 39 | ^+ 40 | ^, 41 | ^- 42 | ^. 43 | ^/ 44 | ^: 45 | ^; 46 | ^< 47 | ^= 48 | ^> 49 | ^? 50 | ^@ 51 | ^[ 52 | ^\ 53 | ^] 54 | ^^ 55 | ^_ 56 | ^` 57 | ^{ 58 | ^| 59 | ^} 60 | ^~ 61 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | os: 2 | - linux 3 | - osx 4 | language: c 5 | compiler: 6 | - clang 7 | - gcc 8 | before_install: 9 | - | 10 | if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.md)|(.vc)|(.tc)|(.pm)|(.diff)|(.pl)|(.sh)|(.cmd)|(.hash)|(.cl)|(.yaml)|(.rule)|(.hckmap)|(.charset)|(.yml)|(.editorconfig)|(.gitattributes)|(.gitignore)|(.lock)|(.hcmask)' 11 | then 12 | echo "No code changes detected, skip the CI build." 13 | exit 14 | fi 15 | script: 16 | - make 17 | -------------------------------------------------------------------------------- /rules/hybrid/append_ldu.rule: -------------------------------------------------------------------------------- 1 | $a 2 | $b 3 | $c 4 | $d 5 | $e 6 | $f 7 | $g 8 | $h 9 | $i 10 | $j 11 | $k 12 | $l 13 | $m 14 | $n 15 | $o 16 | $p 17 | $q 18 | $r 19 | $s 20 | $t 21 | $u 22 | $v 23 | $w 24 | $x 25 | $y 26 | $z 27 | $0 28 | $1 29 | $2 30 | $3 31 | $4 32 | $5 33 | $6 34 | $7 35 | $8 36 | $9 37 | $A 38 | $B 39 | $C 40 | $D 41 | $E 42 | $F 43 | $G 44 | $H 45 | $I 46 | $J 47 | $K 48 | $L 49 | $M 50 | $N 51 | $O 52 | $P 53 | $Q 54 | $R 55 | $S 56 | $T 57 | $U 58 | $V 59 | $W 60 | $X 61 | $Y 62 | $Z 63 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_ldu.rule: -------------------------------------------------------------------------------- 1 | ^a 2 | ^b 3 | ^c 4 | ^d 5 | ^e 6 | ^f 7 | ^g 8 | ^h 9 | ^i 10 | ^j 11 | ^k 12 | ^l 13 | ^m 14 | ^n 15 | ^o 16 | ^p 17 | ^q 18 | ^r 19 | ^s 20 | ^t 21 | ^u 22 | ^v 23 | ^w 24 | ^x 25 | ^y 26 | ^z 27 | ^0 28 | ^1 29 | ^2 30 | ^3 31 | ^4 32 | ^5 33 | ^6 34 | ^7 35 | ^8 36 | ^9 37 | ^A 38 | ^B 39 | ^C 40 | ^D 41 | ^E 42 | ^F 43 | ^G 44 | ^H 45 | ^I 46 | ^J 47 | ^K 48 | ^L 49 | ^M 50 | ^N 51 | ^O 52 | ^P 53 | ^Q 54 | ^R 55 | ^S 56 | ^T 57 | ^U 58 | ^V 59 | ^W 60 | ^X 61 | ^Y 62 | ^Z 63 | -------------------------------------------------------------------------------- /deps/unrar/encname.hpp: -------------------------------------------------------------------------------- 1 | #ifndef _RAR_ENCNAME_ 2 | #define _RAR_ENCNAME_ 3 | 4 | class EncodeFileName 5 | { 6 | private: 7 | void AddFlags(int Value); 8 | 9 | byte *EncName; 10 | byte Flags; 11 | uint FlagBits; 12 | size_t FlagsPos; 13 | size_t DestSize; 14 | public: 15 | EncodeFileName(); 16 | size_t Encode(char *Name,wchar *NameW,byte *EncName); 17 | void Decode(char *Name,size_t NameSize,byte *EncName,size_t EncSize,wchar *NameW,size_t MaxDecSize); 18 | }; 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /deps/xxHash/libxxhash.pc.in: -------------------------------------------------------------------------------- 1 | # xxHash - Extremely fast hash algorithm 2 | # Copyright (C) 2012-2020, Yann Collet, Facebook 3 | # BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) 4 | 5 | prefix=@PREFIX@ 6 | exec_prefix=@EXECPREFIX@ 7 | includedir=${prefix}/@INCLUDEDIR@ 8 | libdir=${exec_prefix}/@LIBDIR@ 9 | 10 | Name: xxhash 11 | Description: extremely fast hash algorithm 12 | URL: https://www.xxhash.com/ 13 | Version: @VERSION@ 14 | Libs: -L${libdir} -lxxhash 15 | Cflags: -I${includedir} 16 | -------------------------------------------------------------------------------- /OpenCL/amp_a3.cl: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifdef KERNEL_STATIC 7 | #include M2S(INCLUDE_PATH/inc_vendor.h) 8 | #include M2S(INCLUDE_PATH/inc_types.h) 9 | #include M2S(INCLUDE_PATH/inc_platform.cl) 10 | #include M2S(INCLUDE_PATH/inc_amp.h) 11 | #endif 12 | 13 | KERNEL_FQ void amp (KERN_ATTR_AMP) 14 | { 15 | const u64 gid = get_global_id (0); 16 | 17 | if (gid >= gid_max) return; 18 | 19 | const u32 w0r = bfs_buf[0].i; 20 | 21 | pws[gid].i[0] |= w0r; 22 | } 23 | -------------------------------------------------------------------------------- /rules/hybrid/append_ldu_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $a 3 | $b 4 | $c 5 | $d 6 | $e 7 | $f 8 | $g 9 | $h 10 | $i 11 | $j 12 | $k 13 | $l 14 | $m 15 | $n 16 | $o 17 | $p 18 | $q 19 | $r 20 | $s 21 | $t 22 | $u 23 | $v 24 | $w 25 | $x 26 | $y 27 | $z 28 | $0 29 | $1 30 | $2 31 | $3 32 | $4 33 | $5 34 | $6 35 | $7 36 | $8 37 | $9 38 | $A 39 | $B 40 | $C 41 | $D 42 | $E 43 | $F 44 | $G 45 | $H 46 | $I 47 | $J 48 | $K 49 | $L 50 | $M 51 | $N 52 | $O 53 | $P 54 | $Q 55 | $R 56 | $S 57 | $T 58 | $U 59 | $V 60 | $W 61 | $X 62 | $Y 63 | $Z 64 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_ldu_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^a 3 | ^b 4 | ^c 5 | ^d 6 | ^e 7 | ^f 8 | ^g 9 | ^h 10 | ^i 11 | ^j 12 | ^k 13 | ^l 14 | ^m 15 | ^n 16 | ^o 17 | ^p 18 | ^q 19 | ^r 20 | ^s 21 | ^t 22 | ^u 23 | ^v 24 | ^w 25 | ^x 26 | ^y 27 | ^z 28 | ^0 29 | ^1 30 | ^2 31 | ^3 32 | ^4 33 | ^5 34 | ^6 35 | ^7 36 | ^8 37 | ^9 38 | ^A 39 | ^B 40 | ^C 41 | ^D 42 | ^E 43 | ^F 44 | ^G 45 | ^H 46 | ^I 47 | ^J 48 | ^K 49 | ^L 50 | ^M 51 | ^N 52 | ^O 53 | ^P 54 | ^Q 55 | ^R 56 | ^S 57 | ^T 58 | ^U 59 | ^V 60 | ^W 61 | ^X 62 | ^Y 63 | ^Z 64 | -------------------------------------------------------------------------------- /include/debugfile.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _DEBUGFILE_H 7 | #define _DEBUGFILE_H 8 | 9 | #include 10 | 11 | int debugfile_init (hashcat_ctx_t *hashcat_ctx); 12 | void debugfile_destroy (hashcat_ctx_t *hashcat_ctx); 13 | void debugfile_write_append (hashcat_ctx_t *hashcat_ctx, const u8 *rule_buf, const u32 rule_len, const u8 *mod_plain_ptr, const u32 mod_plain_len, const u8 *orig_plain_ptr, const u32 orig_plain_len); 14 | 15 | #endif // _DEBUGFILE_H 16 | -------------------------------------------------------------------------------- /OpenCL/inc_luks_essiv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _INC_LUKS_ESSIV_H 7 | #define _INC_LUKS_ESSIV_H 8 | 9 | DECLSPEC void ESSIV_sha256_transform_S (PRIVATE_AS const u32 *w0, PRIVATE_AS const u32 *w1, PRIVATE_AS const u32 *w2, PRIVATE_AS const u32 *w3, PRIVATE_AS u32 *digest); 10 | DECLSPEC void ESSIV_sha256_init128 (PRIVATE_AS u32 *key, PRIVATE_AS u32 *essivhash); 11 | DECLSPEC void ESSIV_sha256_init256 (PRIVATE_AS u32 *key, PRIVATE_AS u32 *essivhash); 12 | 13 | #endif // _INC_LUKS_ESSIV_H 14 | -------------------------------------------------------------------------------- /include/memory.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _MEMORY_H 7 | #define _MEMORY_H 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | #define MSG_ENOMEM "Insufficient memory available" 14 | 15 | void *hccalloc (const size_t nmemb, const size_t sz); 16 | void *hcmalloc (const size_t sz); 17 | void *hcrealloc (void *ptr, const size_t oldsz, const size_t addsz); 18 | char *hcstrdup (const char *s); 19 | void hcfree (void *ptr); 20 | 21 | #endif // _MEMORY_H 22 | -------------------------------------------------------------------------------- /rules/hybrid/append_dus.rule: -------------------------------------------------------------------------------- 1 | $0 2 | $1 3 | $2 4 | $3 5 | $4 6 | $5 7 | $6 8 | $7 9 | $8 10 | $9 11 | $A 12 | $B 13 | $C 14 | $D 15 | $E 16 | $F 17 | $G 18 | $H 19 | $I 20 | $J 21 | $K 22 | $L 23 | $M 24 | $N 25 | $O 26 | $P 27 | $Q 28 | $R 29 | $S 30 | $T 31 | $U 32 | $V 33 | $W 34 | $X 35 | $Y 36 | $Z 37 | $ 38 | $! 39 | $" 40 | $# 41 | $$ 42 | $% 43 | $& 44 | $' 45 | $( 46 | $) 47 | $* 48 | $+ 49 | $, 50 | $- 51 | $. 52 | $/ 53 | $: 54 | $; 55 | $< 56 | $= 57 | $> 58 | $? 59 | $@ 60 | $[ 61 | $\ 62 | $] 63 | $^ 64 | $_ 65 | $` 66 | ${ 67 | $| 68 | $} 69 | $~ 70 | -------------------------------------------------------------------------------- /rules/hybrid/append_lds.rule: -------------------------------------------------------------------------------- 1 | $a 2 | $b 3 | $c 4 | $d 5 | $e 6 | $f 7 | $g 8 | $h 9 | $i 10 | $j 11 | $k 12 | $l 13 | $m 14 | $n 15 | $o 16 | $p 17 | $q 18 | $r 19 | $s 20 | $t 21 | $u 22 | $v 23 | $w 24 | $x 25 | $y 26 | $z 27 | $0 28 | $1 29 | $2 30 | $3 31 | $4 32 | $5 33 | $6 34 | $7 35 | $8 36 | $9 37 | $ 38 | $! 39 | $" 40 | $# 41 | $$ 42 | $% 43 | $& 44 | $' 45 | $( 46 | $) 47 | $* 48 | $+ 49 | $, 50 | $- 51 | $. 52 | $/ 53 | $: 54 | $; 55 | $< 56 | $= 57 | $> 58 | $? 59 | $@ 60 | $[ 61 | $\ 62 | $] 63 | $^ 64 | $_ 65 | $` 66 | ${ 67 | $| 68 | $} 69 | $~ 70 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_dus.rule: -------------------------------------------------------------------------------- 1 | ^0 2 | ^1 3 | ^2 4 | ^3 5 | ^4 6 | ^5 7 | ^6 8 | ^7 9 | ^8 10 | ^9 11 | ^A 12 | ^B 13 | ^C 14 | ^D 15 | ^E 16 | ^F 17 | ^G 18 | ^H 19 | ^I 20 | ^J 21 | ^K 22 | ^L 23 | ^M 24 | ^N 25 | ^O 26 | ^P 27 | ^Q 28 | ^R 29 | ^S 30 | ^T 31 | ^U 32 | ^V 33 | ^W 34 | ^X 35 | ^Y 36 | ^Z 37 | ^ 38 | ^! 39 | ^" 40 | ^# 41 | ^$ 42 | ^% 43 | ^& 44 | ^' 45 | ^( 46 | ^) 47 | ^* 48 | ^+ 49 | ^, 50 | ^- 51 | ^. 52 | ^/ 53 | ^: 54 | ^; 55 | ^< 56 | ^= 57 | ^> 58 | ^? 59 | ^@ 60 | ^[ 61 | ^\ 62 | ^] 63 | ^^ 64 | ^_ 65 | ^` 66 | ^{ 67 | ^| 68 | ^} 69 | ^~ 70 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_lds.rule: -------------------------------------------------------------------------------- 1 | ^a 2 | ^b 3 | ^c 4 | ^d 5 | ^e 6 | ^f 7 | ^g 8 | ^h 9 | ^i 10 | ^j 11 | ^k 12 | ^l 13 | ^m 14 | ^n 15 | ^o 16 | ^p 17 | ^q 18 | ^r 19 | ^s 20 | ^t 21 | ^u 22 | ^v 23 | ^w 24 | ^x 25 | ^y 26 | ^z 27 | ^0 28 | ^1 29 | ^2 30 | ^3 31 | ^4 32 | ^5 33 | ^6 34 | ^7 35 | ^8 36 | ^9 37 | ^ 38 | ^! 39 | ^" 40 | ^# 41 | ^$ 42 | ^% 43 | ^& 44 | ^' 45 | ^( 46 | ^) 47 | ^* 48 | ^+ 49 | ^, 50 | ^- 51 | ^. 52 | ^/ 53 | ^: 54 | ^; 55 | ^< 56 | ^= 57 | ^> 58 | ^? 59 | ^@ 60 | ^[ 61 | ^\ 62 | ^] 63 | ^^ 64 | ^_ 65 | ^` 66 | ^{ 67 | ^| 68 | ^} 69 | ^~ 70 | -------------------------------------------------------------------------------- /OpenCL/inc_luks_xts.cl: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "inc_vendor.h" 7 | #include "inc_types.h" 8 | #include "inc_platform.h" 9 | #include "inc_common.h" 10 | #include "inc_luks_xts.h" 11 | 12 | DECLSPEC void xts_mul2 (PRIVATE_AS u32 *in, PRIVATE_AS u32 *out) 13 | { 14 | const u32 c = in[3] >> 31; 15 | 16 | out[3] = (in[3] << 1) | (in[2] >> 31); 17 | out[2] = (in[2] << 1) | (in[1] >> 31); 18 | out[1] = (in[1] << 1) | (in[0] >> 31); 19 | out[0] = (in[0] << 1); 20 | 21 | out[0] ^= c * 0x87; 22 | } 23 | -------------------------------------------------------------------------------- /rules/hybrid/append_dus_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $0 3 | $1 4 | $2 5 | $3 6 | $4 7 | $5 8 | $6 9 | $7 10 | $8 11 | $9 12 | $A 13 | $B 14 | $C 15 | $D 16 | $E 17 | $F 18 | $G 19 | $H 20 | $I 21 | $J 22 | $K 23 | $L 24 | $M 25 | $N 26 | $O 27 | $P 28 | $Q 29 | $R 30 | $S 31 | $T 32 | $U 33 | $V 34 | $W 35 | $X 36 | $Y 37 | $Z 38 | $ 39 | $! 40 | $" 41 | $# 42 | $$ 43 | $% 44 | $& 45 | $' 46 | $( 47 | $) 48 | $* 49 | $+ 50 | $, 51 | $- 52 | $. 53 | $/ 54 | $: 55 | $; 56 | $< 57 | $= 58 | $> 59 | $? 60 | $@ 61 | $[ 62 | $\ 63 | $] 64 | $^ 65 | $_ 66 | $` 67 | ${ 68 | $| 69 | $} 70 | $~ 71 | -------------------------------------------------------------------------------- /rules/hybrid/append_lds_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $a 3 | $b 4 | $c 5 | $d 6 | $e 7 | $f 8 | $g 9 | $h 10 | $i 11 | $j 12 | $k 13 | $l 14 | $m 15 | $n 16 | $o 17 | $p 18 | $q 19 | $r 20 | $s 21 | $t 22 | $u 23 | $v 24 | $w 25 | $x 26 | $y 27 | $z 28 | $0 29 | $1 30 | $2 31 | $3 32 | $4 33 | $5 34 | $6 35 | $7 36 | $8 37 | $9 38 | $ 39 | $! 40 | $" 41 | $# 42 | $$ 43 | $% 44 | $& 45 | $' 46 | $( 47 | $) 48 | $* 49 | $+ 50 | $, 51 | $- 52 | $. 53 | $/ 54 | $: 55 | $; 56 | $< 57 | $= 58 | $> 59 | $? 60 | $@ 61 | $[ 62 | $\ 63 | $] 64 | $^ 65 | $_ 66 | $` 67 | ${ 68 | $| 69 | $} 70 | $~ 71 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_dus_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^0 3 | ^1 4 | ^2 5 | ^3 6 | ^4 7 | ^5 8 | ^6 9 | ^7 10 | ^8 11 | ^9 12 | ^A 13 | ^B 14 | ^C 15 | ^D 16 | ^E 17 | ^F 18 | ^G 19 | ^H 20 | ^I 21 | ^J 22 | ^K 23 | ^L 24 | ^M 25 | ^N 26 | ^O 27 | ^P 28 | ^Q 29 | ^R 30 | ^S 31 | ^T 32 | ^U 33 | ^V 34 | ^W 35 | ^X 36 | ^Y 37 | ^Z 38 | ^ 39 | ^! 40 | ^" 41 | ^# 42 | ^$ 43 | ^% 44 | ^& 45 | ^' 46 | ^( 47 | ^) 48 | ^* 49 | ^+ 50 | ^, 51 | ^- 52 | ^. 53 | ^/ 54 | ^: 55 | ^; 56 | ^< 57 | ^= 58 | ^> 59 | ^? 60 | ^@ 61 | ^[ 62 | ^\ 63 | ^] 64 | ^^ 65 | ^_ 66 | ^` 67 | ^{ 68 | ^| 69 | ^} 70 | ^~ 71 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_lds_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^a 3 | ^b 4 | ^c 5 | ^d 6 | ^e 7 | ^f 8 | ^g 9 | ^h 10 | ^i 11 | ^j 12 | ^k 13 | ^l 14 | ^m 15 | ^n 16 | ^o 17 | ^p 18 | ^q 19 | ^r 20 | ^s 21 | ^t 22 | ^u 23 | ^v 24 | ^w 25 | ^x 26 | ^y 27 | ^z 28 | ^0 29 | ^1 30 | ^2 31 | ^3 32 | ^4 33 | ^5 34 | ^6 35 | ^7 36 | ^8 37 | ^9 38 | ^ 39 | ^! 40 | ^" 41 | ^# 42 | ^$ 43 | ^% 44 | ^& 45 | ^' 46 | ^( 47 | ^) 48 | ^* 49 | ^+ 50 | ^, 51 | ^- 52 | ^. 53 | ^/ 54 | ^: 55 | ^; 56 | ^< 57 | ^= 58 | ^> 59 | ^? 60 | ^@ 61 | ^[ 62 | ^\ 63 | ^] 64 | ^^ 65 | ^_ 66 | ^` 67 | ^{ 68 | ^| 69 | ^} 70 | ^~ 71 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/Lzma/makefile: -------------------------------------------------------------------------------- 1 | # MY_STATIC_LINK=1 2 | PROG = LZMAc.exe 3 | 4 | CFLAGS = $(CFLAGS) \ 5 | 6 | LIB_OBJS = \ 7 | $O\LzmaUtil.obj \ 8 | 9 | C_OBJS = \ 10 | $O\Alloc.obj \ 11 | $O\LzFind.obj \ 12 | $O\LzFindMt.obj \ 13 | $O\LzmaDec.obj \ 14 | $O\LzmaEnc.obj \ 15 | $O\7zFile.obj \ 16 | $O\7zStream.obj \ 17 | $O\Threads.obj \ 18 | 19 | OBJS = \ 20 | $(LIB_OBJS) \ 21 | $(C_OBJS) \ 22 | 23 | !include "../../../CPP/Build.mak" 24 | 25 | $(LIB_OBJS): $(*B).c 26 | $(COMPL_O2) 27 | $(C_OBJS): ../../$(*B).c 28 | $(COMPL_O2) 29 | -------------------------------------------------------------------------------- /include/stdout.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _STDOUT_H 7 | #define _STDOUT_H 8 | 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | 18 | #if defined (_POSIX) 19 | #include 20 | #include 21 | #endif // _POSIX 22 | 23 | int process_stdout (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, const u64 pws_cnt); 24 | 25 | #endif // _STDOUT_H 26 | -------------------------------------------------------------------------------- /deps/zlib/contrib/iostream3/TODO: -------------------------------------------------------------------------------- 1 | Possible upgrades to gzfilebuf: 2 | 3 | - The ability to do putback (e.g. putbackfail) 4 | 5 | - The ability to seek (zlib supports this, but could be slow/tricky) 6 | 7 | - Simultaneous read/write access (does it make sense?) 8 | 9 | - Support for ios_base::ate open mode 10 | 11 | - Locale support? 12 | 13 | - Check public interface to see which calls give problems 14 | (due to dependence on library internals) 15 | 16 | - Override operator<<(ostream&, gzfilebuf*) to allow direct copying 17 | of stream buffer to stream ( i.e. os << is.rdbuf(); ) 18 | -------------------------------------------------------------------------------- /deps/zlib/contrib/minizip/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS=-O -I../.. 3 | 4 | UNZ_OBJS = miniunz.o unzip.o ioapi.o ../../libz.a 5 | ZIP_OBJS = minizip.o zip.o ioapi.o ../../libz.a 6 | 7 | .c.o: 8 | $(CC) -c $(CFLAGS) $*.c 9 | 10 | all: miniunz minizip 11 | 12 | miniunz: $(UNZ_OBJS) 13 | $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS) 14 | 15 | minizip: $(ZIP_OBJS) 16 | $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS) 17 | 18 | test: miniunz minizip 19 | ./minizip test readme.txt 20 | ./miniunz -l test.zip 21 | mv readme.txt readme.old 22 | ./miniunz test.zip 23 | 24 | clean: 25 | /bin/rm -f *.o *~ minizip miniunz 26 | -------------------------------------------------------------------------------- /include/emu_inc_cipher_aes.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _EMU_INC_CIPHER_AES_H 7 | #define _EMU_INC_CIPHER_AES_H 8 | 9 | #include "emu_general.h" 10 | 11 | #include "inc_vendor.h" 12 | #include "inc_cipher_aes.h" 13 | 14 | extern u32a te0[256]; 15 | extern u32a te1[256]; 16 | extern u32a te2[256]; 17 | extern u32a te3[256]; 18 | extern u32a te4[256]; 19 | 20 | extern u32a td0[256]; 21 | extern u32a td1[256]; 22 | extern u32a td2[256]; 23 | extern u32a td3[256]; 24 | extern u32a td4[256]; 25 | 26 | #endif // _EMU_INC_CIPHER_AES_H 27 | -------------------------------------------------------------------------------- /include/affinity.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _AFFINITY_H 7 | #define _AFFINITY_H 8 | 9 | #include 10 | #include 11 | 12 | #if defined (_POSIX) 13 | #include 14 | #endif // _POSIX 15 | 16 | #if defined (__APPLE__) 17 | #include 18 | #include 19 | #include 20 | #endif // __APPLE__ 21 | 22 | #if defined (_WIN) 23 | #include 24 | #endif // _WIN 25 | 26 | int set_cpu_affinity (hashcat_ctx_t *hashcat_ctx); 27 | 28 | #endif // _AFFINITY_H 29 | -------------------------------------------------------------------------------- /deps/zlib/contrib/ada/zlib.gpr: -------------------------------------------------------------------------------- 1 | project Zlib is 2 | 3 | for Languages use ("Ada"); 4 | for Source_Dirs use ("."); 5 | for Object_Dir use "."; 6 | for Main use ("test.adb", "mtest.adb", "read.adb", "buffer_demo"); 7 | 8 | package Compiler is 9 | for Default_Switches ("ada") use ("-gnatwcfilopru", "-gnatVcdfimorst", "-gnatyabcefhiklmnoprst"); 10 | end Compiler; 11 | 12 | package Linker is 13 | for Default_Switches ("ada") use ("-lz"); 14 | end Linker; 15 | 16 | package Builder is 17 | for Default_Switches ("ada") use ("-s", "-gnatQ"); 18 | end Builder; 19 | 20 | end Zlib; 21 | -------------------------------------------------------------------------------- /include/usage.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _USAGE_H 7 | #define _USAGE_H 8 | 9 | #include 10 | #include 11 | 12 | #if defined (_WIN) 13 | // for getch() 14 | #include 15 | #endif 16 | 17 | typedef struct usage_sort 18 | { 19 | u32 hash_mode; 20 | char *hash_name; 21 | u32 hash_category; 22 | 23 | } usage_sort_t; 24 | 25 | void usage_mini_print (const char *progname); 26 | void usage_big_print (hashcat_ctx_t *hashcat_ctx); 27 | int sort_by_usage (const void *p1, const void *p2); 28 | 29 | #endif // _USAGE_H 30 | -------------------------------------------------------------------------------- /src/emu_general.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #include "common.h" 7 | #include "types.h" 8 | #include "emu_general.h" 9 | 10 | u32 hc_atomic_dec (u32 *p) 11 | { 12 | return p[0]--; 13 | } 14 | 15 | u32 hc_atomic_inc (u32 *p) 16 | { 17 | return p[0]++; 18 | } 19 | 20 | size_t get_global_id (u32 dimindx __attribute__((unused))) 21 | { 22 | return 0; 23 | } 24 | 25 | size_t get_local_id (u32 dimindx __attribute__((unused))) 26 | { 27 | return 0; 28 | } 29 | 30 | size_t get_local_size (u32 dimindx __attribute__((unused))) 31 | { 32 | return 0; 33 | } 34 | -------------------------------------------------------------------------------- /include/dispatch.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _DISPATCH_H 7 | #define _DISPATCH_H 8 | 9 | #ifdef WITH_BRAIN 10 | #if defined (_WIN) 11 | #include 12 | #define SEND_FLAGS 0 13 | #endif 14 | 15 | #if defined (__linux__) 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | #define SEND_FLAGS MSG_NOSIGNAL 22 | #endif 23 | #endif 24 | 25 | HC_API_CALL void *thread_calc_stdin (void *p); 26 | HC_API_CALL void *thread_calc (void *p); 27 | 28 | #endif // _DISPATCH_H 29 | -------------------------------------------------------------------------------- /deps/unrar/isnt.cpp: -------------------------------------------------------------------------------- 1 | #include "rar.hpp" 2 | 3 | #ifdef _WIN_ALL 4 | DWORD WinNT() 5 | { 6 | static int dwPlatformId=-1; 7 | static DWORD dwMajorVersion,dwMinorVersion; 8 | if (dwPlatformId==-1) 9 | { 10 | OSVERSIONINFO WinVer; 11 | WinVer.dwOSVersionInfoSize=sizeof(WinVer); 12 | GetVersionEx(&WinVer); 13 | dwPlatformId=WinVer.dwPlatformId; 14 | dwMajorVersion=WinVer.dwMajorVersion; 15 | dwMinorVersion=WinVer.dwMinorVersion; 16 | } 17 | DWORD Result=0; 18 | if (dwPlatformId==VER_PLATFORM_WIN32_NT) 19 | Result=dwMajorVersion*0x100+dwMinorVersion; 20 | 21 | 22 | return Result; 23 | } 24 | #endif 25 | -------------------------------------------------------------------------------- /deps/zlib/contrib/iostream/test.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "zfstream.h" 3 | 4 | int main() { 5 | 6 | // Construct a stream object with this filebuffer. Anything sent 7 | // to this stream will go to standard out. 8 | gzofstream os( 1, ios::out ); 9 | 10 | // This text is getting compressed and sent to stdout. 11 | // To prove this, run 'test | zcat'. 12 | os << "Hello, Mommy" << endl; 13 | 14 | os << setcompressionlevel( Z_NO_COMPRESSION ); 15 | os << "hello, hello, hi, ho!" << endl; 16 | 17 | setcompressionlevel( os, Z_DEFAULT_COMPRESSION ) 18 | << "I'm compressing again" << endl; 19 | 20 | os.close(); 21 | 22 | return 0; 23 | 24 | } 25 | -------------------------------------------------------------------------------- /OpenCL/inc_cipher_kuznyechik.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _INC_CIPHER_KUZNYECHIK_H 7 | #define _INC_CIPHER_KUZNYECHIK_H 8 | 9 | DECLSPEC void kuznyechik_linear (PRIVATE_AS u32 *w); 10 | DECLSPEC void kuznyechik_linear_inv (PRIVATE_AS u32 *w); 11 | DECLSPEC void kuznyechik_set_key (PRIVATE_AS u32 *ks, PRIVATE_AS const u32 *ukey); 12 | DECLSPEC void kuznyechik_encrypt (PRIVATE_AS const u32 *ks, PRIVATE_AS const u32 *in, PRIVATE_AS u32 *out); 13 | DECLSPEC void kuznyechik_decrypt (PRIVATE_AS const u32 *ks, PRIVATE_AS const u32 *in, PRIVATE_AS u32 *out); 14 | 15 | #endif // _INC_CIPHER_KUZNYECHIK_H 16 | -------------------------------------------------------------------------------- /include/hlfmt.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _HLFMT_H 7 | #define _HLFMT_H 8 | 9 | #include 10 | 11 | #define HLFMTS_CNT 11 12 | 13 | const char *strhlfmt (const u32 hashfile_format); 14 | 15 | void hlfmt_hash (hashcat_ctx_t *hashcat_ctx, u32 hashfile_format, char *line_buf, const int line_len, char **hashbuf_pos, int *hashbuf_len); 16 | void hlfmt_user (hashcat_ctx_t *hashcat_ctx, u32 hashfile_format, char *line_buf, const int line_len, char **userbuf_pos, int *userbuf_len); 17 | 18 | u32 hlfmt_detect (hashcat_ctx_t *hashcat_ctx, HCFILE *fp, u32 max_check); 19 | 20 | #endif // _HLFMT_H 21 | -------------------------------------------------------------------------------- /include/ext_lzma.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _EXT_LZMA_H 7 | #define _EXT_LZMA_H 8 | 9 | #include 10 | #include 11 | 12 | #include "minizip/unzip.h" 13 | 14 | int hc_lzma1_decompress (const unsigned char *in, SizeT *in_len, unsigned char *out, SizeT *out_len, const char *props); 15 | int hc_lzma2_decompress (const unsigned char *in, SizeT *in_len, unsigned char *out, SizeT *out_len, const char *props); 16 | 17 | void *hc_lzma_alloc (MAYBE_UNUSED ISzAllocPtr p, size_t size); 18 | void hc_lzma_free (MAYBE_UNUSED ISzAllocPtr p, void *address); 19 | 20 | #endif // _EXT_LZMA_H 21 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/7z/7z.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "7z"=.\7z.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /rules/hybrid/append_lus.rule: -------------------------------------------------------------------------------- 1 | $a 2 | $b 3 | $c 4 | $d 5 | $e 6 | $f 7 | $g 8 | $h 9 | $i 10 | $j 11 | $k 12 | $l 13 | $m 14 | $n 15 | $o 16 | $p 17 | $q 18 | $r 19 | $s 20 | $t 21 | $u 22 | $v 23 | $w 24 | $x 25 | $y 26 | $z 27 | $A 28 | $B 29 | $C 30 | $D 31 | $E 32 | $F 33 | $G 34 | $H 35 | $I 36 | $J 37 | $K 38 | $L 39 | $M 40 | $N 41 | $O 42 | $P 43 | $Q 44 | $R 45 | $S 46 | $T 47 | $U 48 | $V 49 | $W 50 | $X 51 | $Y 52 | $Z 53 | $ 54 | $! 55 | $" 56 | $# 57 | $$ 58 | $% 59 | $& 60 | $' 61 | $( 62 | $) 63 | $* 64 | $+ 65 | $, 66 | $- 67 | $. 68 | $/ 69 | $: 70 | $; 71 | $< 72 | $= 73 | $> 74 | $? 75 | $@ 76 | $[ 77 | $\ 78 | $] 79 | $^ 80 | $_ 81 | $` 82 | ${ 83 | $| 84 | $} 85 | $~ 86 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_lus.rule: -------------------------------------------------------------------------------- 1 | ^a 2 | ^b 3 | ^c 4 | ^d 5 | ^e 6 | ^f 7 | ^g 8 | ^h 9 | ^i 10 | ^j 11 | ^k 12 | ^l 13 | ^m 14 | ^n 15 | ^o 16 | ^p 17 | ^q 18 | ^r 19 | ^s 20 | ^t 21 | ^u 22 | ^v 23 | ^w 24 | ^x 25 | ^y 26 | ^z 27 | ^A 28 | ^B 29 | ^C 30 | ^D 31 | ^E 32 | ^F 33 | ^G 34 | ^H 35 | ^I 36 | ^J 37 | ^K 38 | ^L 39 | ^M 40 | ^N 41 | ^O 42 | ^P 43 | ^Q 44 | ^R 45 | ^S 46 | ^T 47 | ^U 48 | ^V 49 | ^W 50 | ^X 51 | ^Y 52 | ^Z 53 | ^ 54 | ^! 55 | ^" 56 | ^# 57 | ^$ 58 | ^% 59 | ^& 60 | ^' 61 | ^( 62 | ^) 63 | ^* 64 | ^+ 65 | ^, 66 | ^- 67 | ^. 68 | ^/ 69 | ^: 70 | ^; 71 | ^< 72 | ^= 73 | ^> 74 | ^? 75 | ^@ 76 | ^[ 77 | ^\ 78 | ^] 79 | ^^ 80 | ^_ 81 | ^` 82 | ^{ 83 | ^| 84 | ^} 85 | ^~ 86 | -------------------------------------------------------------------------------- /docs/status_codes.txt: -------------------------------------------------------------------------------- 1 | status codes on exit: 2 | ===================== 3 | 4 | -10 = autotune failure 5 | -9 = mixed backend errors (combo of -3, -4, -5, -6, -7 errors type) 6 | -8 = backend error: Invalid module_extra_buffer_size 7 | -7 = backend error: Too many compute units to keep minimum kernel accel limit 8 | -6 = backend error: kernel create error 9 | -5 = backend error: main kernel build error 10 | -4 = backend error: memory hit 11 | -3 = backend error: skipping hash-type due to module_unstable_warning settings 12 | -2 = gpu-watchdog alarm 13 | -1 = error 14 | 0 = OK/cracked 15 | 1 = exhausted 16 | 2 = aborted 17 | 3 = aborted by checkpoint 18 | 4 = aborted by runtime 19 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/Lzma/LzmaUtil.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "LzmaUtil"=.\LzmaUtil.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/LzmaLib/LzmaLib.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "LzmaLib"=.\LzmaLib.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /include/restore.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _RESTORE_H 7 | #define _RESTORE_H 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | #if defined (_WIN) 14 | #include 15 | #include 16 | #endif // _WIN 17 | 18 | #define RESTORE_VERSION_MIN 600 19 | #define RESTORE_VERSION_CUR 611 20 | 21 | int cycle_restore (hashcat_ctx_t *hashcat_ctx); 22 | 23 | void unlink_restore (hashcat_ctx_t *hashcat_ctx); 24 | 25 | int restore_ctx_init (hashcat_ctx_t *hashcat_ctx, int argc, char **argv); 26 | 27 | void restore_ctx_destroy (hashcat_ctx_t *hashcat_ctx); 28 | 29 | #endif // _RESTORE_H 30 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/SfxSetup/SfxSetup.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "SfxSetup"=.\SfxSetup.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /rules/hybrid/append_lus_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $a 3 | $b 4 | $c 5 | $d 6 | $e 7 | $f 8 | $g 9 | $h 10 | $i 11 | $j 12 | $k 13 | $l 14 | $m 15 | $n 16 | $o 17 | $p 18 | $q 19 | $r 20 | $s 21 | $t 22 | $u 23 | $v 24 | $w 25 | $x 26 | $y 27 | $z 28 | $A 29 | $B 30 | $C 31 | $D 32 | $E 33 | $F 34 | $G 35 | $H 36 | $I 37 | $J 38 | $K 39 | $L 40 | $M 41 | $N 42 | $O 43 | $P 44 | $Q 45 | $R 46 | $S 47 | $T 48 | $U 49 | $V 50 | $W 51 | $X 52 | $Y 53 | $Z 54 | $ 55 | $! 56 | $" 57 | $# 58 | $$ 59 | $% 60 | $& 61 | $' 62 | $( 63 | $) 64 | $* 65 | $+ 66 | $, 67 | $- 68 | $. 69 | $/ 70 | $: 71 | $; 72 | $< 73 | $= 74 | $> 75 | $? 76 | $@ 77 | $[ 78 | $\ 79 | $] 80 | $^ 81 | $_ 82 | $` 83 | ${ 84 | $| 85 | $} 86 | $~ 87 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_lus_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^a 3 | ^b 4 | ^c 5 | ^d 6 | ^e 7 | ^f 8 | ^g 9 | ^h 10 | ^i 11 | ^j 12 | ^k 13 | ^l 14 | ^m 15 | ^n 16 | ^o 17 | ^p 18 | ^q 19 | ^r 20 | ^s 21 | ^t 22 | ^u 23 | ^v 24 | ^w 25 | ^x 26 | ^y 27 | ^z 28 | ^A 29 | ^B 30 | ^C 31 | ^D 32 | ^E 33 | ^F 34 | ^G 35 | ^H 36 | ^I 37 | ^J 38 | ^K 39 | ^L 40 | ^M 41 | ^N 42 | ^O 43 | ^P 44 | ^Q 45 | ^R 46 | ^S 47 | ^T 48 | ^U 49 | ^V 50 | ^W 51 | ^X 52 | ^Y 53 | ^Z 54 | ^ 55 | ^! 56 | ^" 57 | ^# 58 | ^$ 59 | ^% 60 | ^& 61 | ^' 62 | ^( 63 | ^) 64 | ^* 65 | ^+ 66 | ^, 67 | ^- 68 | ^. 69 | ^/ 70 | ^: 71 | ^; 72 | ^< 73 | ^= 74 | ^> 75 | ^? 76 | ^@ 77 | ^[ 78 | ^\ 79 | ^] 80 | ^^ 81 | ^_ 82 | ^` 83 | ^{ 84 | ^| 85 | ^} 86 | ^~ 87 | -------------------------------------------------------------------------------- /tools/pdf_tests/_README.txt: -------------------------------------------------------------------------------- 1 | Test files for pdf kernels 2 | 3 | Didn't use hashcat as password as pdf files/a single pdf hash can 4 | have two passwords, based on the u-value and o-value. 5 | https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/pdf_reference_archives/PDFReference.pdf 6 | 7 | The user-password (to open the file is): user 8 | The owner-password (to e.g. restrict printing is): owner 9 | 10 | We have files with and without the "_userpw-in-hash" prefix, 11 | this is to accommodate tests for 25400, which needs the user-password 12 | to calculate the o-value. The user-password is used when no owner-password is set. 13 | 14 | The pdf files have been made with Adobe Acrobat Pro DC version 2015.007.20003 -------------------------------------------------------------------------------- /include/keyboard_layout.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _KEYBOARD_LAYOUT_H 7 | #define _KEYBOARD_LAYOUT_H 8 | 9 | bool initialize_keyboard_layout_mapping (const char *filename, keyboard_layout_mapping_t *keyboard_layout_mapping, int *keyboard_layout_mapping_cnt); 10 | int find_keyboard_layout_map (const u32 search, const int search_len, const keyboard_layout_mapping_t *s_keyboard_layout_mapping, const int keyboard_layout_mapping_cnt); 11 | int execute_keyboard_layout_mapping (u32 plain_buf[64], const int plain_len, const keyboard_layout_mapping_t *s_keyboard_layout_mapping, const int keyboard_layout_mapping_cnt); 12 | 13 | #endif // _KEYBOARD_LAYOUT_H 14 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/7z/makefile.gcc: -------------------------------------------------------------------------------- 1 | PROG = 7zdec 2 | 3 | LOCAL_FLAGS = -D_7ZIP_PPMD_SUPPPORT 4 | 5 | include ../../../CPP/7zip/LzmaDec_gcc.mak 6 | 7 | 8 | OBJS = \ 9 | $(LZMA_DEC_OPT_OBJS) \ 10 | $O/Bcj2.o \ 11 | $O/Bra.o \ 12 | $O/Bra86.o \ 13 | $O/BraIA64.o \ 14 | $O/CpuArch.o \ 15 | $O/Delta.o \ 16 | $O/Lzma2Dec.o \ 17 | $O/LzmaDec.o \ 18 | $O/Ppmd7.o \ 19 | $O/Ppmd7Dec.o \ 20 | $O/7zCrc.o \ 21 | $O/7zCrcOpt.o \ 22 | $O/Sha256.o \ 23 | $O/Sha256Opt.o \ 24 | $O/7zAlloc.o \ 25 | $O/7zArcIn.o \ 26 | $O/7zBuf.o \ 27 | $O/7zBuf2.o \ 28 | $O/7zDec.o \ 29 | $O/7zMain.o \ 30 | $O/7zFile.o \ 31 | $O/7zStream.o \ 32 | 33 | 34 | include ../../7zip_gcc_c.mak 35 | -------------------------------------------------------------------------------- /OpenCL/inc_cipher_camellia.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _INC_CIPHER_CAMELLIA_H 7 | #define _INC_CIPHER_CAMELLIA_H 8 | 9 | DECLSPEC void cam_feistel (PRIVATE_AS const u32 *x, PRIVATE_AS const u32 *k, PRIVATE_AS u32 *y); 10 | DECLSPEC void cam_fl (PRIVATE_AS u32 *x, PRIVATE_AS const u32 *kl, PRIVATE_AS const u32 *kr); 11 | DECLSPEC void camellia256_set_key (PRIVATE_AS u32 *ks, PRIVATE_AS const u32 *ukey); 12 | DECLSPEC void camellia256_encrypt (PRIVATE_AS const u32 *ks, PRIVATE_AS const u32 *in, PRIVATE_AS u32 *out); 13 | DECLSPEC void camellia256_decrypt (PRIVATE_AS const u32 *ks, PRIVATE_AS const u32 *in, PRIVATE_AS u32 *out); 14 | 15 | #endif // _INC_CIPHER_CAMELLIA_H 16 | -------------------------------------------------------------------------------- /deps/unrar/coder.hpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * Contents: 'Carryless rangecoder' by Dmitry Subbotin * 3 | ****************************************************************************/ 4 | 5 | 6 | class RangeCoder 7 | { 8 | public: 9 | void InitDecoder(Unpack *UnpackRead); 10 | inline int GetCurrentCount(); 11 | inline uint GetCurrentShiftCount(uint SHIFT); 12 | inline void Decode(); 13 | inline void PutChar(unsigned int c); 14 | inline unsigned int GetChar(); 15 | 16 | uint low, code, range; 17 | struct SUBRANGE 18 | { 19 | uint LowCount, HighCount, scale; 20 | } SubRange; 21 | 22 | Unpack *UnpackRead; 23 | }; 24 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/7zBuf.c: -------------------------------------------------------------------------------- 1 | /* 7zBuf.c -- Byte Buffer 2 | 2017-04-03 : Igor Pavlov : Public domain */ 3 | 4 | #include "Precomp.h" 5 | 6 | #include "7zBuf.h" 7 | 8 | void Buf_Init(CBuf *p) 9 | { 10 | p->data = 0; 11 | p->size = 0; 12 | } 13 | 14 | int Buf_Create(CBuf *p, size_t size, ISzAllocPtr alloc) 15 | { 16 | p->size = 0; 17 | if (size == 0) 18 | { 19 | p->data = 0; 20 | return 1; 21 | } 22 | p->data = (Byte *)ISzAlloc_Alloc(alloc, size); 23 | if (p->data) 24 | { 25 | p->size = size; 26 | return 1; 27 | } 28 | return 0; 29 | } 30 | 31 | void Buf_Free(CBuf *p, ISzAllocPtr alloc) 32 | { 33 | ISzAlloc_Free(alloc, p->data); 34 | p->data = 0; 35 | p->size = 0; 36 | } 37 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/LzmaLib/makefile: -------------------------------------------------------------------------------- 1 | MY_STATIC_LINK=1 2 | SLIB = sLZMA.lib 3 | PROG = LZMA.dll 4 | SLIBPATH = $O\$(SLIB) 5 | 6 | DEF_FILE = LzmaLib.def 7 | CFLAGS = $(CFLAGS) \ 8 | 9 | LIB_OBJS = \ 10 | $O\LzmaLibExports.obj \ 11 | 12 | C_OBJS = \ 13 | $O\Alloc.obj \ 14 | $O\LzFind.obj \ 15 | $O\LzFindMt.obj \ 16 | $O\LzmaDec.obj \ 17 | $O\LzmaEnc.obj \ 18 | $O\LzmaLib.obj \ 19 | $O\Threads.obj \ 20 | 21 | OBJS = \ 22 | $(LIB_OBJS) \ 23 | $(C_OBJS) \ 24 | $O\resource.res 25 | 26 | !include "../../../CPP/Build.mak" 27 | 28 | $(SLIBPATH): $O $(OBJS) 29 | lib -out:$(SLIBPATH) $(OBJS) $(LIBS) 30 | 31 | $(LIB_OBJS): $(*B).c 32 | $(COMPL_O2) 33 | $(C_OBJS): ../../$(*B).c 34 | $(COMPL_O2) 35 | -------------------------------------------------------------------------------- /deps/xxHash/.gitignore: -------------------------------------------------------------------------------- 1 | # objects 2 | *.o 3 | *.obj 4 | *.s 5 | 6 | # libraries 7 | libxxhash.* 8 | !libxxhash.pc.in 9 | 10 | # Executables 11 | *.exe 12 | xxh32sum 13 | xxh64sum 14 | xxh128sum 15 | xxhsum 16 | xxhsum32 17 | xxhsum_privateXXH 18 | xxhsum_inlinedXXH 19 | dispatch 20 | tests/generate_unicode_test 21 | 22 | # compilation chain 23 | .clang_complete 24 | 25 | # Mac OS-X artefacts 26 | *.dSYM 27 | .DS_Store 28 | 29 | # Wasm / emcc / emscripten artefacts 30 | *.html 31 | *.wasm 32 | *.js 33 | 34 | # CMake build directories 35 | build*/ 36 | 37 | # project managers artifacts 38 | .projectile 39 | 40 | # analyzer artifacts 41 | infer-out 42 | 43 | # test artifacts 44 | .test* 45 | tmp* 46 | tests/*.unicode 47 | tests/unicode_test* 48 | -------------------------------------------------------------------------------- /OpenCL/m02000_a0-optimized.cl: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifdef KERNEL_STATIC 7 | #include M2S(INCLUDE_PATH/inc_vendor.h) 8 | #include M2S(INCLUDE_PATH/inc_types.h) 9 | #include M2S(INCLUDE_PATH/inc_platform.cl) 10 | #include M2S(INCLUDE_PATH/inc_common.cl) 11 | #endif 12 | 13 | KERNEL_FQ void m02000_m04 (KERN_ATTR_RULES ()) 14 | { 15 | } 16 | 17 | KERNEL_FQ void m02000_m08 (KERN_ATTR_RULES ()) 18 | { 19 | } 20 | 21 | KERNEL_FQ void m02000_m16 (KERN_ATTR_RULES ()) 22 | { 23 | } 24 | 25 | KERNEL_FQ void m02000_s04 (KERN_ATTR_RULES ()) 26 | { 27 | } 28 | 29 | KERNEL_FQ void m02000_s08 (KERN_ATTR_RULES ()) 30 | { 31 | } 32 | 33 | KERNEL_FQ void m02000_s16 (KERN_ATTR_RULES ()) 34 | { 35 | } 36 | -------------------------------------------------------------------------------- /OpenCL/m02000_a1-optimized.cl: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifdef KERNEL_STATIC 7 | #include M2S(INCLUDE_PATH/inc_vendor.h) 8 | #include M2S(INCLUDE_PATH/inc_types.h) 9 | #include M2S(INCLUDE_PATH/inc_platform.cl) 10 | #include M2S(INCLUDE_PATH/inc_common.cl) 11 | #endif 12 | 13 | KERNEL_FQ void m02000_m04 (KERN_ATTR_BASIC ()) 14 | { 15 | } 16 | 17 | KERNEL_FQ void m02000_m08 (KERN_ATTR_BASIC ()) 18 | { 19 | } 20 | 21 | KERNEL_FQ void m02000_m16 (KERN_ATTR_BASIC ()) 22 | { 23 | } 24 | 25 | KERNEL_FQ void m02000_s04 (KERN_ATTR_BASIC ()) 26 | { 27 | } 28 | 29 | KERNEL_FQ void m02000_s08 (KERN_ATTR_BASIC ()) 30 | { 31 | } 32 | 33 | KERNEL_FQ void m02000_s16 (KERN_ATTR_BASIC ()) 34 | { 35 | } 36 | -------------------------------------------------------------------------------- /OpenCL/m02000_a3-optimized.cl: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifdef KERNEL_STATIC 7 | #include M2S(INCLUDE_PATH/inc_vendor.h) 8 | #include M2S(INCLUDE_PATH/inc_types.h) 9 | #include M2S(INCLUDE_PATH/inc_platform.cl) 10 | #include M2S(INCLUDE_PATH/inc_common.cl) 11 | #endif 12 | 13 | KERNEL_FQ void m02000_m04 (KERN_ATTR_BASIC ()) 14 | { 15 | } 16 | 17 | KERNEL_FQ void m02000_m08 (KERN_ATTR_BASIC ()) 18 | { 19 | } 20 | 21 | KERNEL_FQ void m02000_m16 (KERN_ATTR_BASIC ()) 22 | { 23 | } 24 | 25 | KERNEL_FQ void m02000_s04 (KERN_ATTR_BASIC ()) 26 | { 27 | } 28 | 29 | KERNEL_FQ void m02000_s08 (KERN_ATTR_BASIC ()) 30 | { 31 | } 32 | 33 | KERNEL_FQ void m02000_s16 (KERN_ATTR_BASIC ()) 34 | { 35 | } 36 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/7zCrc.h: -------------------------------------------------------------------------------- 1 | /* 7zCrc.h -- CRC32 calculation 2 | 2013-01-18 : Igor Pavlov : Public domain */ 3 | 4 | #ifndef __7Z_CRC_H 5 | #define __7Z_CRC_H 6 | 7 | #include "7zTypes.h" 8 | 9 | EXTERN_C_BEGIN 10 | 11 | extern UInt32 g_CrcTable[]; 12 | 13 | /* Call CrcGenerateTable one time before other CRC functions */ 14 | void MY_FAST_CALL CrcGenerateTable(void); 15 | 16 | #define CRC_INIT_VAL 0xFFFFFFFF 17 | #define CRC_GET_DIGEST(crc) ((crc) ^ CRC_INIT_VAL) 18 | #define CRC_UPDATE_BYTE(crc, b) (g_CrcTable[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8)) 19 | 20 | UInt32 MY_FAST_CALL CrcUpdate(UInt32 crc, const void *data, size_t size); 21 | UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size); 22 | 23 | EXTERN_C_END 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /rules/hybrid/append_ldus.rule: -------------------------------------------------------------------------------- 1 | $a 2 | $b 3 | $c 4 | $d 5 | $e 6 | $f 7 | $g 8 | $h 9 | $i 10 | $j 11 | $k 12 | $l 13 | $m 14 | $n 15 | $o 16 | $p 17 | $q 18 | $r 19 | $s 20 | $t 21 | $u 22 | $v 23 | $w 24 | $x 25 | $y 26 | $z 27 | $0 28 | $1 29 | $2 30 | $3 31 | $4 32 | $5 33 | $6 34 | $7 35 | $8 36 | $9 37 | $A 38 | $B 39 | $C 40 | $D 41 | $E 42 | $F 43 | $G 44 | $H 45 | $I 46 | $J 47 | $K 48 | $L 49 | $M 50 | $N 51 | $O 52 | $P 53 | $Q 54 | $R 55 | $S 56 | $T 57 | $U 58 | $V 59 | $W 60 | $X 61 | $Y 62 | $Z 63 | $ 64 | $! 65 | $" 66 | $# 67 | $$ 68 | $% 69 | $& 70 | $' 71 | $( 72 | $) 73 | $* 74 | $+ 75 | $, 76 | $- 77 | $. 78 | $/ 79 | $: 80 | $; 81 | $< 82 | $= 83 | $> 84 | $? 85 | $@ 86 | $[ 87 | $\ 88 | $] 89 | $^ 90 | $_ 91 | $` 92 | ${ 93 | $| 94 | $} 95 | $~ 96 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_ldus.rule: -------------------------------------------------------------------------------- 1 | ^a 2 | ^b 3 | ^c 4 | ^d 5 | ^e 6 | ^f 7 | ^g 8 | ^h 9 | ^i 10 | ^j 11 | ^k 12 | ^l 13 | ^m 14 | ^n 15 | ^o 16 | ^p 17 | ^q 18 | ^r 19 | ^s 20 | ^t 21 | ^u 22 | ^v 23 | ^w 24 | ^x 25 | ^y 26 | ^z 27 | ^0 28 | ^1 29 | ^2 30 | ^3 31 | ^4 32 | ^5 33 | ^6 34 | ^7 35 | ^8 36 | ^9 37 | ^A 38 | ^B 39 | ^C 40 | ^D 41 | ^E 42 | ^F 43 | ^G 44 | ^H 45 | ^I 46 | ^J 47 | ^K 48 | ^L 49 | ^M 50 | ^N 51 | ^O 52 | ^P 53 | ^Q 54 | ^R 55 | ^S 56 | ^T 57 | ^U 58 | ^V 59 | ^W 60 | ^X 61 | ^Y 62 | ^Z 63 | ^ 64 | ^! 65 | ^" 66 | ^# 67 | ^$ 68 | ^% 69 | ^& 70 | ^' 71 | ^( 72 | ^) 73 | ^* 74 | ^+ 75 | ^, 76 | ^- 77 | ^. 78 | ^/ 79 | ^: 80 | ^; 81 | ^< 82 | ^= 83 | ^> 84 | ^? 85 | ^@ 86 | ^[ 87 | ^\ 88 | ^] 89 | ^^ 90 | ^_ 91 | ^` 92 | ^{ 93 | ^| 94 | ^} 95 | ^~ 96 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/XzCrc64.h: -------------------------------------------------------------------------------- 1 | /* XzCrc64.h -- CRC64 calculation 2 | 2013-01-18 : Igor Pavlov : Public domain */ 3 | 4 | #ifndef __XZ_CRC64_H 5 | #define __XZ_CRC64_H 6 | 7 | #include 8 | 9 | #include "7zTypes.h" 10 | 11 | EXTERN_C_BEGIN 12 | 13 | extern UInt64 g_Crc64Table[]; 14 | 15 | void MY_FAST_CALL Crc64GenerateTable(void); 16 | 17 | #define CRC64_INIT_VAL UINT64_CONST(0xFFFFFFFFFFFFFFFF) 18 | #define CRC64_GET_DIGEST(crc) ((crc) ^ CRC64_INIT_VAL) 19 | #define CRC64_UPDATE_BYTE(crc, b) (g_Crc64Table[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8)) 20 | 21 | UInt64 MY_FAST_CALL Crc64Update(UInt64 crc, const void *data, size_t size); 22 | UInt64 MY_FAST_CALL Crc64Calc(const void *data, size_t size); 23 | 24 | EXTERN_C_END 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /include/emu_general.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _CPU_OPENCL_EMU_H 7 | #define _CPU_OPENCL_EMU_H 8 | 9 | #define DEVICE_TYPE -1 10 | #define VENDOR_ID -1 11 | #define LOCAL_MEM_TYPE 2 12 | #define CUDA_ARCH 0 13 | #define HAS_VPERM 0 14 | #define HAS_VADD3 0 15 | #define HAS_VBFE 0 16 | #define VECT_SIZE 1 17 | 18 | #ifdef DGST_ELEM 19 | typedef struct digest 20 | { 21 | u32 digest_buf[DGST_ELEM]; 22 | 23 | } digest_t; 24 | #endif 25 | 26 | size_t get_global_id (u32 dimindx __attribute__((unused))); 27 | size_t get_local_id (u32 dimindx __attribute__((unused))); 28 | size_t get_local_size (u32 dimindx __attribute__((unused))); 29 | 30 | #endif // _CPU_OPENCL_EMU_H 31 | -------------------------------------------------------------------------------- /include/loopback.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _LOOPBACK_H 7 | #define _LOOPBACK_H 8 | 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | static const char LOOPBACK_FILE[] = "hashcat.loopback"; 15 | 16 | int loopback_init (hashcat_ctx_t *hashcat_ctx); 17 | void loopback_destroy (hashcat_ctx_t *hashcat_ctx); 18 | int loopback_write_open (hashcat_ctx_t *hashcat_ctx); 19 | void loopback_write_close (hashcat_ctx_t *hashcat_ctx); 20 | void loopback_write_append (hashcat_ctx_t *hashcat_ctx, const u8 *plain_ptr, const unsigned int plain_len); 21 | void loopback_write_unlink (hashcat_ctx_t *hashcat_ctx); 22 | 23 | #endif // _LOOPBACK_H 24 | -------------------------------------------------------------------------------- /deps/unrar/raros.hpp: -------------------------------------------------------------------------------- 1 | #ifndef _RAR_RAROS_ 2 | #define _RAR_RAROS_ 3 | 4 | #ifdef __EMX__ 5 | #define _EMX 6 | #endif 7 | 8 | #ifdef __DJGPP__ 9 | #define _DJGPP 10 | #define _EMX 11 | #endif 12 | 13 | #if defined(__WIN32__) || defined(_WIN32) 14 | #define _WIN_ALL // Defined for all Windows platforms, 32 and 64 bit, mobile and desktop. 15 | #ifdef _M_X64 16 | #define _WIN_64 17 | #else 18 | #define _WIN_32 19 | #endif 20 | #endif 21 | 22 | #if defined(ANDROID) || defined(__ANDROID__) 23 | #define _UNIX 24 | #define _ANDROID 25 | #endif 26 | 27 | #ifdef __APPLE__ 28 | #define _UNIX 29 | #define _APPLE 30 | #endif 31 | 32 | #if !defined(_EMX) && !defined(_WIN_ALL) && !defined(_BEOS) && !defined(_APPLE) 33 | #define _UNIX 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /rules/hybrid/append_ldus_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | $a 3 | $b 4 | $c 5 | $d 6 | $e 7 | $f 8 | $g 9 | $h 10 | $i 11 | $j 12 | $k 13 | $l 14 | $m 15 | $n 16 | $o 17 | $p 18 | $q 19 | $r 20 | $s 21 | $t 22 | $u 23 | $v 24 | $w 25 | $x 26 | $y 27 | $z 28 | $0 29 | $1 30 | $2 31 | $3 32 | $4 33 | $5 34 | $6 35 | $7 36 | $8 37 | $9 38 | $A 39 | $B 40 | $C 41 | $D 42 | $E 43 | $F 44 | $G 45 | $H 46 | $I 47 | $J 48 | $K 49 | $L 50 | $M 51 | $N 52 | $O 53 | $P 54 | $Q 55 | $R 56 | $S 57 | $T 58 | $U 59 | $V 60 | $W 61 | $X 62 | $Y 63 | $Z 64 | $ 65 | $! 66 | $" 67 | $# 68 | $$ 69 | $% 70 | $& 71 | $' 72 | $( 73 | $) 74 | $* 75 | $+ 76 | $, 77 | $- 78 | $. 79 | $/ 80 | $: 81 | $; 82 | $< 83 | $= 84 | $> 85 | $? 86 | $@ 87 | $[ 88 | $\ 89 | $] 90 | $^ 91 | $_ 92 | $` 93 | ${ 94 | $| 95 | $} 96 | $~ 97 | -------------------------------------------------------------------------------- /rules/hybrid/prepend_ldus_passthrough.rule: -------------------------------------------------------------------------------- 1 | : 2 | ^a 3 | ^b 4 | ^c 5 | ^d 6 | ^e 7 | ^f 8 | ^g 9 | ^h 10 | ^i 11 | ^j 12 | ^k 13 | ^l 14 | ^m 15 | ^n 16 | ^o 17 | ^p 18 | ^q 19 | ^r 20 | ^s 21 | ^t 22 | ^u 23 | ^v 24 | ^w 25 | ^x 26 | ^y 27 | ^z 28 | ^0 29 | ^1 30 | ^2 31 | ^3 32 | ^4 33 | ^5 34 | ^6 35 | ^7 36 | ^8 37 | ^9 38 | ^A 39 | ^B 40 | ^C 41 | ^D 42 | ^E 43 | ^F 44 | ^G 45 | ^H 46 | ^I 47 | ^J 48 | ^K 49 | ^L 50 | ^M 51 | ^N 52 | ^O 53 | ^P 54 | ^Q 55 | ^R 56 | ^S 57 | ^T 58 | ^U 59 | ^V 60 | ^W 61 | ^X 62 | ^Y 63 | ^Z 64 | ^ 65 | ^! 66 | ^" 67 | ^# 68 | ^$ 69 | ^% 70 | ^& 71 | ^' 72 | ^( 73 | ^) 74 | ^* 75 | ^+ 76 | ^, 77 | ^- 78 | ^. 79 | ^/ 80 | ^: 81 | ^; 82 | ^< 83 | ^= 84 | ^> 85 | ^? 86 | ^@ 87 | ^[ 88 | ^\ 89 | ^] 90 | ^^ 91 | ^_ 92 | ^` 93 | ^{ 94 | ^| 95 | ^} 96 | ^~ 97 | -------------------------------------------------------------------------------- /deps/zlib/gzclose.c: -------------------------------------------------------------------------------- 1 | /* gzclose.c -- zlib gzclose() function 2 | * Copyright (C) 2004, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | #include "gzguts.h" 7 | 8 | /* gzclose() is in a separate file so that it is linked in only if it is used. 9 | That way the other gzclose functions can be used instead to avoid linking in 10 | unneeded compression or decompression routines. */ 11 | int ZEXPORT gzclose(file) 12 | gzFile file; 13 | { 14 | #ifndef NO_GZCOMPRESS 15 | gz_statep state; 16 | 17 | if (file == NULL) 18 | return Z_STREAM_ERROR; 19 | state = (gz_statep)file; 20 | 21 | return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file); 22 | #else 23 | return gzclose_r(file); 24 | #endif 25 | } 26 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/Util/SfxSetup/makefile: -------------------------------------------------------------------------------- 1 | PROG = 7zS2.sfx 2 | MY_FIXED = 1 3 | 4 | C_OBJS = \ 5 | $O\7zAlloc.obj \ 6 | $O\7zArcIn.obj \ 7 | $O\7zBuf.obj \ 8 | $O\7zBuf2.obj \ 9 | $O\7zCrc.obj \ 10 | $O\7zCrcOpt.obj \ 11 | $O\7zFile.obj \ 12 | $O\7zDec.obj \ 13 | $O\7zStream.obj \ 14 | $O\Bcj2.obj \ 15 | $O\Bra.obj \ 16 | $O\Bra86.obj \ 17 | $O\BraIA64.obj \ 18 | $O\CpuArch.obj \ 19 | $O\Delta.obj \ 20 | $O\DllSecur.obj \ 21 | $O\Lzma2Dec.obj \ 22 | $O\LzmaDec.obj \ 23 | 24 | 7Z_OBJS = \ 25 | $O\SfxSetup.obj \ 26 | 27 | OBJS = \ 28 | $(7Z_OBJS) \ 29 | $(C_OBJS) \ 30 | $O\resource.res 31 | 32 | !include "../../../CPP/Build.mak" 33 | 34 | $(7Z_OBJS): $(*B).c 35 | $(COMPL_O1) 36 | $(C_OBJS): ../../$(*B).c 37 | $(COMPL_O1) 38 | -------------------------------------------------------------------------------- /deps/unrar/options.cpp: -------------------------------------------------------------------------------- 1 | #include "rar.hpp" 2 | 3 | RAROptions::RAROptions() 4 | { 5 | Init(); 6 | } 7 | 8 | 9 | RAROptions::~RAROptions() 10 | { 11 | // It is important for security reasons, so we do not have the unnecessary 12 | // password data left in memory. 13 | memset(this,0,sizeof(RAROptions)); 14 | } 15 | 16 | 17 | void RAROptions::Init() 18 | { 19 | memset(this,0,sizeof(RAROptions)); 20 | WinSize=0x2000000; 21 | Overwrite=OVERWRITE_DEFAULT; 22 | Method=3; 23 | MsgStream=MSG_STDOUT; 24 | ConvertNames=NAMES_ORIGINALCASE; 25 | xmtime=EXTTIME_MAX; 26 | FileSizeLess=INT64NDF; 27 | FileSizeMore=INT64NDF; 28 | HashType=HASH_CRC32; 29 | #ifdef RAR_SMP 30 | Threads=GetNumberOfThreads(); 31 | #endif 32 | #ifdef USE_QOPEN 33 | QOpenMode=QOPEN_AUTO; 34 | #endif 35 | } 36 | -------------------------------------------------------------------------------- /OpenCL/amp_a0.cl: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifdef KERNEL_STATIC 7 | #include M2S(INCLUDE_PATH/inc_vendor.h) 8 | #include M2S(INCLUDE_PATH/inc_types.h) 9 | #include M2S(INCLUDE_PATH/inc_platform.cl) 10 | #include M2S(INCLUDE_PATH/inc_common.cl) 11 | #include M2S(INCLUDE_PATH/inc_rp.h) 12 | #include M2S(INCLUDE_PATH/inc_rp.cl) 13 | #include M2S(INCLUDE_PATH/inc_amp.h) 14 | #endif 15 | 16 | KERNEL_FQ void amp (KERN_ATTR_AMP) 17 | { 18 | const u64 gid = get_global_id (0); 19 | 20 | if (gid >= gid_max) return; 21 | 22 | if (rules_buf[0].cmds[0] == RULE_OP_MANGLE_NOOP && rules_buf[0].cmds[1] == 0) return; 23 | 24 | pw_t pw = pws_amp[gid]; 25 | 26 | pw.pw_len = apply_rules (rules_buf[0].cmds, pw.i, pw.pw_len); 27 | 28 | pws[gid] = pw; 29 | } 30 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/RotateDefs.h: -------------------------------------------------------------------------------- 1 | /* RotateDefs.h -- Rotate functions 2 | 2015-03-25 : Igor Pavlov : Public domain */ 3 | 4 | #ifndef __ROTATE_DEFS_H 5 | #define __ROTATE_DEFS_H 6 | 7 | #ifdef _MSC_VER 8 | 9 | #include 10 | 11 | /* don't use _rotl with MINGW. It can insert slow call to function. */ 12 | 13 | /* #if (_MSC_VER >= 1200) */ 14 | #pragma intrinsic(_rotl) 15 | #pragma intrinsic(_rotr) 16 | /* #endif */ 17 | 18 | #define rotlFixed(x, n) _rotl((x), (n)) 19 | #define rotrFixed(x, n) _rotr((x), (n)) 20 | 21 | #else 22 | 23 | /* new compilers can translate these macros to fast commands. */ 24 | 25 | #define rotlFixed(x, n) (((x) << (n)) | ((x) >> (32 - (n)))) 26 | #define rotrFixed(x, n) (((x) >> (n)) | ((x) << (32 - (n)))) 27 | 28 | #endif 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /include/tuningdb.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Author......: See docs/credits.txt 3 | * License.....: MIT 4 | */ 5 | 6 | #ifndef _TUNINGDB_H 7 | #define _TUNINGDB_H 8 | 9 | #include 10 | #include 11 | 12 | #define TUNING_DB_FILE "hashcat.hctune" 13 | 14 | int sort_by_tuning_db_alias (const void *v1, const void *v2); 15 | int sort_by_tuning_db_entry (const void *v1, const void *v2); 16 | 17 | int tuning_db_init (hashcat_ctx_t *hashcat_ctx); 18 | void tuning_db_destroy (hashcat_ctx_t *hashcat_ctx); 19 | 20 | bool tuning_db_process_line (hashcat_ctx_t *hashcat_ctx, const char *line_buf, const int line_num); 21 | tuning_db_entry_t *tuning_db_search (hashcat_ctx_t *hashcat_ctx, const char *device_name, const cl_device_type device_type, int attack_mode, const int hash_mode); 22 | 23 | #endif // _TUNINGDB_H 24 | -------------------------------------------------------------------------------- /tools/test_modules/m00900.pm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | ## 4 | ## Author......: See docs/credits.txt 5 | ## License.....: MIT 6 | ## 7 | 8 | use strict; 9 | use warnings; 10 | 11 | use Digest::MD4 qw (md4_hex); 12 | 13 | sub module_constraints { [[0, 256], [-1, -1], [0, 27], [-1, -1], [-1, -1]] } 14 | 15 | sub module_generate_hash 16 | { 17 | my $word = shift; 18 | 19 | my $digest = md4_hex ($word); 20 | 21 | return $digest; 22 | } 23 | 24 | sub module_verify_hash 25 | { 26 | my $line = shift; 27 | 28 | my ($hash, $word) = split (':', $line); 29 | 30 | return unless defined $hash; 31 | return unless defined $word; 32 | 33 | my $word_packed = pack_if_HEX_notation ($word); 34 | 35 | my $new_hash = module_generate_hash ($word_packed); 36 | 37 | return ($new_hash, $word); 38 | } 39 | 40 | 1; 41 | -------------------------------------------------------------------------------- /deps/LZMA-SDK/C/7zBuf.h: -------------------------------------------------------------------------------- 1 | /* 7zBuf.h -- Byte Buffer 2 | 2017-04-03 : Igor Pavlov : Public domain */ 3 | 4 | #ifndef __7Z_BUF_H 5 | #define __7Z_BUF_H 6 | 7 | #include "7zTypes.h" 8 | 9 | EXTERN_C_BEGIN 10 | 11 | typedef struct 12 | { 13 | Byte *data; 14 | size_t size; 15 | } CBuf; 16 | 17 | void Buf_Init(CBuf *p); 18 | int Buf_Create(CBuf *p, size_t size, ISzAllocPtr alloc); 19 | void Buf_Free(CBuf *p, ISzAllocPtr alloc); 20 | 21 | typedef struct 22 | { 23 | Byte *data; 24 | size_t size; 25 | size_t pos; 26 | } CDynBuf; 27 | 28 | void DynBuf_Construct(CDynBuf *p); 29 | void DynBuf_SeekToBeg(CDynBuf *p); 30 | int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAllocPtr alloc); 31 | void DynBuf_Free(CDynBuf *p, ISzAllocPtr alloc); 32 | 33 | EXTERN_C_END 34 | 35 | #endif 36 | --------------------------------------------------------------------------------