From 46bbaaf6d67b21155c2685353e9141e75cd8f12a Mon Sep 17 00:00:00 2001 From: Michalis Papadopoullos Date: Sun, 10 Jan 2021 17:17:37 +0200 Subject: [PATCH] cupsfilter (package: cups) --- _gtfobins/cupsfilter.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 _gtfobins/cupsfilter.md diff --git a/_gtfobins/cupsfilter.md b/_gtfobins/cupsfilter.md new file mode 100644 index 0000000..78f8c93 --- /dev/null +++ b/_gtfobins/cupsfilter.md @@ -0,0 +1,21 @@ +--- +description: | + cupsfilter - convert a file to another format using cups filters (deprecated). + By default, it converts the file into a PDF ( default output mime: application/pdf ). + Available options: + -i "mime/type" # input mime/type + -m "mime/type" # output mime/type +functions: + file-read: + - code: | + LFILE=file_to_read + cupsfilter $LFILE + sudo: + - code: | + LFILE=file_to_read + sudo cupsfilter $LFILE + suid: + - code: | + LFILE=file_to_read + ./cupsfilter $LFILE +---