Skip to content

WhiteMuush/Kraken

Kraken

CI License: MIT PRs Welcome Shell: bash

Modular Bash penetration testing orchestrator. Reconnaissance, scanning, enumeration, vulnerability checks and reporting - all wired into one interactive menu, with structured output and per-tool guards.

SCRIPT

Overview

  • Modular tentacles - each module under lib/modules/ is independent and replaceable.
  • Automation-first - the menu walks you through DNS, ports, web, vulns and report generation in a few keystrokes.
  • Lightweight - pure Bash, no Python runtime, no daemons.
  • Structured output - one folder per session, one subfolder per module/target, one aggregated text report at the end.
  • Graceful degradation - missing tools trigger a warning, never an abort. Install only what you need.

Quick start

Prerequisites:

  • Bash >= 4.0
  • sudo for some modules (raw socket scans)
  • Recommended: git, curl, host, plus the tools you plan to use
git clone https://github.com/WhiteMuush/kraken.git
cd kraken
chmod +x kraken.sh
sudo ./kraken.sh

Help and version:

./kraken.sh --help
./kraken.sh --version

Project layout

kraken.sh                # entry point (~100 lines)
lib/
  core.sh                # version, globals, TTY-aware colors
  logger.sh              # log_step / log_info / log_warn / log_error / log_success
  installer.sh           # ensure_command, ensure_repo, prompt_value, prompt_yesno
  ui.sh                  # banner, info panel, main menu, config view
  session.sh             # session bootstrap, connectivity test
  modules/
    recon.sh             # DNS, subdomains, WHOIS, reverse DNS
    scan.sh              # nmap + /dev/tcp fallback
    web.sh               # headers, directories, tech, robots.txt
    vuln.sh              # SSL, methods, security headers
    report.sh            # aggregate session into one text report
docs/
  ARCHITECTURE.md        # boot sequence, module contract, color model
  ADDING_A_MODULE.md     # how to extend Kraken in 5 lines
.github/                 # CI workflow + issue / PR templates

See docs/ARCHITECTURE.md for the boot sequence and module contract.

Modules

Key Module What it does
1 Reconnaissance DNS records, subdomain enumeration, WHOIS, reverse DNS
2 Port scanning nmap quick + service detection, /dev/tcp fallback
3 Web enumeration HTTP headers, common directories, technology detection, robots
4 Vulnerability SSL/TLS, allowed methods, missing security headers
5 Report Aggregate the current session into a single text report

Requirements

See requirements.txt for the full list. Install only the tools you plan to use - Kraken degrades gracefully when a tool is missing.

Common external dependencies (with upstream repos):

uploads_image_UpYqysOocl0kfb3eg874MhJNanIWPi_Krakengif

Contributing

Contributions, issues and module requests are welcome. Read CONTRIBUTING.md for the coding conventions and the PR checklist, and docs/ADDING_A_MODULE.md for the step-by-step recipe to add a new tentacle.

Security issues: see SECURITY.md. Do not file public issues for vulnerabilities in the wrapper.

License

MIT - feel free to use, modify and redistribute. Please keep the attribution to Melvin PETIT / WhiteMuush.

Disclaimer

For educational and authorized security testing only. The author and maintainers are not responsible for misuse. Always obtain explicit written permission before testing systems you do not own.

Links

About

Kraken is a modular Bash framework designed to automate and orchestrate the different phases of a penetration test. Inspired by the power and versatility of the mythical creature it’s named after, Kraken spreads its “tentacles” across every aspect of an assessment: reconnaissance, scanning, enumeration, and reporting.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages