API
雜湊解密
雜湊解密
Protocol: POST
URL: https://hashes.com/zh/api/search
Cost in credits per HTTP request: 1
Cost in credits per decrypted hash: 1
Parameters
key
hashes ------- Hashes array (max. 250, format 'hash[:salt]')
Example
curl -X POST -H "Content-type: multipart/form-data" \
-F 'key={KEY}' \
-F 'hashes[]=e10adc3949ba59abbe56e057f20f883e' \
-F 'hashes[]=ad13e3e85208780288a2389c791b5c03' \
-F 'hashes[]=06a943c59f33a34bb5924aaf72cd2995:salt' \
-F 'hashes[]=32caacc7b51bdfe758e670a6cff1bbdceab62b611c0cb80df754dd580b694c05' \
https://hashes.com/zh/api/search
Response
{
"success": true,
"cost": 4,
"count": 4,
"founds": [
{
"hash": "e10adc3949ba59abbe56e057f20f883e",
"salt": "",
"plaintext": "123456",
"algorithm": "MD5"
},
{
"hash": "ad13e3e85208780288a2389c791b5c03",
"salt": "",
"plaintext": "hashes",
"algorithm": "MD5"
},
{
"hash": "06a943c59f33a34bb5924aaf72cd2995",
"salt": "salt",
"plaintext": "search",
"algorithm": "MD5"
}
],
"unfounds":[
{
"hash": "32caacc7b51bdfe758e670a6cff1bbdceab62b611c0cb80df754dd580b694c05"
}
]
}
工具
雜湊鑑別器
Protocol: GET or POST
URL: https://hashes.com/zh/api/identifier
Parameters
hash
extended (true/false) Optional
Example
curl 'https://hashes.com/zh/api/identifier?hash=827ccb0eea8a706c4c34a16891f84e7b'
Response
{
"success": true,
"algorithms": [
"MD5"
]
}
Example
curl 'https://hashes.com/zh/api/identifier?hash=de41a78c493da23f00e0f7343c9aeaed:88581&extended=true'
Response
{
"success": true,
"algorithms": [
"md5($plaintext.$salt)",
"Joomla < 2.5.18",
"md5($salt.$plaintext)",
"HMAC-MD5 (key = $plaintext)",
"HMAC-MD5 (key = $salt)",
"vBulletin < v3.8.5",
"md5(md5(md5($plaintext).$salt))",
"md5(md5(md5(md5($plaintext).$salt)))",
"md5(md5($plaintext).:.$salt)",
"MyBB 1.2+, IPB2+ (Invision Power Board)",
"md5($salt.md5($plaintext))",
"md5($plaintext.md5($salt))",
"md5($salt.$plaintext.$salt)",
"md5(md5($plaintext).md5($salt))",
"md5($salt.md5($salt.$plaintext))",
"md5(sha1($salt).md5($plaintext))",
"md5($salt.sha1($salt.$plaintext))",
"HMACMD5($plaintext)"
]
}
Example
curl https://hashes.com/zh/api/identifier?hash=fakehash
Response
{
"success": false,
"message": "Could not identify"
}
第三方託管 WEBSOCKET (BETA)
查看工作
Protocol: wss://
**You must reconnect onclose() as we will restart the server frequently during beta**
URL: wss://hashes.com/zh/api/jobs_wss/?key={KEY}
Parameters
key
Example (JAVASCRIPT)
var reconnectID=0;
var pingPong=0;
var conn;
function start() {
conn = new WebSocket('wss://hashes.com/zh/api/jobs_wss/?key={KEY}');
conn.onopen = function(e) {
if(window.reconnectID){
window.clearInterval(window.reconnectID);
window.reconnectID=0;
}
window.pingPong=setInterval(function(){
conn.send('ping');
}, 60000);
};
//e.data = Response
conn.onmessage = function(e) {
console.log(e.data);
};
conn.onclose = function() {
console.log("Disconnected! Reconnecting.");
window.pingPong = 0;
if(!window.reconnectID){
window.reconnectID=setInterval(function(){
start();
}, 5000);
}
};
}
start();
Response
{
"success": true,
"new": [
{
"id": 5,
"createdAt": "2023-01-19 18:06:19",
"lastUpdate": "2023-01-19 19:21:10",
"algorithmName": "MD5",
"algorithmId": 0,
"totalHashes": 1,
"foundHashes": 0,
"leftHashes": 1,
"currency": "XMR",
"pricePerHash": "0.00595300",
"pricePerHashUsd": "1.000",
"maxCracksNeeded": 1,
"leftList": "\/unfound\/5-1674174070-a97166c4-unfound.txt"
},
{
"id": 6,
"createdAt": "2023-01-19 18:10:39",
"lastUpdate": "2023-01-19 19:21:10",
"algorithmName": "MD5",
"algorithmId": 0,
"totalHashes": 1,
"foundHashes": 0,
"leftHashes": 1,
"currency": "LTC",
"pricePerHash": "0.00000010",
"pricePerHashUsd": "0.000",
"maxCracksNeeded": 1,
"leftList": "\/unfound\/6-1674174070-532062d5-unfound.txt"
}
]
}
第三方託管
查看工作
Protocol: GET
URL: https://hashes.com/zh/api/jobs
Parameters
key Optional
Example
curl https://hashes.com/zh/api/jobs
Response
{
"success": true,
"list": [
{
"id": 5,
"createdAt": "2023-01-19 18:06:19",
"lastUpdate": "2023-01-19 19:21:10",
"algorithmName": "MD5",
"algorithmId": 0,
"totalHashes": 1,
"foundHashes": 0,
"leftHashes": 1,
"currency": "XMR",
"pricePerHash": "0.00595300",
"pricePerHashUsd": "1.000",
"maxCracksNeeded": 1,
"leftList": "\/unfound\/5-1674174070-a97166c4-unfound.txt"
},
{
"id": 6,
"createdAt": "2023-01-19 18:10:39",
"lastUpdate": "2023-01-19 19:21:10",
"algorithmName": "MD5",
"algorithmId": 0,
"totalHashes": 1,
"foundHashes": 0,
"leftHashes": 1,
"currency": "LTC",
"pricePerHash": "0.00000010",
"pricePerHashUsd": "0.000",
"maxCracksNeeded": 1,
"leftList": "\/unfound\/6-1674174070-532062d5-unfound.txt"
}
]
}
第三方託管
已發現的上傳
Protocol: POST
URL: https://hashes.com/zh/api/founds
Parameters
key
algo
userfile
Example
curl -X POST -H "Content-type: multipart/form-data" -F "key={KEY}" -F "algo=2811" -F "userfile=@/home/root/founds.txt" https://hashes.com/zh/api/founds
Response
{
"success": true
}
第三方託管
Profit
Protocol: GET
URL: https://hashes.com/zh/api/profit
Parameters
key
Example
curl https://hashes.com/zh/api/profit?key={KEY}
Response
{
"success": true,
"currency": {
"BTC": "1.47462111",
"XMR": "0.084722",
"LTC": "0"
}
}
第三方託管
Found History
Protocol: GET
URL: https://hashes.com/zh/api/uploads
Parameters
key
Example
curl https://hashes.com/zh/api/uploads?key={KEY}
Response
{
"success": true,
"list": [
{
"id": 10367,
"btc": "0.0014722",
"xmr": "0",
"ltc": "0",
"date": "2020-03-31 11:30:45",
"totalHashes": 65,
"validHashes": 53,
"status": "Processed",
"algorithm": "bcrypt $2*$, Blowfish (Unix)",
"algorithmId": 3200
},
{
"id": 244128,
"btc": "0",
"xmr": "0.00331",
"ltc": "0",
"date": "2023-02-02 16:02:26",
"totalHashes": 1,
"validHashes": 1,
"status": "Processed",
"algorithm": "MD5",
"algorithmId": 1
},
]
}
第三方託管
查看工作 (SELF)
Protocol: GET
URL: https://hashes.com/zh/api/jobs_self
Parameters
key
Example
curl https://hashes.com/zh/api/jobs_self?key={KEY}
Response
{
"success": true,
"list": [
{
"id": 5,
"state": "Active",
"createdAt": "2023-01-19 18:06:19",
"lastUpdate": "2023-01-19 19:21:10",
"algorithmName": "MD5",
"algorithmId": 0,
"totalHashes": 1,
"foundHashes": 0,
"leftHashes": 1,
"currency": "XMR",
"pricePerHash": "0.00595300",
"pricePerHashUsd": "1.000",
"maxCracksNeeded": 1,
"leftList": "\/unfound\/5-1674174070-a97166c4-unfound.txt",
"foundList": "\/found\/5-1674174070-eac6c786-found.txt"
},
{
"id": 6,
"state": "Inactive - Processed",
"createdAt": "2023-01-19 18:10:39",
"lastUpdate": "2023-01-19 19:21:10",
"algorithmName": "MD5",
"algorithmId": 0,
"totalHashes": 1,
"foundHashes": 0,
"leftHashes": 1,
"currency": "LTC",
"pricePerHash": "0.00000010",
"pricePerHashUsd": "0.000",
"maxCracksNeeded": 1,
"leftList": "\/unfound\/6-1674174070-532062d5-unfound.txt",
"foundList": "\/found\/6-1674174070-532062d5-found.txt"
}
]
}
Wallet
Wallet Balances
Protocol: GET
URL: https://hashes.com/zh/api/balance
Parameters
key
Example
curl https://hashes.com/zh/api/balance?key={KEY}
Response
{
"success": true,
"BTC": "0.05737",
"XMR": "1.47893",
"LTC": "3.33398",
"credits": 583433
}
提款
Withdraw History
Protocol: GET
URL: https://hashes.com/zh/api/withdrawals
Parameters
key
Example
curl https://hashes.com/zh/api/withdrawals?key={KEY}
Response
{
"success": true,
"list": [
{
"id": "e838436",
"amount": "0.00200",
"afterFee": "0.00197",
"transaction": "d2bcfe216ff5d50dba85b833ca9a078c06a3570a7a161cc5434a1593d9394109",
"currency": "XMR",
"destination": "888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H",
"date": "2023-02-09 02:14:47",
"status": "Completed"
},
{
"id": "G672a5a",
"amount": "0.00399185",
"afterFee": "0.00379185",
"transaction": "efb997166a8dd1f28f09faaa63936fb5cf8f5195986b661f9fac2bb2817831fd",
"currency": "BTC",
"destination": "bc1pmkqfqezmee4lt93hu307k7vr90r88kqm2hrrwt5lww0elsaupyns6d0ac8",
"date": "2023-02-09 02:12:22"
"status": "Completed"
}
]
}
演算法
可能的演算法
Protocol: GET
URL: https://hashes.com/zh/api/algorithms
Parameters
Example
curl https://hashes.com/zh/api/algorithms
Response
{
"success": true,
"list": [
{
"id": 0,
"algorithmName": "MD5"
},
{
"id": 10,
"algorithmName": "md5($plaintext.$salt)"
},
{
"id": 11,
"algorithmName": "Joomla < 2.5.18"
},
{
"id": 20,
"algorithmName": "md5($salt.$plaintext)"
},
{
"id": 21,
"algorithmName": "osCommerce, xt:Commerce"
},
{
"id": 50,
"algorithmName": "HMAC-MD5 (key = $plaintext)"
},
{...},
{...},
{...},
]
}
錯誤
錯誤
Example
Response
{
"success": false,
"message": "錯誤-積分不足。搜尋未完成。"
}