christophetd / log4shell-vulnerable-app

Spring Boot web application vulnerable to Log4Shell (CVE-2021-44228).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it a way to run TomCat and other services on other ports?

xristos8574 opened this issue · comments

I am trying to run this to evaluate a scanner, although I run it on another port rather than 8080 since I have some issues, TomCat runs on 8080. How could that be reconfigured ?

You can change the Docker command to:

docker run --name vulnerable-app -p 8888:8080 ghcr.io/christophetd/log4shell-vulnerable-app

to make the application available on the port 8888 of the host so it doesn't conflict with your Tomcat.