How rk-000/log4j_scan_advance works
log4j-scan is a single-file command-line scanner for detecting Log4j vulnerabilities. Users provide one or more URLs; the scanner builds fuzzing payloads, sends HTTP probes, then checks DNS out-of-band callbacks to validate findings. The README also documents header, form/JSON, WAF-bypass, and CVE-2021-45046 scan modes. The runtime is largely in one script, so nodes represent responsibilities within that file rather than separate modules. Relationships for some modes are documented in the README; unsampled implementation details are not inferred.
Main entry points: log4j-scan.py Scan coordinator · headers.txt Header lists · headers-large.txt Large header list
Components 14
Scan orchestration
- CLI options
log4j-scan.py - URL selection
log4j-scan.py - Scan coordinator
log4j-scan.py
Probe generation
- Header lists
headers.txt - Large header list
headers-large.txt - Payload modes
log4j-scan.py - Header fuzzing
log4j-scan.py - Body fuzzing
log4j-scan.py - HTTP dispatch
log4j-scan.py
Callback verification
- DNS callback client
log4j-scan.py - Callback results
log4j-scan.py
Other components
- Security team
- Target hosts
- DNS callback service
Connections 15
- Security team → CLI options: sets options
README.md - CLI options → URL selection: selects URLs
log4j-scan.py - URL selection → Scan coordinator: provides URLs
log4j-scan.py - Scan coordinator → Payload modes: selects probes
log4j-scan.py - Header lists → Header fuzzing: supplies headers
README.md - Large header list → Header fuzzing: supplies headers
README.md - Payload modes → Header fuzzing: generates probes
README.md - Payload modes → Body fuzzing: generates probes
README.md - Scan coordinator → HTTP dispatch: calls scan
log4j-scan.py - Header fuzzing → HTTP dispatch: provides headers
README.md - Body fuzzing → HTTP dispatch: provides bodies
log4j-scan.py - HTTP dispatch → Target hosts: sends requests
log4j-scan.py - DNS callback client → DNS callback service: registers and polls
log4j-scan.py - Scan coordinator → DNS callback client: checks callbacks
README.md - DNS callback client → Callback results: returns records
log4j-scan.py