|
12 | 12 |
|
13 | 13 | if (!isset($PRESENT["v0.14.x_update_hashtypes"])){ |
14 | 14 | $hashTypes = [ |
15 | | - new HashType( 2630, "md5(md5($pass.$salt))", 1, 0), |
16 | | - new HashType( 3610, "md5(md5(md5($pass)).$salt)", 1, 0), |
17 | | - new HashType( 3730, "md5($salt1.strtoupper(md5($salt2.$pass)))", 1, 0), |
18 | | - new HashType( 4420, "md5(sha1($pass.$salt))", 1, 0), |
19 | | - new HashType( 4430, "md5(sha1($salt.$pass))", 1, 0), |
20 | | - new HashType( 6050, "HMAC-RIPEMD160 (key = $pass)", 1, 0), |
21 | | - new HashType( 6060, "HMAC-RIPEMD160 (key = $salt)", 1, 0), |
22 | | - new HashType( 7350, "IPMI2 RAKP HMAC-MD5", 1, 0), |
23 | | - new HashType( 10510, "PDF 1.3 - 1.6 (Acrobat 4 - 8) w/ RC4-40", 1, 1), |
24 | | - new HashType( 12150, "Apache Shiro 1 SHA-512", 1, 1), |
25 | | - new HashType( 14200, "RACF KDFAES", 1, 1), |
26 | | - new HashType( 16501, "Perl Mojolicious session cookie (HMAC-SHA256, >= v9.19)", 1, 0), |
27 | | - new HashType( 17020, "GPG (AES-128/AES-256 (SHA-512($pass)))", 1, 1), |
28 | | - new HashType( 17030, "GPG (AES-128/AES-256 (SHA-256($pass)))", 1, 1), |
29 | | - new HashType( 17040, "GPG (CAST5 (SHA-1($pass)))", 1, 1), |
30 | | - new HashType( 19210, "QNX 7 /etc/shadow (SHA512)", 1, 1), |
31 | | - new HashType( 20712, "RSA Security Analytics / NetWitness (sha256)", 1, 0), |
32 | | - new HashType( 20730, "sha256(sha256($pass.$salt))", 1, 0), |
33 | | - new HashType( 21310, "md5($salt1.sha1($salt2.$pass))", 1, 0), |
34 | | - new HashType( 21900, "md5(md5(md5($pass.$salt1)).$salt2)", 1, 0), |
35 | | - new HashType( 22800, "Simpla CMS - md5($salt.$pass.md5($pass))", 1, 0), |
36 | | - new HashType( 24000, "BestCrypt v4 Volume Encryption", 1, 1), |
37 | | - new HashType( 26610, "MetaMask Wallet (short hash, plaintext check)", 1, 1), |
38 | | - new HashType( 29800, "Bisq .wallet (scrypt)", 1, 1), |
39 | | - new HashType( 29910, "ENCsecurity Datavault (PBKDF2/no keychain)", 1, 1), |
40 | | - new HashType( 29920, "ENCsecurity Datavault (PBKDF2/keychain)", 1, 1), |
41 | | - new HashType( 29930, "ENCsecurity Datavault (MD5/no keychain)", 1, 1), |
42 | | - new HashType( 29940, "ENCsecurity Datavault (MD5/keychain)", 1, 1), |
43 | | - new HashType( 30420, "DANE RFC7929/RFC8162 SHA2-256", 0, 0), |
44 | | - new HashType( 30500, "md5(md5($salt).md5(md5($pass)))", 1, 0), |
45 | | - new HashType( 30600, "bcrypt(sha256($pass)) / bcryptsha256", 1, 1), |
46 | | - new HashType( 30601, "bcrypt-sha256 v2 bcrypt(HMAC-SHA256($pass))", 1, 1), |
47 | | - new HashType( 30700, "Anope IRC Services (enc_sha256)", 1, 0), |
48 | | - new HashType( 30901, "Bitcoin raw private key (P2PKH), compressed", 0, 0), |
49 | | - new HashType( 30902, "Bitcoin raw private key (P2PKH), uncompressed", 0, 0), |
50 | | - new HashType( 30903, "Bitcoin raw private key (P2WPKH, Bech32), compressed", 0, 0), |
51 | | - new HashType( 30904, "Bitcoin raw private key (P2WPKH, Bech32), uncompressed", 0, 0), |
52 | | - new HashType( 30905, "Bitcoin raw private key (P2SH(P2WPKH)), compressed", 0, 0), |
53 | | - new HashType( 30906, "Bitcoin raw private key (P2SH(P2WPKH)), uncompressed", 0, 0), |
54 | | - new HashType( 31000, "BLAKE2s-256", 0, 0), |
55 | | - new HashType( 31100, "ShangMi 3 (SM3)", 0, 0), |
56 | | - new HashType( 31200, "Veeam VBK", 1, 1), |
57 | | - new HashType( 31300, "MS SNTP", 1, 0), |
58 | | - new HashType( 31400, "SecureCRT MasterPassphrase v2", 1, 0), |
59 | | - new HashType( 31500, "Domain Cached Credentials (DCC), MS Cache (NT)", 1, 1), |
60 | | - new HashType( 31600, "Domain Cached Credentials 2 (DCC2), MS Cache 2, (NT)", 1, 1), |
61 | | - new HashType( 31700, "md5(md5(md5($pass).$salt1).$salt2)", 1, 0), |
62 | | - new HashType( 31800, "1Password, mobilekeychain (1Password 8)", 1, 1), |
63 | | - new HashType( 31900, "MetaMask Mobile Wallet", 1, 1), |
64 | | - new HashType( 32000, "NetIQ SSPR (MD5)", 1, 1), |
65 | | - new HashType( 32010, "NetIQ SSPR (SHA1)", 1, 1), |
66 | | - new HashType( 32020, "NetIQ SSPR (SHA-1 with Salt)", 1, 1), |
67 | | - new HashType( 32030, "NetIQ SSPR (SHA-256 with Salt)", 1, 1), |
68 | | - new HashType( 32031, "Adobe AEM (SSPR, SHA-256 with Salt)", 1, 1), |
69 | | - new HashType( 32040, "NetIQ SSPR (SHA-512 with Salt)", 1, 1), |
70 | | - new HashType( 32041, "Adobe AEM (SSPR, SHA-512 with Salt)", 1, 1), |
71 | | - new HashType( 32050, "NetIQ SSPR (PBKDF2WithHmacSHA1)", 1, 1), |
72 | | - new HashType( 32060, "NetIQ SSPR (PBKDF2WithHmacSHA256)", 1, 1), |
73 | | - new HashType( 32070, "NetIQ SSPR (PBKDF2WithHmacSHA512)", 1, 1), |
74 | | - new HashType( 32100, "Kerberos 5, etype 17, AS-REP", 1, 1), |
75 | | - new HashType( 32200, "Kerberos 5, etype 18, AS-REP", 1, 1), |
76 | | - new HashType( 32300, "Empire CMS (Admin password)", 1, 0), |
77 | | - new HashType( 32410, "sha512(sha512($pass).$salt)", 1, 0), |
78 | | - new HashType( 32420, "sha512(sha512_bin($pass).$salt)", 1, 0), |
79 | | - new HashType( 32500, "Dogechain.info Wallet", 1, 1), |
80 | | - new HashType( 32600, "CubeCart (whirlpool($salt.$pass.$salt))", 1, 0), |
81 | | - new HashType( 32700, "Kremlin Encrypt 3.0 w/NewDES", 1, 1), |
82 | | - new HashType( 32800, "md5(sha1(md5($pass)))", 0, 0), |
83 | | - new HashType( 32900, "PBKDF1-SHA1", 1, 1), |
84 | | - new HashType( 33000, "md5($salt1.$pass.$salt2)", 1, 0), |
85 | | - new HashType( 33100, "md5($salt.md5($pass).$salt)", 1, 0), |
86 | | - new HashType( 33300, "HMAC-BLAKE2S (key = $pass)", 1, 0), |
87 | | - new HashType( 33400, "mega.nz password-protected link (PBKDF2-HMAC-SHA512)", 1, 1), |
88 | | - new HashType( 33500, "RC4 40-bit DropN", 1, 0), |
89 | | - new HashType( 33501, "RC4 72-bit DropN", 1, 0), |
90 | | - new HashType( 33502, "RC4 104-bit DropN", 1, 0), |
91 | | - new HashType( 33600, "RIPEMD-320", 0, 0), |
92 | | - new HashType( 33650, "HMAC-RIPEMD320 (key = $pass)", 1, 0), |
93 | | - new HashType( 33660, "HMAC-RIPEMD320 (key = $salt)", 1, 0), |
94 | | - new HashType( 33700, "Microsoft Online Account (PBKDF2-HMAC-SHA256 + AES256)", 1, 1), |
95 | | - new HashType( 33800, "WBB4 (Woltlab Burning Board) Plugin [bcrypt(bcrypt($pass))]", 1, 1), |
96 | | - new HashType( 33900, "Citrix NetScaler (PBKDF2-HMAC-SHA256)", 1, 1), |
97 | | - new HashType( 34000, "Argon2", 1, 1), |
98 | | - new HashType( 34100, "LUKS v2 argon2id + SHA-256 + AES", 1, 1), |
99 | | - new HashType( 34200, "MurmurHash64A", 1, 0), |
100 | | - new HashType( 34201, "MurmurHash64A (zero seed)", 0, 0), |
101 | | - new HashType( 34211, "MurmurHash64A truncated (zero seed)", 0, 0), |
102 | | - new HashType( 70000, "argon2id [Bridged: reference implementation + tunings]", 1, 1), |
103 | | - new HashType( 70100, "scrypt [Bridged: Scrypt-Jane ROMix]", 1, 1), |
104 | | - new HashType( 70200, "scrypt [Bridged: Scrypt-Yescrypt]", 1, 1), |
105 | | - new HashType( 72000, "Generic Hash [Bridged: Python Interpreter free-threading]", 1, 1), |
106 | | - new HashType( 73000, "Generic Hash [Bridged: Python Interpreter with GIL]", 1, 1), |
| 15 | + new HashType( 1310, "sha224($pass.$salt)", 1, 0), |
| 16 | + new HashType( 1320, "sha224($salt.$pass)", 1, 0), |
| 17 | + new HashType( 2630, "md5(md5($pass.$salt))", 1, 0), |
| 18 | + new HashType( 3610, "md5(md5(md5($pass)).$salt)", 1, 0), |
| 19 | + new HashType( 3730, "md5($salt1.strtoupper(md5($salt2.$pass)))", 1, 0), |
| 20 | + new HashType( 4420, "md5(sha1($pass.$salt))", 1, 0), |
| 21 | + new HashType( 4430, "md5(sha1($salt.$pass))", 1, 0), |
| 22 | + new HashType( 5720, "Cisco-ISE Hashed Password (SHA256)", 1, 0), |
| 23 | + new HashType( 6050, "HMAC-RIPEMD160 (key = $pass)", 1, 0), |
| 24 | + new HashType( 6060, "HMAC-RIPEMD160 (key = $salt)", 1, 0), |
| 25 | + new HashType( 7350, "IPMI2 RAKP HMAC-MD5", 1, 0), |
| 26 | + new HashType( 8501, "AS/400 DES", 1, 0), |
| 27 | + new HashType( 10510, "PDF 1.3 - 1.6 (Acrobat 4 - 8) w/ RC4-40", 1, 1), |
| 28 | + new HashType( 12150, "Apache Shiro 1 SHA-512", 1, 1), |
| 29 | + new HashType( 14200, "RACF KDFAES", 1, 1), |
| 30 | + new HashType( 16501, "Perl Mojolicious session cookie (HMAC-SHA256, >= v9.19)", 1, 0), |
| 31 | + new HashType( 17020, "GPG (AES-128/AES-256 (SHA-512($pass)))", 1, 1), |
| 32 | + new HashType( 17030, "GPG (AES-128/AES-256 (SHA-256($pass)))", 1, 1), |
| 33 | + new HashType( 17040, "GPG (CAST5 (SHA-1($pass)))", 1, 1), |
| 34 | + new HashType( 19210, "QNX 7 /etc/shadow (SHA512)", 1, 1), |
| 35 | + new HashType( 20712, "RSA Security Analytics / NetWitness (sha256)", 1, 0), |
| 36 | + new HashType( 20730, "sha256(sha256($pass.$salt))", 1, 0), |
| 37 | + new HashType( 21310, "md5($salt1.sha1($salt2.$pass))", 1, 0), |
| 38 | + new HashType( 21900, "md5(md5(md5($pass.$salt1)).$salt2)", 1, 0), |
| 39 | + new HashType( 22800, "Simpla CMS - md5($salt.$pass.md5($pass))", 1, 0), |
| 40 | + new HashType( 24000, "BestCrypt v4 Volume Encryption", 1, 1), |
| 41 | + new HashType( 26610, "MetaMask Wallet (short hash, plaintext check)", 1, 1), |
| 42 | + new HashType( 29800, "Bisq .wallet (scrypt)", 1, 1), |
| 43 | + new HashType( 29910, "ENCsecurity Datavault (PBKDF2/no keychain)", 1, 1), |
| 44 | + new HashType( 29920, "ENCsecurity Datavault (PBKDF2/keychain)", 1, 1), |
| 45 | + new HashType( 29930, "ENCsecurity Datavault (MD5/no keychain)", 1, 1), |
| 46 | + new HashType( 29940, "ENCsecurity Datavault (MD5/keychain)", 1, 1), |
| 47 | + new HashType( 30420, "DANE RFC7929/RFC8162 SHA2-256", 0, 0), |
| 48 | + new HashType( 30500, "md5(md5($salt).md5(md5($pass)))", 1, 0), |
| 49 | + new HashType( 30600, "bcrypt(sha256($pass))", 1, 1), |
| 50 | + new HashType( 30601, "bcrypt(HMAC-SHA256($pass))", 1, 1), |
| 51 | + new HashType( 30700, "Anope IRC Services (enc_sha256)", 1, 0), |
| 52 | + new HashType( 30901, "Bitcoin raw private key (P2PKH), compressed", 0, 0), |
| 53 | + new HashType( 30902, "Bitcoin raw private key (P2PKH), uncompressed", 0, 0), |
| 54 | + new HashType( 30903, "Bitcoin raw private key (P2WPKH, Bech32), compressed", 0, 0), |
| 55 | + new HashType( 30904, "Bitcoin raw private key (P2WPKH, Bech32), uncompressed", 0, 0), |
| 56 | + new HashType( 30905, "Bitcoin raw private key (P2SH(P2WPKH)), compressed", 0, 0), |
| 57 | + new HashType( 30906, "Bitcoin raw private key (P2SH(P2WPKH)), uncompressed", 0, 0), |
| 58 | + new HashType( 31000, "BLAKE2s-256", 0, 0), |
| 59 | + new HashType( 31100, "ShangMi 3 (SM3)", 0, 0), |
| 60 | + new HashType( 31200, "Veeam VBK", 1, 1), |
| 61 | + new HashType( 31300, "MS SNTP", 1, 0), |
| 62 | + new HashType( 31400, "SecureCRT MasterPassphrase v2", 1, 0), |
| 63 | + new HashType( 31500, "Domain Cached Credentials (DCC), MS Cache (NT)", 1, 1), |
| 64 | + new HashType( 31600, "Domain Cached Credentials 2 (DCC2), MS Cache 2, (NT)", 1, 1), |
| 65 | + new HashType( 31700, "md5(md5(md5($pass).$salt1).$salt2)", 1, 0), |
| 66 | + new HashType( 31800, "1Password, mobilekeychain (1Password 8)", 1, 1), |
| 67 | + new HashType( 31900, "MetaMask Mobile Wallet", 1, 1), |
| 68 | + new HashType( 32000, "NetIQ SSPR (MD5)", 1, 1), |
| 69 | + new HashType( 32010, "NetIQ SSPR (SHA1)", 1, 1), |
| 70 | + new HashType( 32020, "NetIQ SSPR (SHA-1 with Salt)", 1, 1), |
| 71 | + new HashType( 32030, "NetIQ SSPR (SHA-256 with Salt)", 1, 1), |
| 72 | + new HashType( 32031, "Adobe AEM (SSPR, SHA-256 with Salt)", 1, 1), |
| 73 | + new HashType( 32040, "NetIQ SSPR (SHA-512 with Salt)", 1, 1), |
| 74 | + new HashType( 32041, "Adobe AEM (SSPR, SHA-512 with Salt)", 1, 1), |
| 75 | + new HashType( 32050, "NetIQ SSPR (PBKDF2WithHmacSHA1)", 1, 1), |
| 76 | + new HashType( 32060, "NetIQ SSPR (PBKDF2WithHmacSHA256)", 1, 1), |
| 77 | + new HashType( 32070, "NetIQ SSPR (PBKDF2WithHmacSHA512)", 1, 1), |
| 78 | + new HashType( 32100, "Kerberos 5, etype 17, AS-REP", 1, 1), |
| 79 | + new HashType( 32200, "Kerberos 5, etype 18, AS-REP", 1, 1), |
| 80 | + new HashType( 32300, "Empire CMS (Admin password)", 1, 0), |
| 81 | + new HashType( 32410, "sha512(sha512($pass).$salt)", 1, 0), |
| 82 | + new HashType( 32420, "sha512(sha512_bin($pass).$salt)", 1, 0), |
| 83 | + new HashType( 32500, "Dogechain.info Wallet", 1, 1), |
| 84 | + new HashType( 32600, "CubeCart (whirlpool($salt.$pass.$salt))", 1, 0), |
| 85 | + new HashType( 32700, "Kremlin Encrypt 3.0 w/NewDES", 1, 1), |
| 86 | + new HashType( 32800, "md5(sha1(md5($pass)))", 0, 0), |
| 87 | + new HashType( 32900, "PBKDF1-SHA1", 1, 1), |
| 88 | + new HashType( 33000, "md5($salt1.$pass.$salt2)", 1, 0), |
| 89 | + new HashType( 33100, "md5($salt.md5($pass).$salt)", 1, 0), |
| 90 | + new HashType( 33300, "HMAC-BLAKE2S (key = $pass)", 1, 0), |
| 91 | + new HashType( 33400, "mega.nz password-protected link (PBKDF2-HMAC-SHA512)", 1, 1), |
| 92 | + new HashType( 33500, "RC4 40-bit DropN", 1, 0), |
| 93 | + new HashType( 33501, "RC4 72-bit DropN", 1, 0), |
| 94 | + new HashType( 33502, "RC4 104-bit DropN", 1, 0), |
| 95 | + new HashType( 33600, "RIPEMD-320", 0, 0), |
| 96 | + new HashType( 33650, "HMAC-RIPEMD320 (key = $pass)", 1, 0), |
| 97 | + new HashType( 33660, "HMAC-RIPEMD320 (key = $salt)", 1, 0), |
| 98 | + new HashType( 33700, "Microsoft Online Account (PBKDF2-HMAC-SHA256 + AES256)", 1, 1), |
| 99 | + new HashType( 33800, "WBB4 (Woltlab Burning Board) [bcrypt(bcrypt($pass))]", 1, 1), |
| 100 | + new HashType( 33900, "Citrix NetScaler (PBKDF2-HMAC-SHA256)", 1, 1), |
| 101 | + new HashType( 34000, "Argon2", 1, 1), |
| 102 | + new HashType( 34100, "LUKS v2 argon2 + SHA-256 + AES", 1, 1), |
| 103 | + new HashType( 34200, "MurmurHash64A", 1, 0), |
| 104 | + new HashType( 34201, "MurmurHash64A (zero seed)", 0, 0), |
| 105 | + new HashType( 34211, "MurmurHash64A truncated (zero seed)", 0, 0), |
| 106 | + new HashType( 34300, "KeePass (KDBX v4)", 1, 1), |
| 107 | + new HashType( 34400, "sha224(sha224($pass))", 0, 0), |
| 108 | + new HashType( 34500, "sha224(sha1($pass))", 0, 0), |
| 109 | + new HashType( 34600, "MD6 (256)", 0, 0), |
| 110 | + new HashType( 34700, "Blockchain, My Wallet, Legacy Wallets", 1, 0), |
| 111 | + new HashType( 34800, "BLAKE2b-256", 0, 0), |
| 112 | + new HashType( 34810, "BLAKE2b-256($pass.$salt)", 1, 0), |
| 113 | + new HashType( 34820, "BLAKE2b-256($salt.$pass)", 1, 0), |
| 114 | + new HashType( 35000, "SAP CODVN H (PWDSALTEDHASH) isSHA512", 1, 1), |
| 115 | + new HashType( 35100, "sm3crypt $sm3$, SM3 (Unix)", 1, 1), |
| 116 | + new HashType( 35200, "AS/400 SSHA1", 1, 0), |
| 117 | + new HashType( 70000, "Argon2id [Bridged: reference implementation + tunings]", 1, 1), |
| 118 | + new HashType( 70100, "scrypt [Bridged: Scrypt-Jane SMix]", 1, 1), |
| 119 | + new HashType( 70200, "scrypt [Bridged: Scrypt-Yescrypt]", 1, 1), |
| 120 | + new HashType( 72000, "Generic Hash [Bridged: Python Interpreter free-threading]", 1, 1), |
| 121 | + new HashType( 73000, "Generic Hash [Bridged: Python Interpreter with GIL]", 1, 1), |
107 | 122 | ]; |
108 | | - |
109 | 123 | foreach ($hashtypes as $hashtype) { |
110 | 124 | $check = Factory::getHashTypeFactory()->get($hashtype->getId()); |
111 | 125 | if ($check === null) { |
|
0 commit comments