https://github.com/name/log4j-scanner
Discover Log4Shell vulnerability [CVE-2021-44832]
https://github.com/name/log4j-scanner
Last synced: 11 months ago
JSON representation
Discover Log4Shell vulnerability [CVE-2021-44832]
- Host: GitHub
- URL: https://github.com/name/log4j-scanner
- Owner: name
- License: gpl-3.0
- Created: 2021-12-29T08:22:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-15T13:46:33.000Z (almost 3 years ago)
- Last Synced: 2025-01-11T12:36:53.245Z (over 1 year ago)
- Language: Rust
- Homepage: https://github.com/name
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Log4j Scanner
Discover Log4Shell vulnerability [CVE-2021-44832] in your files and directories.
## Description
This Rust-based Log4j Scanner is designed to help you identify and locate vulnerable files that may contain the Log4Shell vulnerability [CVE-2021-44832]. It scans files and directories to find instances of Logger.class files with "log4j" in their names or JAR files that do not contain "2.17.1" in their names.
## Features
- Scan files and directories for Log4j vulnerabilities.
- Detect Logger.class files with "log4j" in their names.
- Identify JAR files without "2.17.1" in their names.
- Display the path to vulnerable files when found.
## Usage
1. Clone this repository to your local machine.
```bash
git clone https://github.com/yourusername/log4j-scanner.git
cd log4j-scanner
```
2. Build the project using Cargo.
```bash
cargo build --release
```
3. Run the Log4j Scanner with the desired path to scan.
```bash
./target/release/log4j-scanner /path/to/scan
```
Replace /path/to/scan with the directory you want to scan for Log4j vulnerabilities.
## Output
The scanner will display messages indicating the progress and any discovered vulnerable files.
## Contributing
Contributions are welcome! If you find a bug or have suggestions for improvement, please create an issue or submit a pull request.