Skip to content

Commit

Permalink
Add sudo-enabled to cut
Browse files Browse the repository at this point in the history
  • Loading branch information
epinna committed Jun 16, 2018
1 parent 659002a commit fce5a22
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions _gtfobins/cut.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ functions:
sudo-enabled:
- code: |
LFILE=file_to_read
sudo cut -d "" "$LFILE" -f1
sudo cut -d "" -f1 "$LFILE"
suid-enabled:
- code: |
LFILE=file_to_read
./cut -d "" -f1 "$LFILE"
file-read:
- code: |
LFILE=file_to_read
cut -d "" "$LFILE" -f1
cut -d "" -f1 "$LFILE"
---

0 comments on commit fce5a22

Please sign in to comment.