Skip to content

Instantly share code, notes, and snippets.

View Unshorten_URLs.py
#!/usr/bin/python
#https://colin.guru/index.php?title=Unshorten_URLs
import requests, fileinput
import sys
def main(argv):
inputfile = ''
# ensure correct usage
if len(sys.argv) < 2:
print "Usage : " + sys.argv[0] + " <inputfile>"
View reverse-tether.sh
#!/bin/bash
ADB="/home/mrenouf/bin/adb"
# We need root on the host to mess with networking
if [[ $(whoami) != "root" ]]; then
echo "You must be root to run this script!"
exit 1
fi;
You can’t perform that action at this time.