Moved files and added embed support + binary in repo now

This commit is contained in:
k_lar 2026-02-12 00:21:50 +01:00
parent 8421c6999a
commit 413238d6f4
12 changed files with 1856 additions and 0 deletions

27
bank/Caddyfile Normal file
View file

@ -0,0 +1,27 @@
# Caddyfile za MiTM demo aplikacijo
# Za HTTPS demo z avtomatskimi SSL certifikati
# HTTP verzija - za MiTM demo (paketi vidni v Wireshark)
:8080 {
reverse_proxy localhost:8081
log {
output file /var/log/caddy/mitm-demo-http.log
format console
}
}
# HTTPS verzija - za primerjavo (paketi šifrirani)
# OPOMBA: Za lokalno testiranje uporabite localhost namesto domene
localhost:8443 {
reverse_proxy localhost:8081
tls internal # Uporabi Caddy-jeve self-signed certs za localhost
log {
output file /var/log/caddy/mitm-demo-https.log
format console
}
}
# Za resnično domeno z Let's Encrypt certifikati:
# vasa-domena.com {
# reverse_proxy localhost:8081
# }