Last active
August 29, 2015 14:02
-
-
Save PaulSec/6bbea72f2fdd68f79e8d to your computer and use it in GitHub Desktop.
Interact with WhatHashIsIt REST API in Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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