From 3ddac874f6114503395098d85d9f77e86bb34bc6 Mon Sep 17 00:00:00 2001 From: Rupert Edwards Date: Mon, 4 Jan 2016 02:14:06 -0500 Subject: [PATCH] Updated toriptables2.py Refactor --- toriptables2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toriptables2.py b/toriptables2.py index 2b85aa6..c0a76ff 100755 --- a/toriptables2.py +++ b/toriptables2.py @@ -19,8 +19,8 @@ from argparse import ArgumentParser class TorIptables(object): def __init__(self): - self.local_dnsport = "53" # DNSPort - self.virtual_net = "10.0.0.0/10" # VirtualAddrNetwork + self.local_dnsport = "53" # DNSPort + self.virtual_net = "10.0.0.0/10" # VirtualAddrNetwork self.non_tor_net = ["192.168.0.0/16", "172.16.0.0/12"] self.non_tor = ["127.0.0.0/9", "127.128.0.0/10", "127.0.0.0/8"] self.tor_uid = getoutput("id -ur debian-tor") # Tor user uid