Skip to content
Brandon edited this page May 19, 2021 · 11 revisions

You can use this as an API.

To do so:

from name_that_hash import runner
hashes = ["5f4dcc3b5aa765d61d8327deb882cf99", "a6105c0a611b41b08f1209506350279e"] # Your hashes must be a list of hashes

output = runner.api_return_hashes_as_json(hashes)

print(output)

The output will be returned as JSON. You will need to load this to use:

import json

output_as_json = json.loads(output)

You can also return it as a Python dictionary:

# api_return_hashes_as_dict

from name_that_hash import runner
hashes = ["5f4dcc3b5aa765d61d8327deb882cf99", "a6105c0a611b41b08f1209506350279e"] # Your hashes must be a list of hashes

output = runner.api_return_hashes_as_dict(hashes)

print(output)

JSON Input

Pass a dictionary with {"base64": True} to the API to have it decode all inputs as Base64, like:

from name_that_hash import runner
hashes = ["5f4dcc3b5aa765d61d8327deb882cf99", "a6105c0a611b41b08f1209506350279e"] # Your hashes must be a list of hashes

output = runner.api_return_hashes_as_json(hashes, {"base64": True})

print(output)

Popular only

Don't want to be spammed with a lost of possible types? Get only the popular ones by adding {"popular_only":True} to the API call, like:

from name_that_hash import runner
hashes = ["5f4dcc3b5aa765d61d8327deb882cf99", "a6105c0a611b41b08f1209506350279e"] # Your hashes must be a list of hashes

output = runner.api_return_hashes_as_json(hashes, {"popular_only": True})

print(output)

Output Format

The output format is:

