Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python2
# ca0s {at} ka0labs.net
# do something like this to get a proper input file. replace "1" with the position of the client's ip
# $ cat access.log | cut -d' ' -f 1 | sort | uniq -c | sort
# map.png is any world map. i use https://www.ka0labs.net/ca0s/b/map.png
# example outputs at
# https://www.ka0labs.net/ca0s/b/traffic.png
# https://www.ka0labs.net/ca0s/b/traffic2.png
#!/bin/env python2
# quick'n dirty http file transfer connection hanging
# ca0s @ ka0labs.net
import argparse
import socket
import sys
httpquery = ('''POST %s HTTP/1.1

Keybase proof

I hereby claim:

  • I am ca0s on github.
  • I am ca0s (https://keybase.io/ca0s) on keybase.
  • I have a public key whose fingerprint is 934E ACB3 C857 033B 6692 6307 0DCC 241E 962D D18C

To claim this, I am signing this object: