mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-12 15:01:51 +01:00
cupsfilter (package: cups)
This commit is contained in:
parent
bb4050810e
commit
46bbaaf6d6
21
_gtfobins/cupsfilter.md
Normal file
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
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user