Skip to content

Commit

Permalink
Inhibit actual locking in flock
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus-and committed Jun 4, 2018
1 parent 3f8a62a commit 669f8f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _gtfobins/flock.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
functions:
execute-interactive:
- code: flock /tmp /bin/sh
- code: flock -u / /bin/sh
sudo-enabled:
- code: sudo flock /tmp /bin/sh
- code: sudo flock -u / /bin/sh
suid-enabled:
- code: ./flock /tmp /bin/sh -p
- code: ./flock -u / /bin/sh -p
---

0 comments on commit 669f8f0

Please sign in to comment.