-
Notifications
You must be signed in to change notification settings - Fork 1
setup
This document describes how to set up UnauthScout, verify its runtime dependencies, and perform basic sanity testing. For comprehensive usage instructions and examples, see the separate Usage Guide.
This guide ensures you can successfully install UnauthScout and run a basic reconnaissance operation. It focuses on environment setup and initial validation, not operational workflows.
UnauthScout is intentionally lightweight and relies only on standard CLI tools available on most Unix-like systems.
- bash (POSIX-compatible shell, version 4.0+)
- curl (7.0+) — HTTP client for API requests
- jq (1.6+) — JSON parsing and normalization
You can manually verify the required tools:
bash --version | head -1
curl --version | head -1
jq --versionIf any command is missing or reports an incompatible version, install or update it using your system package manager.
| Platform | Command |
|---|---|
| Ubuntu/Debian | sudo apt update && sudo apt install curl jq |
| Fedora/RHEL | sudo dnf install curl jq |
| macOS (Homebrew) | brew install curl jq |
| Alpine Linux | apk add curl jq |
git clone https://github.com/rmottanet/unauthscout.git
cd unauthscoutchmod +x bin/unauthscoutFor temporary session access:
export PATH="$PWD/bin:$PATH"For permanent access, add the line to your shell profile (~/.bashrc, ~/.zshrc,
etc.) or create a symbolic link:
sudo ln -s "$PWD/bin/unauthscout" /usr/local/bin/unauthscoutOnce installed, verify the tool works correctly with a simple unauthenticated lookup of a known public figure:
./bin/unauthscout torvaldsExpected successful behavior:
- JSON output (either compact or formatted, depending on default mode)
- No authentication prompts or token requirements
- No stack traces, shell errors, or permission issues
- Clear platform identification in output
Expected output characteristics:
- Exit code
0 - Output to stdout (not stderr)
- Structured JSON conforming to the unified schema
- User profile information for Linus Torvalds on GitHub
Error
[ERROR] Dependência não encontrada: jq. Por favor, instale-a para continuar.
Cause
One or more required tools are not installed or not in PATH.
Resolution
Install the missing dependency using your system package manager (see table above).
Error
./bin/unauthscout: Permission deniedCause
The binary lacks execute permissions.
Resolution
chmod +x bin/unauthscoutError
unauthscout: command not found
Cause
The binary is not in your PATH.
Resolution
Either:
- Use the full path:
./bin/unauthscout - Add to PATH as described in the Installation section
- Create a symbolic link to a directory in your PATH
Error
[ERROR] Failed to fetch GitHub user data
[ERROR] Failed to fetch GitLab user data
Possible causes
- No internet connection
- DNS resolution failure
- Corporate firewall blocking API endpoints
Resolution
- Verify network connectivity:
curl -s https://api.github.com - Test API endpoints directly:
curl -s "https://api.github.com/users/torvalds" | jq .login
curl -s "https://gitlab.com/api/v4/users?username=dzaporozhets" | jq .[0].usernameAfter installation, verify you're running the expected version:
./bin/unauthscout --versionExpected output format: UnauthScout vX.X.X
-
Successful execution: Exit code
0 - Fatal errors: Non-zero exit code with descriptive error message to stderr
-
User errors (e.g., missing username): Exit code
1with help text
Once you've successfully run the basic sanity check, proceed to the Usage Guide for comprehensive instructions on:
- Platform-specific reconnaissance (
--github,--gitlab) - Repository enumeration (
--repos) - Intelligence summarization (
--summarize) - Output formatting options (
--raw,--pretty) - Advanced workflows and examples
UnauthScout is designed to have minimal setup requirements and fail visibly when
requirements aren't met. A successful ./bin/unauthscout torvalds test confirms
your environment is properly configured for all reconnaissance operations.
📄 License: MIT
🐛 Found a bug? Report it
💡 Have an idea? Suggest a feature
🔓 Unauthenticated reconnaissance tool for GitLab & GitHub
Setup - Quick install guide and first configuration Usage - Usage Guide
OSINT Workflow - Ethical reconnaissance methodology and best practices
- UnauthScout API Repo Map - Unified field mapping for UnauthScout repo data
- UnauthScout API User Map - Unified field mapping for UnauthScout user data
- GitHub API Repo Map - Complete field mapping for GitHub repo data
- GitHub API User Map - Complete field mapping for GitHub user data
- GitLab API Repo Map - Complete field mapping for GitLab repo data
- GitLab API User Map - Complete field mapping for GitLab user data