From 0f00627964a4b2e515108401fa2cfe94600ad648 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Thu, 2 Jan 2025 19:17:34 -0500 Subject: 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 --- sploit/rev/gadget.py | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 sploit/rev/gadget.py (limited to 'sploit/rev/gadget.py') diff --git a/sploit/rev/gadget.py b/sploit/rev/gadget.py deleted file mode 100644 index cc69723..0000000 --- a/sploit/rev/gadget.py +++ /dev/null @@ -1,25 +0,0 @@ -from dataclasses import dataclass, field -from sploit.types.index_entry import IndexEntry - -@dataclass -class Gadget(IndexEntry): - """ - Basic gadget description object - - base (int): The location this gadget is found at. What `base` is relative - to depends on context. - - asm (list[re.Match]): A list of assembly instructions matched by the gadget - search query. - """ - - base: int = 0 - asm: list = field(default_factory=list) - - def __repr__(self): - """Return human-readable Gadget.""" - s = hex(self.base) - if len(self.asm) > 0: - asm = "; ".join([ m.string for m in self.asm ]) - s += f", '{asm}'" - return f"Gadget({s})" -- cgit v1.2.3