題外話:最近對(duì)加密的方式討論挺火的
--------------*nix系------------------------
系統(tǒng):ES(Unix)
例子: IvS7aeT4NzQPM
說(shuō)明:Linux或者其他linux內(nèi)核系統(tǒng)中
長(zhǎng)度: 13 個(gè)字符
描述:第1、2位為salt,例子中的'Iv'位salt,后面的為hash值
系統(tǒng):MD5(Unix)
例子:$1$12345678$XM4P3PrKBgKNnTaqG9P0T/
說(shuō)明:Linux或者其他linux內(nèi)核系統(tǒng)中
長(zhǎng)度:34個(gè)字符
描述:開始的$1$位為加密標(biāo)志,后面8位12345678為加密使用的salt,后面的為hash
加密算法:2000次循環(huán)調(diào)用MD5加密
系統(tǒng):SHA-512(Unix)
例子:$6$12345678$U6Yv5E1lWn6mEESzKen42o6rbEm
說(shuō)明:Linux或者其他linux內(nèi)核系統(tǒng)中
長(zhǎng)度: 13 個(gè)字符
描述:開始的$6$位為加密標(biāo)志,后面8位為salt,后面的為hash
加密算法:5000次的SHA-512加密
系統(tǒng):SHA-256(Unix)
例子:$5$12345678$jBWLgeYZbSvREnuBr5s3gp13vqi
說(shuō)明:Linux或者其他linux內(nèi)核系統(tǒng)中
長(zhǎng)度: 55 個(gè)字符
描述:開始的$5$位為加密標(biāo)志,后面8位為salt,后面的為hash
加密算法:5000次的SHA-256加密
系統(tǒng):MD5(APR)
例子:$apr1$12345678$auQSX8Mvzt.tdBi4y6Xgj.
說(shuō)明:Linux或者其他linux內(nèi)核系統(tǒng)中
長(zhǎng)度:37個(gè)字符
描述:開始的$apr1$位為加密標(biāo)志,后面8位為salt,后面的為hash
加密算法:2000次循環(huán)調(diào)用MD5加密
-----------------windows------------------------------------------
系統(tǒng):windows
例子:Admin:b474d48cdfc4974d86ef4d24904cdd91
長(zhǎng)度:98個(gè)字符
加密算法:MD4(MD4(Unicode($pass)).Unicode(strtolower($username)))
------------------mysql--------------------------------------------
系統(tǒng):mysql
例子:606717496665bcba
說(shuō)明:老版本的MySql中
長(zhǎng)度:8字節(jié)(16個(gè)字符)
說(shuō)明:包括兩個(gè)字節(jié),且每個(gè)字的值不超過(guò)0x7fffffff
系統(tǒng):MySQL5
例子:*E6CC90B878B948C35E92B003C792C46C58C4AF40
說(shuō)明:較新版本的MySQL
長(zhǎng)度:20字節(jié)(40位)
加密算法:SHA-1(SHA-1($pass))
------------------其他系統(tǒng)---------------------------------------------
系統(tǒng):MD5(WordPress)
例子:$P$B123456780BhGFYSlUqGyE6ErKErL01
說(shuō)明:WordPress使用的md5
長(zhǎng)度:34個(gè)字符
描述:$P$表示加密類型,然后跟著一位字符,經(jīng)常是字符‘B’,后面是8位salt,后面是就是hash
加密算法:8192次md5循環(huán)加密
系統(tǒng):MD5(phpBB3)
說(shuō)明:phpBB 3.x.x.使用
例子:$H$9123456785DAERgALpsri.D9z3ht120
長(zhǎng)度:34個(gè)字符
描述:開始的$H$為加密標(biāo)志,后面跟著一個(gè)字符,一般的都是字符‘9’,然后是8位salt,然后是hash 值
加密算法:2048次循環(huán)調(diào)用MD5加密
系統(tǒng):RAdmin v2.x
說(shuō)明:Remote Administrator v2.x版本中
例子:5e32cceaafed5cc80866737dfb212d7f
長(zhǎng)度:16字節(jié)(32個(gè)字符)
加密算法:字符用0填充到100字節(jié)后,將填充過(guò)后的字符經(jīng)過(guò)md5加密得到(32位值)
------------------------md5加密--------------------------------------------
標(biāo)準(zhǔn)MD5
例子:c4ca4238a0b923820dcc509a6f75849b
使用范圍:phpBB v2.x, Joomla 的 1.0.13版本前,及其他cmd
長(zhǎng)度:16個(gè)字符
其他的加salt及變形類似:
md5($pass.$salt)
例子: 6f04f0d75f6870858bae14ac0b6d9f73:1234
md5($salt.$pass)
例子:f190ce9ac8445d249747cab7be43f7d5:12
md5(md5($pass))
例子:28c8edde3d61a0411511d3b1866f0636
md5(md5($pass).$salt)
例子:6011527690eddca23580955c216b1fd2:wQ6
md5(md5($salt).md5($pass))
例子: 81f87275dd805aa018df8befe09fe9f8:wH6_S
md5(md5($salt).$pass)
例子: 816a14db44578f516cbaef25bd8d8296:1234
md5($salt.$pass.$salt)
例子: a3bc9e11fddf4fef4deea11e33668eab:1234
md5($salt.md5($salt.$pass))
例子: 1d715e52285e5a6b546e442792652c8a:1234
--------------------------------------------------------------------------------
DES(Unix)
Example: IvS7aeT4NzQPM
Used in Linux and other similar OS.
Length: 13 characters.
Description: The first two characters are the salt (random characters; in our example the salt is the string “Iv”), then there follows the actual hash.
Notes: [1] [2]
Domain Cached Credentials
Example: Admin:b474d48cdfc4974d86ef4d24904cdd91
Used for caching passwords of Windows domain.
Length: 16 bytes.
Algorithm: MD4(MD4(Unicode($pass)).Unicode(strtolower($username)))
Note: [1]
MD5(Unix)
Example: $1$12345678$XM4P3PrKBgKNnTaqG9P0T/
Used in Linux and other similar OS.
Length: 34 characters.
Description: The hash begins with the $1$ signature, then there goes the salt (up to 8 random characters; in our example the salt is the string “12345678″), then there goes one more $ character, followed by the actual hash.
Algorithm: Actually that is a loop calling the MD5 algorithm 2000 times.
Notes: [1] [2]
MD5(APR)
Example: $apr1$12345678$auQSX8Mvzt.tdBi4y6Xgj.
Used in Linux and other similar OS.
Length: 37 characters.
Description: The hash begins with the $apr1$ signature, then there goes the salt (up to 8 random characters; in our example the salt is the string “12345678″), then there goes one more $ character, followed by the actual hash.
Algorithm: Actually that is a loop calling the MD5 algorithm 2000 times.
Notes: [1] [2]
MD5(phpBB3)
Example: $H$9123456785DAERgALpsri.D9z3ht120
Used in phpBB 3.x.x.
Length: 34 characters.
Description: The hash begins with the $H$ signature, then there goes one character (most often the number ’9′), then there goes the salt (8 random characters; in our example the salt is the string “12345678″), followed by the actual hash.
Algorithm: Actually that is a loop calling the MD5 algorithm 2048 times.
Notes: [1] [2]
MD5(WordPress)
Example: $P$B123456780BhGFYSlUqGyE6ErKErL01
Used in WordPress.
Length: 34 characters.
Description: The hash begins with the $P$ signature, then there goes one character (most often the number ‘B’), then there goes the salt (8 random characters; in our example the salt is the string “12345678″), followed by the actual hash.
Algorithm: Actually that is a loop calling the MD5 algorithm 8192 times.
Notes: [1] [2]
MySQL
Example: 606717496665bcba
Used in the old versions of MySQL.
Length: 8 bytes.
Description: The hash consists of two DWORDs, each not exceeding the value of 0x7fffffff.
MySQL5
Example: *E6CC90B878B948C35E92B003C792C46C58C4AF40
Used in the new versions of MySQL.
Length: 20 bytes.
Algorithm: SHA-1(SHA-1($pass))
Note: The hashes are to be loaded to the program without the asterisk that stands in the beginning of each hash.
RAdmin v2.x
Example: 5e32cceaafed5cc80866737dfb212d7f
Used in the application Remote Administrator v2.x.
Length: 16 bytes.
Algorithm: The password is padded with zeros to the length of 100 bytes, then that entire string is hashed with the MD5 algorithm.
MD5
Example: c4ca4238a0b923820dcc509a6f75849b
Used in phpBB v2.x, Joomla version below 1.0.13 and many other forums and CMS.
Length: 16 bytes.
Algorithm: Same as the md5() function in PHP.
md5($pass.$salt)
Example: 6f04f0d75f6870858bae14ac0b6d9f73:1234
Used in WB News, Joomla version 1.0.13 and higher.
Length: 16 bytes.
Note: [1]
md5($salt.$pass)
Example: f190ce9ac8445d249747cab7be43f7d5:12
Used in osCommerce, AEF, Gallery and other CMS.
Length: 16 bytes.
Note: [1]
md5(md5($pass))
Example: 28c8edde3d61a0411511d3b1866f0636
Used in e107, DLE, AVE, Diferior, Koobi and other CMS.
Length: 16 bytes.
md5(md5($pass).$salt)
Example: 6011527690eddca23580955c216b1fd2:wQ6
Used in vBulletin, IceBB.
Length: 16 bytes.
Notes: [1] [3] [4]
md5(md5($salt).md5($pass))
Example: 81f87275dd805aa018df8befe09fe9f8:wH6_S
Used in IPB.
Length: 16 bytes.
Notes: [1] [3]
md5(md5($salt).$pass)
Example: 816a14db44578f516cbaef25bd8d8296:1234
Used in MyBB.
Length: 16 bytes.
Note: [1]
md5($salt.$pass.$salt)
Example: a3bc9e11fddf4fef4deea11e33668eab:1234
Used in TBDev.
Length: 16 bytes.
Note: [1]
md5($salt.md5($salt.$pass))
Example: 1d715e52285e5a6b546e442792652c8a:1234
Used in DLP.
Length: 16 bytes.
Note: [1]
SHA-1
Example: 356a192b7913b04c54574d18c28d46e6395428ab
Used in many forums and CMS.
Length: 20 bytes.
Algorithm: Same as the sha1() function in PHP.
sha1(strtolower($username).$pass)
Example: Admin:6c7ca345f63f835cb353ff15bd6c5e052ec08e7a
Used in SMF.
Length: 20 bytes.
Note: [1]
sha1($salt.sha1($salt.sha1($pass)))
Example: cd37bfbf68d198d11d39a67158c0c9cddf34573b:1234
Used in Woltlab BB.
Length: 20 bytes.
Note: [1]
SHA-256(Unix)
Example: $5$12345678$jBWLgeYZbSvREnuBr5s3gp13vqiKSNK1rkTk9zYE1v0
Used in Linux and other similar OS.
Length: 55 characters.
Description: The hash begins with the $5$ signature, then there goes the salt (up to 8 random characters; in our example the salt is the string “12345678″), then there goes one more $ character, followed by the actual hash.
Algorithm: Actually that is a loop calling the SHA-256 algorithm 5000 times.
Notes: [1] [2]
SHA-512(Unix)
Example: $6$12345678$U6Yv5E1lWn6mEESzKen42o6rbEmFNLlq6Ik9X3reMXY3doKEuxrcDohKUx0Oxf44aeTIxGEjssvtT1aKyZHjs
Used in Linux and other similar OS.
Length: 98 characters.
Description: The hash begins with the $6$ signature, then there goes the salt (up to 8 random characters; in our example the salt is the string “12345678″), then there goes one more $ character, followed by the actual hash.
Algorithm: Actually that is a loop calling the SHA-512 algorithm 5000 times.
Notes: [1] [2]
————————————————-
Notes:
[1] Since the hashing requires not only a password but also a salt (or a user name), which is unique for each user, the attack speed for such hashes will decline proportionally to their count (for example, attacking 100 hashes will go 100 times slower than attacking one hash).
[2] The hash is to be loaded to the program in full, to the “Hash” column – the program will automatically extract the salt and other required data from it.
[3] The ‘:’ character can be used as salt; however, since it is used by default for separating hash and salt in PasswordsPro, it is recommended that you use a different character for separating fields; e.g., space.
[4] Salt can contain special characters – single or double quotes, as well as backslash, which are preceded (after obtaining dumps from MySQL databases) by an additional backslash, which is to be removed manually. For example, the salt to be loaded to the program would be a’4 instead of a\’4, as well as the salts a”4 instead of a\”4 and a\4 instead of a\\4.
from:http://forum.insidepro.com/viewtopic.php?t=8225
unix hash加密方式判斷
unix下:
$1開頭為MD5
$5開頭為SHA256
$6開頭為SHA512
DES和明文開頭無(wú)標(biāo)記
本站內(nèi)容均為原創(chuàng),轉(zhuǎn)載請(qǐng)務(wù)必保留署名與鏈接!
幾種常見的hash加密,怎么判斷hash的類型:https://www.webshell.cc/4222.html