From 4df98e13f7956a5637b79aeee837c91e8fa924eb Mon Sep 17 00:00:00 2001 From: "Taisen.fr (Dev)" Date: Fri, 8 Nov 2024 07:50:05 +0100 Subject: [PATCH] Update Docker --- README.md | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index cc85c4a..3f422d4 100644 --- a/README.md +++ b/README.md @@ -73,15 +73,11 @@ cd .\VulnerableLightApp\ ``` -## 🔧 Build +## 🔧🔥 Build and Run -```PowerShell -dotnet build -``` - - -## 🔥 Run +You can use **Dotnet** or **Docker** +### Dotnet ```PowerShell dotnet run [--url=] @@ -90,17 +86,24 @@ dotnet run [--url=] Alternatively, you can use bin files : ```PowerShell +dotnet build .\bin\Debug\net8.0\VulnerableWebApplication.exe [--url=] ``` - -## Docker +### Docker ```bash -docker build -t VulnerableLightApp -docker run VulnerableLightApp -p 3000:3000 +docker build -t vulnerablelightapp . +docker run -p 3000:3000 vulnerablelightapp ``` +### first request + +Default : `127.0.0.1:3000` + +```sh +curl -k https://127.0.0.1:3000 +``` ## 🛠️ Debug