summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-01-13 08:45:40 -0500
committerMalfurious <m@lfurio.us>2024-05-19 17:52:10 -0400
commitca58214730f0f480d15be9552a9455f73e26a907 (patch)
tree65f124c024a5abac46624a5fe0f4d9bec120bbd1
parentc70fc87879f072edd178df502bb1c8c985c9d7f7 (diff)
downloadsploit-ca58214730f0f480d15be9552a9455f73e26a907.tar.gz
sploit-ca58214730f0f480d15be9552a9455f73e26a907.zip
comm: Promote from module to package
This is done to help clean the top-level "sploit" package. Furthermore, there is some planned future work to refactor comm into multiple modules, so this lays some groundwork for that. Signed-off-by: Malfurious <m@lfurio.us>
-rw-r--r--sploit/comm/__init__.py1
-rw-r--r--sploit/comm/comm.py (renamed from sploit/comm.py)0
-rw-r--r--sploit/main.py2
3 files changed, 2 insertions, 1 deletions
diff --git a/sploit/comm/__init__.py b/sploit/comm/__init__.py
new file mode 100644
index 0000000..ffbc402
--- /dev/null
+++ b/sploit/comm/__init__.py
@@ -0,0 +1 @@
+from .comm import *
diff --git a/sploit/comm.py b/sploit/comm/comm.py
index 3bc448e..3bc448e 100644
--- a/sploit/comm.py
+++ b/sploit/comm/comm.py
diff --git a/sploit/main.py b/sploit/main.py
index 0d022f2..5fd5192 100644
--- a/sploit/main.py
+++ b/sploit/main.py
@@ -4,7 +4,7 @@ from os.path import isdir
import tempfile
import traceback
-from sploit.comm import *
+from sploit.comm.comm import *
from sploit.util.log import *
from sploit import __version__