Help us shape the future of Go! Take the 2026 Go Developer Survey

objector

command module
v0.0.0-...-c0bf97e Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: MIT Imports: 11 Imported by: 0

README

Objector

JavaScript object monitor for finding exposed credentials.

Features

  • Real-time monitoring of JavaScript objects
  • Detection of various credential types:
    • AWS Access Keys
    • AWS Secret Keys
    • Private Keys
    • API Keys
    • JWT Tokens
  • Continuous scanning with periodic checks
  • Beautiful console output with formatted results
  • Custom header support for authenticated requests

Installation

Prerequisites
  • Go 1.21 or later
  • Chrome/Chromium browser
Quick Install
# Clone the repository
git clone https://github.com/fractalized-cyber/objector.git
cd objector

# Install dependencies and build
go mod download
go build

# Run the tool
./objector -u [url]
Using Go Install
go install github.com/fractalized-cyber/objector@latest

Usage

Basic usage:

objector -u [url]

Options:

  • -u, --url: URL to monitor (required)
  • --timeout: Monitoring timeout in seconds (default: 20s)
  • --headers: Headers to include in requests (format: 'HEADER: VALUE,HEADER2: VALUE2')
  • --string: Custom string to search for (if provided, ignores default patterns)
  • --help, -h: Show help message

Examples:

# Basic usage
objector -u [url]

# With custom timeout
objector -u [url] --timeout 30s

# With custom headers
objector -u [url] --headers "Authorization: Bearer token,Cookie: session=abc123"

# With custom string search
objector -u [url] --string "my-secret-key"

If no parameters are provided, or if you use --help, a detailed help message will be shown.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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