diff options
author | Malfurious <m@lfurio.us> | 2025-01-02 19:17:34 -0500 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2025-01-04 23:54:51 -0500 |
commit | 0f00627964a4b2e515108401fa2cfe94600ad648 (patch) | |
tree | 56da2ccaf393a1124220cc187a7225a4efcfbcba /sploit/payload | |
parent | 640726aa11369d328c1cdfe00b4344b6a925729c (diff) | |
download | nsploit-0f00627964a4b2e515108401fa2cfe94600ad648.tar.gz nsploit-0f00627964a4b2e515108401fa2cfe94600ad648.zip |
Rename sploit package to nsploit
Rename all affected files, references to file paths, and module imports
within the code. Since this line of development represents a fork from
the original sploit, a name change is seen as necessary to distinguish
the projects, as well as allow them to be installed side by side.
What does the "n" mean? Great question! You can think of it as meaning
"new sploit" if you want, though that's not quite intended. The name is
simply distinct and easy to pronounce. I had originally settled on
"msploit" (something along the lines of "Malf's sploit"), but this name
is too close to "metasploit" for me - and N is right next to it on the
keyboard.
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to '')
-rw-r--r-- | nsploit/payload/__init__.py (renamed from sploit/payload/__init__.py) | 0 | ||||
-rw-r--r-- | nsploit/payload/fmtstring.py (renamed from sploit/payload/fmtstring.py) | 6 | ||||
-rw-r--r-- | nsploit/payload/gadhint.py (renamed from sploit/payload/gadhint.py) | 4 | ||||
-rw-r--r-- | nsploit/payload/payload.py (renamed from sploit/payload/payload.py) | 10 | ||||
-rw-r--r-- | nsploit/payload/payload_entry.py (renamed from sploit/payload/payload_entry.py) | 4 | ||||
-rw-r--r-- | nsploit/payload/ret2dlresolve.py (renamed from sploit/payload/ret2dlresolve.py) | 12 | ||||
-rw-r--r-- | nsploit/payload/rop.py (renamed from sploit/payload/rop.py) | 8 |
7 files changed, 22 insertions, 22 deletions
diff --git a/sploit/payload/__init__.py b/nsploit/payload/__init__.py index da47cc1..da47cc1 100644 --- a/sploit/payload/__init__.py +++ b/nsploit/payload/__init__.py diff --git a/sploit/payload/fmtstring.py b/nsploit/payload/fmtstring.py index 54da6f2..1ec4609 100644 --- a/sploit/payload/fmtstring.py +++ b/nsploit/payload/fmtstring.py @@ -29,9 +29,9 @@ function. Interesting formatters include: See `man 3 printf` for more details. """ -from sploit.arch import arch, btoi, itob -from sploit.payload.payload import Payload -from sploit.payload.payload_entry import padalign, padrel +from nsploit.arch import arch, btoi, itob +from nsploit.payload.payload import Payload +from nsploit.payload.payload_entry import padalign, padrel _FMTSTR_MAGIC = b"\xcd" diff --git a/sploit/payload/gadhint.py b/nsploit/payload/gadhint.py index 1bef9f0..1918a79 100644 --- a/sploit/payload/gadhint.py +++ b/nsploit/payload/gadhint.py @@ -1,8 +1,8 @@ import copy from dataclasses import dataclass, field -from sploit.rev.gadget import Gadget -from sploit.types.index_entry import IndexEntry +from nsploit.rev.gadget import Gadget +from nsploit.types.index_entry import IndexEntry @dataclass class GadHint(IndexEntry): diff --git a/sploit/payload/payload.py b/nsploit/payload/payload.py index 2a9521f..295e3c8 100644 --- a/sploit/payload/payload.py +++ b/nsploit/payload/payload.py @@ -1,8 +1,8 @@ -from sploit.arch import itob -from sploit.payload.payload_entry import PayloadEntry -from sploit.types.indextbl import IndexTbl -from sploit.types.index_entry import IndexEntry -from sploit.types.lict import Lict +from nsploit.arch import itob +from nsploit.payload.payload_entry import PayloadEntry +from nsploit.types.indextbl import IndexTbl +from nsploit.types.index_entry import IndexEntry +from nsploit.types.lict import Lict _REPR_DATA_LEN = 64 diff --git a/sploit/payload/payload_entry.py b/nsploit/payload/payload_entry.py index 2f8dbdd..31eb4f8 100644 --- a/sploit/payload/payload_entry.py +++ b/nsploit/payload/payload_entry.py @@ -1,5 +1,5 @@ -from sploit.arch import arch, itob -from sploit.types.index_entry import IndexEntry +from nsploit.arch import arch, itob +from nsploit.types.index_entry import IndexEntry _PLACEHOLDER_MAGIC = b"\xef" diff --git a/sploit/payload/ret2dlresolve.py b/nsploit/payload/ret2dlresolve.py index 8862e22..3dbd2ed 100644 --- a/sploit/payload/ret2dlresolve.py +++ b/nsploit/payload/ret2dlresolve.py @@ -72,12 +72,12 @@ Elf64_Rel.r_info = 0xAAAAAAAABBBBBBBB symidx type """ -from sploit.arch import arch, itob -from sploit.payload.gadhint import GadHint -from sploit.payload.payload import Payload -from sploit.payload.payload_entry import padalign, padlen, pointer -from sploit.payload.rop import ROP -from sploit.rev.r2 import run_cmd +from nsploit.arch import arch, itob +from nsploit.payload.gadhint import GadHint +from nsploit.payload.payload import Payload +from nsploit.payload.payload_entry import padalign, padlen, pointer +from nsploit.payload.rop import ROP +from nsploit.rev.r2 import run_cmd _JMP_SLOT = 0x07 diff --git a/sploit/payload/rop.py b/nsploit/payload/rop.py index 30467de..78f9950 100644 --- a/sploit/payload/rop.py +++ b/nsploit/payload/rop.py @@ -1,9 +1,9 @@ from graphlib import TopologicalSorter -from sploit.arch import arch, btoi, itob -from sploit.payload.gadhint import GadHint -from sploit.payload.payload import Payload -from sploit.payload.payload_entry import padalign, padlen +from nsploit.arch import arch, btoi, itob +from nsploit.payload.gadhint import GadHint +from nsploit.payload.payload import Payload +from nsploit.payload.payload_entry import padalign, padlen _POP_MAGIC = 0xdead _SPM_MAGIC = b"\x69" |