Created
June 17, 2013 00:19
-
-
Save stephenR/5793976 to your computer and use it in GitHub Desktop.
Defcon CTF 2013 score
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
#!/usr/bin/env python | |
import httplib | |
import json | |
c = httplib.HTTPConnection('public-2013.legitbs.net') | |
c.request("GET", "/leaderboard") | |
j = json.loads(c.getresponse().read()) | |
print sorted(j, key=lambda x: int(x["score"])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment