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"))