summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-01-13 08:45:40 -0500
committerMalfurious <m@lfurio.us>2024-01-13 17:22:12 -0500
commit03e1f242f69903fcd132010228259231301b3f43 (patch)
tree492e1288a9854fe7bc54a460acab5ca31bd51d20
parent074a15310b8bbeeeeb00bf5ab5877c12f1ca1861 (diff)
downloadnsploit-03e1f242f69903fcd132010228259231301b3f43.tar.gz
nsploit-03e1f242f69903fcd132010228259231301b3f43.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__