Add files via upload

This commit is contained in:
David Schütz 2017-01-14 12:13:02 +01:00 committed by GitHub
parent 1ac0f7ff2d
commit a904948af1
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ import urllib2 as urllib
BLUE, RED, WHITE, YELLOW, MAGENTA, GREEN, END = '\33[94m', '\033[91m', '\33[97m', '\33[93m', '\033[1;35m', '\033[1;32m', '\033[0m'
logging.getLogger("scapy.runtime").setLevel(logging.ERROR) # Shut up scapy!
if os.geteuid() != 0:
print("\n{0}ERROR: KickThemOut must run as root. Try again with sudo/root:\n\t{1}$ sudo python kickthemout.py{2}\n").format(RED, GREEN, END)
raise SystemExit
try:
from scapy.all import *
import scan, spoof