From a03d3775128b8f9001859669f504abddd2780aa0 Mon Sep 17 00:00:00 2001 From: JorgeCarvalhoPT <166119788+JorgeCarvalhoPT@users.noreply.github.com> Date: Mon, 13 Jan 2025 11:20:20 +0100 Subject: [PATCH 1/2] Create 2.6 Lab how to set up lab CMD using docker --- _pages/2 - Type Checking/2.6 Lab | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 _pages/2 - Type Checking/2.6 Lab diff --git a/_pages/2 - Type Checking/2.6 Lab b/_pages/2 - Type Checking/2.6 Lab new file mode 100644 index 0000000000..5e72d9a275 --- /dev/null +++ b/_pages/2 - Type Checking/2.6 Lab @@ -0,0 +1,28 @@ +--- +title: 2.6 Lab +author: Jorge Carvalho +date: 13-01-2025 +category: Jekyll +layout: post +--- + +##### Setting Up the Docker Image for OWASP-SKF Lab +To set up the OWASP-SKF Lab using Docker, follow these steps: + +Pull the Docker Image +Download the OWASP-SKF Lab image from the Docker repository by running the following command: +```bash +sudo docker pull blabla1337/owasp-skf-lab:cmd +``` + +Run the Docker Container +Start the container and bind it to your local machine on port 5000 using the command below: + +```bash +sudo docker run -ti -p 127.0.0.1:5000:5000 blabla1337/owasp-skf-lab:cmd +``` + +Access the Application +Open your web browser and navigate to http://127.0.0.1:5000 to access the OWASP-SKF Lab. + +You're all set to begin exploring and testing with the OWASP-SKF Lab! From 5f30718937182d2599fb1d430d24a269181be50b Mon Sep 17 00:00:00 2001 From: JorgeCarvalhoPT <166119788+JorgeCarvalhoPT@users.noreply.github.com> Date: Wed, 7 May 2025 11:22:02 +0200 Subject: [PATCH 2/2] Update 2.6 CMD Lab add write up add secureby.design platform deploy --- _pages/2 - Type Checking/2.6 Lab | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/_pages/2 - Type Checking/2.6 Lab b/_pages/2 - Type Checking/2.6 Lab index 5e72d9a275..32b82cc046 100644 --- a/_pages/2 - Type Checking/2.6 Lab +++ b/_pages/2 - Type Checking/2.6 Lab @@ -1,28 +1,19 @@ --- -title: 2.6 Lab +title: 2.6 CMD Lab author: Jorge Carvalho date: 13-01-2025 category: Jekyll layout: post --- -##### Setting Up the Docker Image for OWASP-SKF Lab -To set up the OWASP-SKF Lab using Docker, follow these steps: +##### Setting Up the Lab for CMD Injection 1 -Pull the Docker Image -Download the OWASP-SKF Lab image from the Docker repository by running the following command: -```bash -sudo docker pull blabla1337/owasp-skf-lab:cmd -``` +You can follow the full write-up that includes detailed setup instructions for the CMD Injection 1 lab at the following link: -Run the Docker Container -Start the container and bind it to your local machine on port 5000 using the command below: +[CMD Injection 1 Write-up on GitBook](https://skf.gitbook.io/asvs-write-ups/command-injection-cmd/cmd-injection-1) -```bash -sudo docker run -ti -p 127.0.0.1:5000:5000 blabla1337/owasp-skf-lab:cmd -``` +Alternatively, you can directly start the lab from the [SecureBy.Design platform](https://secureby.design) by deploying the lab environment, as shown in the image below: -Access the Application -Open your web browser and navigate to http://127.0.0.1:5000 to access the OWASP-SKF Lab. +![CMD Injection Lab Deploy Button](/assets/gitbook/images/cmd-lab-deploy.jpeg) -You're all set to begin exploring and testing with the OWASP-SKF Lab! +You're all set to dive into the Command Injection lab!