From 1030949257d1d0a4af8cbdccedec9f501fcbedd3 Mon Sep 17 00:00:00 2001 From: hamperfait Date: Fri, 7 Sep 2018 19:40:49 +0200 Subject: [PATCH] Added whitelist option to the menu --- kickthemout.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kickthemout.py b/kickthemout.py index 01bf62e..d49f70e 100644 --- a/kickthemout.py +++ b/kickthemout.py @@ -89,6 +89,8 @@ def optionBanner(): sleep(0.2) print('\t{}[{}3{}]{} Kick ALL Off'.format(YELLOW, RED, YELLOW, WHITE)) sleep(0.2) + print('\t{}[{}4{}]{} Kick ALL BUT SOME Off (whitelist)'.format(YELLOW, RED, YELLOW, WHITE)) + sleep(0.2) print('\n\t{}[{}E{}]{} Exit KickThemOut\n'.format(YELLOW, RED, YELLOW, WHITE)) @@ -587,9 +589,7 @@ def kickwhitelistoff(): except KeyboardInterrupt: shutdown() - print(someTargets) someTargets = [x for x in range(0, len(onlineIPs)) if x not in list(map(int, someTargets))] - print(someTargets) someIPList = "" for i in someTargets: try: