From fda5a9873ee67350fe27ff140064793bdc71b206 Mon Sep 17 00:00:00 2001 From: Rupert Edwards Date: Tue, 22 Dec 2015 00:05:40 -0500 Subject: [PATCH] Update toriptables2.py --- toriptables2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toriptables2.py b/toriptables2.py index e068551..1ad64da 100755 --- a/toriptables2.py +++ b/toriptables2.py @@ -44,6 +44,7 @@ DNSPort 53 def restart_tor(): fnull = open(devnull, 'w') call(["service", "tor", "restart"], stdout=fnull, stderr=fnull) + print(" {0}".format("[\033[92m+\033[0m] Anonymizer \033[92mON\033[0m")) call(["iptables", "-t", "nat", "-A", "OUTPUT", "-m", "owner", "--uid-owner", "%s" % self.tor_uid, "-j", "RETURN"]) @@ -88,7 +89,6 @@ if __name__ == '__main__': if args.load: load_tables.load_iptables_rules() - print(" {0}".format("[\033[92m+\033[0m] Anonymizer \033[92mON\033[0m")) elif args.flush: load_tables.flush_iptables_rules() print(" {0}".format("[\033[93m!\033[0m] Anonymizer \033[91mOFF\033[0m"))