1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00
GTFOBins.github.io/_gtfobins/busybox.md
2018-06-01 12:44:34 +02:00

770 B

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