Skip to content

Instantly share code, notes, and snippets.

@0xItx
0xItx / reverse-tether.sh
Last active September 10, 2015 07:51 — forked from mrenouf/reverse-tether.sh
USB reverse tethering script (tested with Ubuntu 15.04 & Samasung Galaxy)
#!/bin/bash
set -x
ADB="$(which 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;