Important Notes:

  • The key is the hash used.
  • The list is ordered from most popular to least popular.
{
  "5f4dcc3b5aa765d61d8327deb882cf99": [
    {
      "name": "MD5",
      "hashcat": 0,
      "john": "raw-md5",
      "extended": false,
      "description": null
    },
    {
      "name": "NTLM",
      "hashcat": 1000,
      "john": "nt",
      "extended": false,
      "description": "Often used in Windows Active Directory."
    },
    {
      "name": "Double MD5",
      "hashcat": 2600,
      "john": null,
      "extended": false,
      "description": null
    },
    {
      "name": "LM",
      "hashcat": 3000,
      "john": "lm",
      "extended": false,
      "description": null
    },
    {
      "name": "RIPEMD-128",
      "hashcat": null,
      "john": "ripemd-128",
      "extended": false,
      "description": null
    },
    {
      "name": "Haval-128",
      "hashcat": null,
      "john": "haval-128-4",
      "extended": false,
      "description": null
    },
    {
      "name": "Tiger-128",
      "hashcat": null,
      "john": null,
      "extended": false,
      "description": null
    },
    {
      "name": "Skein-256(128)",
      "hashcat": null,
      "john": null,
      "extended": false,
      "description": null
    },
    {
      "name": "Skein-512(128)",
      "hashcat": null,
      "john": null,
      "extended": false,
      "description": null
    },
    {
      "name": "Lotus Notes/Domino 5",
      "hashcat": 8600,
      "john": "lotus5",
      "extended": false,
      "description": null
    },
    {
      "name": "Skype",
      "hashcat": 23,
      "john": null,
      "extended": false,
      "description": null
    },
    {
      "name": "ZipMonster",
      "hashcat": null,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "PrestaShop",
      "hashcat": 11000,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5(md5(md5($pass)))",
      "hashcat": 3500,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5(strtoupper(md5($pass)))",
      "hashcat": 4300,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5(sha1($pass))",
      "hashcat": 4400,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($pass.$salt)",
      "hashcat": 10,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($salt.$pass)",
      "hashcat": 20,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5(unicode($pass).$salt)",
      "hashcat": 30,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($salt.unicode($pass))",
      "hashcat": 40,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "HMAC-MD5 (key = $pass)",
      "hashcat": 50,
      "john": "hmac-md5",
      "extended": true,
      "description": null
    },
    {
      "name": "HMAC-MD5 (key = $salt)",
      "hashcat": 60,
      "john": "hmac-md5",
      "extended": true,
      "description": null
    },
    {
      "name": "md5(md5($salt).$pass)",
      "hashcat": 3610,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($salt.md5($pass))",
      "hashcat": 3710,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($pass.md5($salt))",
      "hashcat": 3720,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($salt.$pass.$salt)",
      "hashcat": 3810,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5(md5($pass).md5($salt))",
      "hashcat": 3910,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($salt.md5($salt.$pass))",
      "hashcat": 4010,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($salt.md5($pass.$salt))",
      "hashcat": 4110,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($username.0.$pass)",
      "hashcat": 4210,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "MD2",
      "hashcat": null,
      "john": "md2",
      "extended": false,
      "description": null
    },
    {
      "name": "Snefru-128",
      "hashcat": null,
      "john": "snefru-128",
      "extended": false,
      "description": null
    },
    {
      "name": "Domain Cached Credentials 2",
      "hashcat": 2100,
      "john": "mscach2",
      "extended": false,
      "description": null
    },
    {
      "name": "DNSSEC(NSEC3)",
      "hashcat": 8300,
      "john": null,
      "extended": false,
      "description": null
    },
    {
      "name": "RAdmin v2.x",
      "hashcat": 9900,
      "john": "radmin",
      "extended": false,
      "description": null
    },
    {
      "name": "Cisco Type 7",
      "hashcat": null,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "BigCrypt",
      "hashcat": null,
      "john": "bigcrypt",
      "extended": true,
      "description": null
    }
  ],
  "a6105c0a611b41b08f1209506350279e": [
    {
      "name": "MD5",
      "hashcat": 0,
      "john": "raw-md5",
      "extended": false,
      "description": null
    },
    {
      "name": "NTLM",
      "hashcat": 1000,
      "john": "nt",
      "extended": false,
      "description": "Often used in Windows Active Directory."
    },
    {
      "name": "Double MD5",
      "hashcat": 2600,
      "john": null,
      "extended": false,
      "description": null
    },
    {
      "name": "LM",
      "hashcat": 3000,
      "john": "lm",
      "extended": false,
      "description": null
    },
    {
      "name": "RIPEMD-128",
      "hashcat": null,
      "john": "ripemd-128",
      "extended": false,
      "description": null
    },
    {
      "name": "Haval-128",
      "hashcat": null,
      "john": "haval-128-4",
      "extended": false,
      "description": null
    },
    {
      "name": "Tiger-128",
      "hashcat": null,
      "john": null,
      "extended": false,
      "description": null
    },
    {
      "name": "Skein-256(128)",
      "hashcat": null,
      "john": null,
      "extended": false,
      "description": null
    },
    {
      "name": "Skein-512(128)",
      "hashcat": null,
      "john": null,
      "extended": false,
      "description": null
    },
    {
      "name": "Lotus Notes/Domino 5",
      "hashcat": 8600,
      "john": "lotus5",
      "extended": false,
      "description": null
    },
    {
      "name": "Skype",
      "hashcat": 23,
      "john": null,
      "extended": false,
      "description": null
    },
    {
      "name": "ZipMonster",
      "hashcat": null,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "PrestaShop",
      "hashcat": 11000,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5(md5(md5($pass)))",
      "hashcat": 3500,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5(strtoupper(md5($pass)))",
      "hashcat": 4300,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5(sha1($pass))",
      "hashcat": 4400,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($pass.$salt)",
      "hashcat": 10,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($salt.$pass)",
      "hashcat": 20,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5(unicode($pass).$salt)",
      "hashcat": 30,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($salt.unicode($pass))",
      "hashcat": 40,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "HMAC-MD5 (key = $pass)",
      "hashcat": 50,
      "john": "hmac-md5",
      "extended": true,
      "description": null
    },
    {
      "name": "HMAC-MD5 (key = $salt)",
      "hashcat": 60,
      "john": "hmac-md5",
      "extended": true,
      "description": null
    },
    {
      "name": "md5(md5($salt).$pass)",
      "hashcat": 3610,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($salt.md5($pass))",
      "hashcat": 3710,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($pass.md5($salt))",
      "hashcat": 3720,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($salt.$pass.$salt)",
      "hashcat": 3810,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5(md5($pass).md5($salt))",
      "hashcat": 3910,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($salt.md5($salt.$pass))",
      "hashcat": 4010,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($salt.md5($pass.$salt))",
      "hashcat": 4110,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "md5($username.0.$pass)",
      "hashcat": 4210,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "MD2",
      "hashcat": null,
      "john": "md2",
      "extended": false,
      "description": null
    },
    {
      "name": "Snefru-128",
      "hashcat": null,
      "john": "snefru-128",
      "extended": false,
      "description": null
    },
    {
      "name": "Domain Cached Credentials 2",
      "hashcat": 2100,
      "john": "mscach2",
      "extended": false,
      "description": null
    },
    {
      "name": "DNSSEC(NSEC3)",
      "hashcat": 8300,
      "john": null,
      "extended": false,
      "description": null
    },
    {
      "name": "RAdmin v2.x",
      "hashcat": 9900,
      "john": "radmin",
      "extended": false,
      "description": null
    },
    {
      "name": "Cisco Type 7",
      "hashcat": null,
      "john": null,
      "extended": true,
      "description": null
    },
    {
      "name": "BigCrypt",
      "hashcat": null,
      "john": "bigcrypt",
      "extended": true,
      "description": null
    }
  ]
}
Clone this wiki locally