From 3662e716b92f35cdf86c66d455bc0487b78c7b8b Mon Sep 17 00:00:00 2001 From: gx1 Date: Fri, 24 Dec 2021 09:50:12 +0100 Subject: [PATCH] Add rm flag in documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1784857..7972a32 100644 --- a/README.md +++ b/README.md @@ -11,14 +11,14 @@ It uses Log4j 2.14.1 (through `spring-boot-starter-log4j2` 2.6.1) and the JDK 1. Run it: ```bash -docker run --name vulnerable-app -p 8080:8080 ghcr.io/christophetd/log4shell-vulnerable-app +docker run --name vulnerable-app --rm -p 8080:8080 ghcr.io/christophetd/log4shell-vulnerable-app ``` Build it yourself (you don't need any Java-related tooling): ```bash docker build . -t vulnerable-app -docker run -p 8080:8080 --name vulnerable-app vulnerable-app +docker run -p 8080:8080 --name vulnerable-app --rm vulnerable-app ``` ## Exploitation steps