Skip to content

Commit

Permalink
Replace more suid-limited execution with a suid-enabled read example
Browse files Browse the repository at this point in the history
  • Loading branch information
epinna committed Jun 17, 2018
1 parent 7fa5b1e commit 50ffed4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions _gtfobins/more.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ functions:
- code: |
TERM= sudo -E more /etc/profile
!/bin/sh
suid-limited:
suid-enabled:
- code: |
TERM= ./more /etc/profile
!/bin/sh
./more file_to_read
file-read:
- code: |
more file_to_read
Expand Down

0 comments on commit 50ffed4

Please sign in to comment.