Skip to content

trhung26620/L4JScanner

Repository files navigation

Injection-Tool

L4JScanner was originally a tool used to detect security holes in the Log4j library (CVE-2021-44228). The tool works by injecting payloads into the request and sending it to the target server, and the tool integrates the interact-sh API to scan for out-of-band attacks. So the tool can completely replace other specialized tools for fuzzing, scanning for sql out-of-band, xss,.... The tool also has many injection and scanning modes like Burp Instruder, easy to develop and expand.

Screenshots

Option Menu Untitled

L4JScanner Untitled2

Features

Support for lists of URLs. (will develop later)
Fuzzing for HTTP POST Data parameters.
Fuzzing for JSON data parameters.
Supports DNS callback for vulnerability discovery and validation.

Installation

  git clone https://github.com/trhung26620/Injection-Tool.git
 cd Injection-Tool
  pip3 install -r requirements

Usage

If you only need to scan on an API

  python3 L4JScanner –u http://domain.com –oob

If you want to scan faster, use the mode of injecting the payload to all locations in the request (may appear false negatives) instead of sequential injection

  python3 L4JScanner –u http://domain.com –oob -m 1

Scan with request data list

  python3 L4JScanner –f reqs.txt –oob

If the request has a header that is an authentication related field such as a cookie or authorize, use the exclude option

  python3 L4JScanner –u http://domain.com –oob --exclude-header "User-Agent, Authorization"

If you want to use burp collaboration instead of interact-sh

  python3 L4JScanner –u http://domain.com -oob –is "subdomain.burpcollaborator.net"

If you only want to inject in a few specific places in the request, insert the keyword %FUZZ and set mode 3

  python3 L4JScanner –u http://domain.com/?user=%FUZZ&pass=123 –oob –m 3

See more expansion options

  python3 L4JScanner -h

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages