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:
parent
182c5d3b48
commit
3f03bc2af9
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user