From 156d8cd99bede702ef64493a50d6c7b0ea3ddd45 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Tue, 8 Feb 2011 00:15:02 +0000 Subject: [PATCH] Directory restyling --- extra/magic/__init__.py | 3 +++ {lib/contrib => extra/magic}/magic.py | 0 extra/multipart/__init__.py | 3 +++ {lib/contrib => extra/multipart}/multipartpost.py | 0 lib/contrib/__init__.py | 10 ---------- lib/request/connect.py | 2 +- 6 files changed, 7 insertions(+), 11 deletions(-) create mode 100644 extra/magic/__init__.py rename {lib/contrib => extra/magic}/magic.py (100%) create mode 100644 extra/multipart/__init__.py rename {lib/contrib => extra/multipart}/multipartpost.py (100%) delete mode 100644 lib/contrib/__init__.py diff --git a/extra/magic/__init__.py b/extra/magic/__init__.py new file mode 100644 index 000000000..236166b59 --- /dev/null +++ b/extra/magic/__init__.py @@ -0,0 +1,3 @@ +#!/usr/bin/env python + +pass diff --git a/lib/contrib/magic.py b/extra/magic/magic.py similarity index 100% rename from lib/contrib/magic.py rename to extra/magic/magic.py diff --git a/extra/multipart/__init__.py b/extra/multipart/__init__.py new file mode 100644 index 000000000..236166b59 --- /dev/null +++ b/extra/multipart/__init__.py @@ -0,0 +1,3 @@ +#!/usr/bin/env python + +pass diff --git a/lib/contrib/multipartpost.py b/extra/multipart/multipartpost.py similarity index 100% rename from lib/contrib/multipartpost.py rename to extra/multipart/multipartpost.py diff --git a/lib/contrib/__init__.py b/lib/contrib/__init__.py deleted file mode 100644 index 24efa8708..000000000 --- a/lib/contrib/__init__.py +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env python - -""" -$Id$ - -Copyright (c) 2006-2010 sqlmap developers (http://sqlmap.sourceforge.net/) -See the file 'doc/COPYING' for copying permission -""" - -pass diff --git a/lib/request/connect.py b/lib/request/connect.py index 1a8a7301a..636132427 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -15,7 +15,7 @@ import urllib2 import urlparse import traceback -from lib.contrib import multipartpost +from extra.multipart import multipartpost from lib.core.agent import agent from lib.core.common import average from lib.core.common import calculateDeltaSeconds