Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Log4jShell-Scan — log4j2 RCE漏洞(CVE-2021-44228)内网扫描器,可用于在不出网的条件下进行漏洞扫描,帮助企业内部快速发现Log4jShell漏洞。 | Kitploit
Tools/GitHubGitHub/y0-kan/log4jshell-scan
Vulnerability ScannersWeb Vulnerability ScannersExploitationWeb Application ExploitationWAF BypassPenetration Testing
GitHuby0-kan/log4jshell-scan

Log4jShell-Scan

log4j2 RCE漏洞(CVE-2021-44228)内网扫描器,可用于在不出网的条件下进行漏洞扫描,帮助企业内部快速发现Log4jShell漏洞。

View Repository
3864 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Overview

log4j2 RCE vulnerability (CVE-2021-44228) intranet scanner, can be used for vulnerability scanning under the condition of no internet access, helping enterprises quickly discover Log4Shell vulnerabilities.

Modified from: https://github.com/fullhunt/log4j-scan

JNDIMonitor from: r00tSe7en/JNDIMonitor: A LDAP request listener, get rid of dnslog platform (github.com)

This tool is only for learning, research and self-inspection. Do not use it for illegal purposes. All risks arising from the use of this tool are not related to me!

Usage

JNDIMonitor-2.0.1-SNAPSHOT.jar and log4j-scan.py must be placed in the same directory.

1. Start ldap service listener

Can be started on the public network (for scanning the internet) or locally (for scanning the intranet)

root@kitploit:~
java -jar JNDIMonitor-2.0.1-SNAPSHOT.jar -i 192.168.1.11

image-20211220213754609

image-20211220213811878

image-20211220212445459

2. Start log4j-scan.py to scan

2.0

root@kitploit:~
pip3 install -r requirements.txt

2.1 Scan a single URL (GET, header method)

root@kitploit:~
python3 log4j-scan.py -u http://192.168.111.129:8080/webstudy/hello-fengxuan --ldap-addr 192.168.1.11:1389

⭐2.2 Scan a single URL (GET, POST (url-encoded form), POST (JSON body), HEADER method)

root@kitploit:~
python3 log4j-scan.py -u http://192.168.111.129:8080/webstudy/hello-fengxuan --ldap-addr 192.168.1.11:1389 --run-all-tests

image-20211220213837665

image-20211220213902077

2.3 Bypass WAF

root@kitploit:~
python3 log4j-scan.py -u http://192.168.111.129:8080/webstudy/hello-fengxuan --ldap-addr 192.168.1.11:1389 --run-all-tests --waf-bypass

2.4 Scan URL list

root@kitploit:~
python3 log4j-scan.py -l urls.txt --ldap-addr 192.168.1.11:1389 --run-all-tests 

python3 log4j-scan.py -l urls.txt --ldap-addr 192.168.1.11:1389 --run-all-tests --waf-bypass

2.5 All optional parameters

root@kitploit:~
python3 log4j-scan.py -h
[•] CVE-2021-44228 - Apache Log4j RCE Scanner
usage: log4j-scan.py [-h] [-u URL] [-p PROXY] [-l USEDLIST] [--request-type REQUEST_TYPE]
                     [--headers-file HEADERS_FILE] [--run-all-tests] [--exclude-user-agent-fuzzing]
                     [--wait-time WAIT_TIME] [--waf-bypass] [--test-CVE-2021-45046]
                     [--ldap-addr CUSTOM_DNS_CALLBACK_ADDR] [--disable-http-redirects]

optional arguments:
  -h, --help            show this help message and exit
  -u URL, --url URL     Check a single URL.
  -p PROXY, --proxy PROXY
                        send requests through proxy
  -l USEDLIST, --list USEDLIST
                        Check a list of URLs.
  --request-type REQUEST_TYPE
                        Request Type: (get, post) - [Default: get].
  --headers-file HEADERS_FILE
                        Headers fuzzing list - [default: headers.txt].
  --run-all-tests       Run all available tests on each URL.
  --exclude-user-agent-fuzzing
                        Exclude User-Agent header from fuzzing - useful to bypass weak checks on User-Agents.
  --wait-time WAIT_TIME
                        Wait time after all URLs are processed (in seconds) - [Default: 5].
  --waf-bypass          Extend scans with WAF bypass payloads.
  --test-CVE-2021-45046
                        Test using payloads for CVE-2021-45046 (detection payloads).
  --ldap-addr CUSTOM_DNS_CALLBACK_ADDR
                        Custom DNS Callback Address.
  --disable-http-redirects
                        Disable HTTP redirects. Note: HTTP redirects are useful as it allows the payloads to have higher chance of reaching vulnerable systems.
Download Tool