@@ 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;