mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +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: |
|
- code: |
|
||||||
VISUAL="/bin/sh -c '/bin/sh'" less /etc/profile
|
VISUAL="/bin/sh -c '/bin/sh'" less /etc/profile
|
||||||
v
|
v
|
||||||
|
- code: |
|
||||||
|
less /etc/profile
|
||||||
|
v:shell
|
||||||
file-read:
|
file-read:
|
||||||
- code: less file_to_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.
|
- 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