1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 15:59:17 +01:00

cupsfilter (package: cups)

This commit is contained in:
Michalis Papadopoullos 2021-01-10 17:17:37 +02:00 committed by Andrea Cardaci
parent bb4050810e
commit 46bbaaf6d6

21
_gtfobins/cupsfilter.md Normal file

@ -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
---