diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-30 11:38:25 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-30 11:38:25 +0200 |
| commit | 72475069fdf75f094a8606dcf29a65af344e0108 (patch) | |
| tree | 7ca548d0def738fb981e4de246fc17fcb8c94969 | |
| parent | 60182e2e8b01466e8eec43ec1ed02c52e53bd6b3 (diff) | |
| download | darkly-72475069fdf75f094a8606dcf29a65af344e0108.tar.gz darkly-72475069fdf75f094a8606dcf29a65af344e0108.zip | |
Add README.md
| -rw-r--r-- | README.md | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..097ec28 --- /dev/null +++ b/README.md @@ -0,0 +1,41 @@ +# Darkly + +*Introduction to cybersecurity* + +## Resources + +- [OWASP](https://owasp.org/) provides cybersecurity resources for free +- [OWASP top 10](https://owasp.org/Top10/2025/) most critical web security risks +- [WSTG](https://owasp.org/www-project-web-security-testing-guide/) Web Security Testing Guide + +## How-to + +1. Start the VM + + ```bash + qemu-system-x86_64 \ + -enable-kvm \ + -m 2048 \ + -smp 2 \ + -cdrom Darkly_i386.iso \ + -boot order=d \ + -nic user,hostfwd=tcp:127.0.0.1:8080-:80 + ``` + +1. Make the host answer on the same address as the VM + + ```bash + sudo ip address add 10.0.2.15/32 dev lo + ``` + +1. Forward traffic to the VM + + ```bash + sudo socat TCP-LISTEN:80,bind=10.0.2.15,reuseaddr,fork TCP:127.0.0.1:8080 + ``` + +1. Delete the address when done + + ```bash + sudo ip address delete 10.0.2.15/32 dev lo + ``` |
