summaryrefslogtreecommitdiffstats
path: root/sploit/comm
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2025-01-01 06:51:10 -0500
committerMalfurious <m@lfurio.us>2025-01-01 06:51:10 -0500
commitf01ec45e773291c3659a1dcaf8cd9a51ece19823 (patch)
tree0db3ef432a6f3b06c07060bdb0dd61c7fd164ad2 /sploit/comm
parent3f5532857807d628a5dadaf5c30a384f873878ea (diff)
parent221742f7c5c89dc50ec4374bed5d2ccc0d7534bf (diff)
downloadnsploit-f01ec45e773291c3659a1dcaf8cd9a51ece19823.tar.gz
nsploit-f01ec45e773291c3659a1dcaf8cd9a51ece19823.zip
Merge branch 'pkg-reorg'
This branch is a rework of nsploit's intended package imports. User scripts need only import a given nsploit subpackage to obtain that package's full collection of classes, functions, etc. This is the new intended style for exploit scripts. Along the way, some modules are reorganized into different packages, the "builder" package is renamed to "payload", and some unnecessary files are consolidated. * pkg-reorg: main: Automatically provide top-level sploit modules to user scripts sploit: Expose modules' contents through package Remove extra "main.py" file comm: Promote from module to package log: Move to sploit.util package util: Promote from module to package builder: Rename package to payload and expose contents rev: Expose modules' contents through package Remove outer __init__.py file
Diffstat (limited to '')
-rw-r--r--sploit/comm/__init__.py1
-rw-r--r--sploit/comm/comm.py (renamed from sploit/comm.py)2
2 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 522d540..3bc448e 100644
--- a/sploit/comm.py
+++ b/sploit/comm/comm.py
@@ -4,8 +4,8 @@ import os
import sys
import select
-from sploit.log import *
from sploit.until import bind
+from sploit.util.log import *
class Comm:
logonread = True