From 72475069fdf75f094a8606dcf29a65af344e0108 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Mon, 30 Mar 2026 11:38:25 +0200 Subject: Add README.md --- README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 README.md (limited to 'README.md') 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 + ``` -- cgit v1.2.3