1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00

Add vi(m)-style shell spawning to the less binary

Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
_Magenta_ 2022-12-16 20:13:01 +03:00 committed by GitHub
parent 182c5d3b48
commit 3f03bc2af9
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,9 @@ functions:
- code: |
VISUAL="/bin/sh -c '/bin/sh'" less /etc/profile
v
- code: |
less /etc/profile
v:shell
file-read:
- code: less file_to_read
- description: This is useful when `less` is used as a pager by another binary to read a different file.