Skip to content

Instantly share code, notes, and snippets.

@infra-0-0
infra-0-0 / pastebin.py
Last active January 31, 2016 21:58
pastebin.py
import sys
from urllib import urlopen, urlencode
from time import time
from copy import copy
from re import findall
PASTEBIN_URL = 'https://pastebin.com/api/api_post.php'
PASTEBIN_LOGIN_URL = 'https://pastebin.com/api/api_login.php'
keys = []
@infra-0-0
infra-0-0 / hulk.py
Created January 27, 2016 03:02
hulk.py from honeypot
# Infi-Zeal Technologies
# Regards,
# Hardeep Singh
# ----------------------------------------------------------------------------------------------
# HULK - HTTP Unbearable Load King
#
# this tool is a dos tool that is meant to put heavy load on HTTP servers in order to bring them
# to their knees by exhausting the resource pool, its is meant for research purposes only
# and any malicious usage of this tool is prohibited.
@infra-0-0
infra-0-0 / flyforbid.json
Created January 26, 2016 20:04
flyforbid.json from DJI-GO.apk sha1sum 226e8acfd194deb6917ef00a54bc5a131a888252, formatted using python's json.dumps(obj,indent=4)
This file has been truncated, but you can view the full file.
{
"release_limits": [
{
"begin_at": null,
"area_id": 1,
"name": "Eagle Airport",
"level": 0,
"country": 840,
"updated_at": 1429598267,
"disable": 0,
@infra-0-0
infra-0-0 / chacha20.py
Created January 18, 2016 21:38
DO NOT USE! PROBABLY BROKEN! Pure-Python2.x Friendly Implementation of DJB's ChaCha20
# Pure Python ChaCha20
# Based on Numpy implementation: https://gist.github.com/chiiph/6855750
# Based on http://cr.yp.to/chacha.html
#
# I wanted an implementation of ChaCha in clean, understandable Python
# as a way to get a handle on the algorithm for porting to another language.
# There are plenty of bindings but few pure implementations, because
# Pure Python is too slow for normal practical use in Cryptography.
#
# The preceding implementation used NumPy, which avoided a lot of the