diff options
-rw-r--r-- | sploit/builder/payload.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sploit/builder/payload.py b/sploit/builder/payload.py index cef17e0..cf105c6 100644 --- a/sploit/builder/payload.py +++ b/sploit/builder/payload.py @@ -36,6 +36,9 @@ class Payload: self.payload = value + self.payload return self + def end(self): + return self.sym.base + len(self) + def bin(self, *values, sym=None): return self._append(b''.join(values), sym=self._name('bin', sym)) |