summaryrefslogtreecommitdiffstats
path: root/wordlists
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2021-09-04 21:04:00 -0400
committerMalfurious <m@lfurio.us>2021-09-07 23:02:19 -0400
commit66acac774b52856a9d15bd8a12e6a55a60209667 (patch)
tree69aeb2c6f0e17ddd2f74444c0e3117a8ef12250b /wordlists
parent94829fc6a5ef9d8e36af8f65a165dd733d5a0f50 (diff)
downloadlib-des-gnux-66acac774b52856a9d15bd8a12e6a55a60209667.tar.gz
lib-des-gnux-66acac774b52856a9d15bd8a12e6a55a60209667.zip
sploit: Add payload builder module
class Payload is a tool for constructing stack-smash payloads and ROP chains. Its design is intended to abstract away some of the more tedious details of crafting a payload. Payload utilizes mem.Symtbl internally to optionally manage a collection of named offsets into its own buffer (these are usually in reference to entities appended to the payload via its main API). Alternatively, the API calls to append any entity will return the address of that entity as well. Returned (and looked-up) addresses are relative to the beginning of the payload by default. However, when the payload is constructed with a known base address value, these become absolute. This is useful for reusing addresses later in the payload body. class Placeholder is designed to be functionally compatible with bytearrays and bytestrings. When constructed, they take the value of 'zero', according to the current arch config. This facility enables some API's to detect whether a dummy value was passed as a required argument when said argument _may_ be unnecessary in niche situations. Signed-off-by: Malfurious <m@lfurio.us> Signed-off-by: dusoleil <howcansocksbereal@gmail.com>
Diffstat (limited to 'wordlists')
0 files changed, 0 insertions, 0 deletions