diff options
-rw-r--r-- | libmproxy/controller.py | 1 | ||||
-rw-r--r-- | libmproxy/dump.py | 2 | ||||
-rw-r--r-- | libmproxy/proxy.py | 2 | ||||
-rwxr-xr-x | mitmdump | 6 | ||||
-rwxr-xr-x | mitmproxy | 4 |
5 files changed, 7 insertions, 8 deletions
diff --git a/libmproxy/controller.py b/libmproxy/controller.py index 524b2513..756e51e6 100644 --- a/libmproxy/controller.py +++ b/libmproxy/controller.py @@ -13,7 +13,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -import sys import Queue, threading should_exit = False diff --git a/libmproxy/dump.py b/libmproxy/dump.py index d1bdfb3f..2ad88cfc 100644 --- a/libmproxy/dump.py +++ b/libmproxy/dump.py @@ -1,5 +1,5 @@ import sys, os -import flow, filt, utils, script +import flow, filt, utils class DumpError(Exception): pass diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py index 54becb39..5a2a4f43 100644 --- a/libmproxy/proxy.py +++ b/libmproxy/proxy.py @@ -5,7 +5,7 @@ Development started from Neil Schemenauer's munchy.py """ -import sys, os, string, socket, select, time +import sys, os, string, socket, time import shutil, tempfile, threading import optparse, SocketServer, ssl import utils, flow @@ -15,10 +15,10 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -import sys, os.path -from libmproxy import proxy, dump, utils, cmdline +import sys +from libmproxy import proxy, dump, cmdline from libmproxy.version import VERSION -from optparse import OptionParser, OptionGroup +from optparse import OptionParser if __name__ == '__main__': @@ -15,8 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -import sys, os.path -from libmproxy import proxy, controller, console, utils, flow, cmdline +import sys +from libmproxy import proxy, console, cmdline from libmproxy.version import VERSION from optparse import OptionParser, OptionGroup |