From c791e7c132e7be161ad3d5d998953eeaf2f05a1d Mon Sep 17 00:00:00 2001 From: Raul Date: Wed, 4 Sep 2024 23:06:20 +0200 Subject: [PATCH 1/2] Add support to AJP weak credentials tester --- .../weak_credentials/conf/tomcat-users.xml | 5 +++ .../weak_credentials/docker-compose.yml | 8 +++-- apache/tomcat/weak_credentials/server.xml | 31 +++++++++++++++++++ 3 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 apache/tomcat/weak_credentials/conf/tomcat-users.xml create mode 100644 apache/tomcat/weak_credentials/server.xml diff --git a/apache/tomcat/weak_credentials/conf/tomcat-users.xml b/apache/tomcat/weak_credentials/conf/tomcat-users.xml new file mode 100644 index 00000000..314a0c40 --- /dev/null +++ b/apache/tomcat/weak_credentials/conf/tomcat-users.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/apache/tomcat/weak_credentials/docker-compose.yml b/apache/tomcat/weak_credentials/docker-compose.yml index 91503c1a..3ec75f8b 100644 --- a/apache/tomcat/weak_credentials/docker-compose.yml +++ b/apache/tomcat/weak_credentials/docker-compose.yml @@ -1,16 +1,18 @@ -version: '2' - services: tomcat: image: docker.io/bitnami/tomcat:10.1 ports: - '8080:8080' + - '8009:8009' volumes: - 'tomcat_data:/bitnami/tomcat' + - './server.xml:/opt/bitnami/tomcat/conf/server.xml' + - './conf/tomcat-users.xml:/opt/bitnami/tomcat/conf/tomcat-users.xml' + environment: - TOMCAT_USERNAME=root - TOMCAT_PASSWORD=pass volumes: tomcat_data: - driver: local \ No newline at end of file + driver: local diff --git a/apache/tomcat/weak_credentials/server.xml b/apache/tomcat/weak_credentials/server.xml new file mode 100644 index 00000000..bc0810e8 --- /dev/null +++ b/apache/tomcat/weak_credentials/server.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 4c3c29b06e3adae9bca567e0151f670e38428b79 Mon Sep 17 00:00:00 2001 From: Raul Date: Tue, 15 Oct 2024 16:15:57 +0200 Subject: [PATCH 2/2] Modified Readme name --- apache/tomcat/weak_credentials/{tomcat.md => README.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename apache/tomcat/weak_credentials/{tomcat.md => README.md} (100%) diff --git a/apache/tomcat/weak_credentials/tomcat.md b/apache/tomcat/weak_credentials/README.md similarity index 100% rename from apache/tomcat/weak_credentials/tomcat.md rename to apache/tomcat/weak_credentials/README.md