Skip to content

Instantly share code, notes, and snippets.

@PaulSec
Last active August 29, 2015 14:02
Show Gist options
  • Save PaulSec/6bbea72f2fdd68f79e8d to your computer and use it in GitHub Desktop.
Save PaulSec/6bbea72f2fdd68f79e8d to your computer and use it in GitHub Desktop.
Interact with WhatHashIsIt REST API in Python
import requests
import json
req = requests.get('https://what-hash-is-it.herokuapp.com/API/hash/098f6bcd4621d373cade4e832627b4f6')
data = json.loads(req.content)
if (len(data) > 0):
print data
else:
print "[-] No result found for this hash."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment