GTFOBins.github.io/_gtfobins/busybox.md
2018-10-05 18:55:38 +01:00

741 B

description functions
BusyBox may contain many UNIX utilities, run `busybox --list-full` to check what GTFBins binaries are supported. Here some example.
shell file-upload file-write file-read suid sudo
code
busybox sh
description code
Serve files in the local folder running an HTTP server. export LPORT=12345 busybox httpd -f -p $LPORT -h .
code
LFILE=file_to_write busybox sh -c 'echo "DATA" > $LFILE'
code
LFILE=file_to_read ./busybox cat "$LFILE"
description code
It may drop the SUID privileges depending on the compilation flags and the runtime configuration. ./busybox sh
code
sudo busybox sh