grepr

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2026 License: MIT Imports: 1 Imported by: 0

README ΒΆ

πŸ•΅οΈβ€β™‚οΈ Grepr v2.0.0

Grepr is a blazing-fast, lightweight CLI tool designed for URL filtering and recon, built specifically for bug bounty hunters, penetration testers, and security researchers. Inspired by the simplicity of gf, Grepr adds targeted intelligence to filter URLs by file type, security templates, or super mode automation.

Grepr demo


✨ New in v2.0.0

  • πŸ“‚ Template System (GF-style): Use predefined security templates like sqli, xss, ssrf, s3-buckets, etc.
  • πŸš€ Embedded Defaults: Templates are now embedded in the binary. No more missing file errors!
  • πŸ–₯ Console-First Output: Results print to console by default (perfect for piping). Use -o only when you need to save to a file.
  • 🧬 Dynamic Soora Mode: Automatically applies all security templates and core filters in one go.
  • 🎨 Modern Banner: A professional new look for your terminal.

✨ Features

  • 🎯 Filter by Filetype: Targeted matching for extensions like .js, .php, .aspx, etc. (Smart enough to handle query params!).
  • πŸ” Regex Filtering: Filter lines using multiple regex patterns (from a list or file).
  • πŸ“‹ Security Templates: predefined patterns for common vulnerabilities (SQLi, XSS, SSRF, IDOR, LFI, RCE, etc.).
  • ⚑️ Soora Mode: The ultimate "Deep Scan" mode that runs every filter and template automatically.
  • πŸͺΆ Self-Contained: Go-embedded templates mean the tool works anywhere without extra setup.
  • πŸ“¦ Clean Stats: Provides line counts and file sizes for all generated outputs.

πŸ“¦ Installation

This is the fastest way to install Grepr. It will download, compile, and install the binary directly to your $GOPATH/bin.

go install github.com/LaviruDilshan/grepr@latest
2. Build From Source

If you want to contribute or build the binary manually, follow these steps:

# Clone the repository
git clone https://github.com/LaviruDilshan/grepr.git

# Navigate to the directory
cd grepr

# Build the binary
go build -o grepr main.go

# (Optional) Move to your local bin for global access
sudo mv grepr /usr/local/bin/

πŸ§ͺ Usage

Basic Filtering (Console Output)
grepr -i urls.txt -f js,php
Apply a Security Template
grepr -i urls.txt -t sqli
List Available Templates
grepr -l
Save to File
grepr -i urls.txt -t xss -o results.txt

βš™οΈ Available Flags

Flag Description
-i, --input (Required) Input file containing URLs
-o, --output Output file name (optional, prints to console if omitted)
-f, --filetypes Comma-separated filetypes (e.g., js,php,aspx)
-t, --template Apply a predefined template (e.g., sqli, xss, ssrf)
-l, --list-templates List all available security templates
-r, --regex-list Regex patterns (comma-separated, e.g., admin.*,login)
--regex-file File path containing regex patterns (one per line)
-s, --soora Enable Soora Super Mode (Applies ALL filters)
-n, --nobanner Disable the startup banner

🧠 Soora Super Mode

Soora is the ultimate automated engine. When enabled, it performs a comprehensive scan by applying:

  1. Core Filters: Extracts all .js and .txt files.
  2. Custom Configs: Applies patterns from config/extensions.txt and config/regex.txt.
  3. Security Templates: Runs EVERY available template (sqli, xss, idor, lfi, rce, ssrf, ssti, redirect, s3-buckets, debug_logic).
πŸ› οΈ Usage
grepr -i all-urls.txt -s
πŸ“ Output Files

Soora generates individual files for each category and merges them into:

πŸ“„ Final-Grepr.txt

πŸ”§ Developer Info

  • πŸ‘¨β€πŸ’» Developer: Laviru Dilshan
  • 🏒 Company: Ovate Security
  • 🌐 Website: lavirudilshan.com
  • 🐦 X (Twitter): @LaviruDilshan

πŸ›‘οΈ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ’¬ Feedback

Found a bug or have an idea? Open an issue or reach out via socials. Contributions are welcome!

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL