โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ โโโโ โโโโ โ โ โ โ โโโ โ
โ โ โ โ โ โ โ โ โ โ โ
โ โ โ โโโโ โ โ โโโโโ โโโโโ โ
โ โ โ โ โ โ โ โ โ โ โ
โ โโโโ โโโโโ โ โ โ โ โ โ
โ โ
โ Developer & Hacking CLI โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
devha โ One CLI to Scan Them All ๐ก๏ธ
Port scanner ยท Username lookup ยท Subdomain enum ยท Directory bruteforce ยท OSINT crawler ยท Cipher tools โ in one beautiful terminal.
Install ยท Commands ยท Examples ยท Contributing ยท Ethics
devha (short for Developer & Hacking) is an all-in-one Python CLI that bundles 10 essential security and developer tools into one beautiful, beginner-friendly interface โ heavily inspired by classics like Sherlock, Sublist3r, dirsearch, Photon, theHarvester and Scapy.
Instead of installing six different tools and learning six different syntaxes, you get one binary, one syntax, one beautiful Rich-powered output.
$ devha username coolkid42
$ devha portscan scanme.nmap.org
$ devha subdomains example.com
$ devha cipher encode "hello world" --type caesar --key 13Built for learners, CTF players, and developers who think their terminal should look as good as their IDE.
| Command | What it does | Inspired by |
|---|---|---|
๐ portscan |
Scan open ports on a host (threaded, fast) | nmap |
๐ค username |
Check if a username exists on 50+ sites | Sherlock |
๐ก wifi |
List nearby WiFi networks (read-only) | iwlist / airport |
๐ cipher |
Encode, decode & crack classic ciphers | โ |
๐ subdomains |
Find subdomains via wordlist + crt.sh + APIs | Sublist3r |
๐ dirscan |
Discover hidden directories on a website | dirsearch |
๐ธ๏ธ crawl |
Crawl a site for emails, links, secrets | Photon |
๐ง harvest |
OSINT: gather emails & names from public sources | theHarvester |
๐ก๏ธ headers |
Audit HTTP security headers + score | securityheaders.com |
๐ ping |
Educational ICMP ping at packet level | Scapy |
All commands support --json for scripting, --no-banner for clean output, and rich color-coded results out of the box.
pipx install devhapip install devhadocker run --rm -it ghcr.io/waldex451/devha:latest --helpgit clone https://github.com/waldex451/devha.git
cd devha
# Install pipx if you don't have it yet:
# macOS: brew install pipx && pipx ensurepath
# Linux: pip install pipx && pipx ensurepath
# Windows: pip install pipx
pipx install . # installs devha globally โ type devha anywhere!git clone https://github.com/waldex451/devha.git
cd devha
poetry install
poetry run devha --help # prefix every command with "poetry run"
# OR activate the venv once:
poetry shell # now just type: devha --help๐ก Tip โ want to type
devhaanywhere in your terminal? Runpipx install .instead ofpoetry install. pipx installs it globally, isolated from your system Python. macOS:brew install pipx && pipx ensurepathยท Linux/Windows:pip install pipx && pipx ensurepath
Requirements: Python 3.10+ ยท Works on Linux, macOS, Windows ยท
wificommand requires OS-specific tools (iwlist,nmcli,airport, ornetsh)
# See all commands
devha --help
# Check if your dream username is taken
devha username your_brand_name
# Scan a legal practice range
devha portscan scanme.nmap.org
# Encrypt a message with ROT13
devha cipher encode "meet me at midnight" --type rot13
# Audit a website's security headers
devha headers https://example.com๐ portscan โ Mini-nmap port scanner
devha portscan <target> [--ports 1-1024] [--threads 100] [--timeout 1.0] [--yes] [--json]Scans open ports using concurrent sockets with a live progress bar. Uses socket.getservbyport() for service names.
$ devha portscan scanme.nmap.org --ports 1-1000
Scanning scanme.nmap.org ports 1-1000 threads 100
Scanning... โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 100% 0:00:08
โญโ Open ports on scanme.nmap.org โโโโฎ
โ PORT โ STATUS โ SERVICE โ
โ 22 โ OPEN โ ssh โ
โ 80 โ OPEN โ http โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
๐ค username โ Find usernames across 50+ sites
devha username <name> [--sites github,reddit] [--timeout 5] [--found] [--json]Checks 55+ platforms in parallel using httpx.AsyncClient. Green = found, Red = not found, Yellow = error/timeout.
$ devha username torvalds
โญโ Username: torvalds โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ SITE โ STATUS โ URL โ
โ GitHub โ โ FOUND โ https://github.com/... โ
โ Reddit โ โ NOT FOUND โ ... โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Found on 12 / 55 platform(s).
๐ก wifi โ List nearby WiFi networks
devha wifi [--json]Read-only. Detects OS automatically and uses nmcli/iwlist (Linux), airport (macOS), or netsh (Windows). Sorted by signal strength.
โ ๏ธ Does not connect to or crack any networks.
๐ cipher โ Classic ciphers (encode/decode/crack)
devha cipher encode <text> --type [caesar|vigenere|rot13|atbash] --key <key>
devha cipher decode <text> --type ... --key ...
devha cipher crack <text> --type caesar # tries all 25 shifts + readability score
devha cipher tui # live interactive TUIPure Python โ no external crypto library needed.
$ devha cipher crack "Uryyb Jbeyq"
SHIFT โ SCORE โ PLAINTEXT
13 โ 5.85 โ Hello World โ best guess
๐ subdomains โ Find subdomains (3 methods combined)
devha subdomains <domain> [--method wordlist|crt|hackertarget|all]Combines wordlist DNS brute-force, crt.sh Certificate Transparency logs, and the HackerTarget API. Results are deduplicated.
๐ dirscan โ Discover hidden paths
devha dirscan <url> [--threads 50] [--extensions php,html] [--rate 10] [--yes]Sends async HEAD requests to 500+ common paths. Only shows interesting status codes (200, 301, 401, 403โฆ). Rate-limited by default.
โ ๏ธ Always requires ethics confirmation.
๐ธ๏ธ crawl โ Extract emails, links, secrets
devha crawl <url> [--depth 2] [--ignore-robots] [--yes]Crawls internal links up to the specified depth. Extracts emails, phone numbers, social links, external links, and potential API key patterns from JS files. Respects robots.txt by default.
๐ง harvest โ OSINT email/subdomain harvester
devha harvest <domain> [--timeout 15]Collects publicly available emails (DuckDuckGo), subdomains (crt.sh), and employee names (LinkedIn snippets). Public data only โ no credentials accessed.
๐ก๏ธ headers โ Security header audit
devha headers <url> [--json]Fetches all response headers and audits the presence of 6 critical security headers:
Content-Security-PolicyStrict-Transport-SecurityX-Content-Type-OptionsX-Frame-OptionsReferrer-PolicyPermissions-Policy
Outputs a โ
โ
โ
โ
โ
โ score with explanations for missing headers.
๐ ping โ Educational packet-level ICMP
sudo devha ping <host> [--count 4] [--show-packet] [--timeout 2]Uses Scapy to send raw ICMP packets and shows TTL, RTT, and size. --show-packet displays the full packet summary for learning purposes.
โ ๏ธ Requires root/admin on most systems.
devha reads optional defaults from ~/.config/devha/config.toml:
[defaults]
threads = 100
timeout = 5.0
user_agent = "devha/0.1.0"
[colors]
banner = "cyan"
success = "bright_green"
warning = "yellow"
error = "bright_red"You can also use devha --no-banner to hide the ASCII banner for cleaner output in CI/scripting contexts.
devha is a learning tool. Use it to understand networks and security โ not to break things.
- Your own systems and networks
- Legal practice ranges:
scanme.nmap.org, HackTheBox, TryHackMe, PicoCTF - Targets where you have explicit written permission (bug bounties, pentesting contracts)
- Public APIs that openly allow it (GitHub, crt.sh, etc.)
- Scanning, crawling, or harvesting systems you don't own without permission
- Any activity that violates the Computer Fraud and Abuse Act (US), Computer Misuse Act (UK), Wet computercriminaliteit (NL), or your local equivalent
Every active-scan command in devha shows a confirmation prompt before sending traffic. You waive your right to claim ignorance the moment you press y. Don't be that person.
The maintainers are not responsible for misuse. Be smart, be legal, be kind.
Contributions are very welcome โ especially:
- ๐ New sites for the username checker (just edit
devha/data/sites.json) - ๐ Better wordlists for subdomains and dirscan
- ๐จ New ciphers (Playfair, Hill, Enigma?)
- ๐ Bug fixes & test coverage
- ๐ Translations of the README
git clone https://github.com/waldex451/devha.git
cd devha
poetry install
poetry run pytestSee CONTRIBUTING.md for details.
-
devha tuiโ Textual super-interface combining all commands -
devha update-dataโ refresh wordlists from SecLists - Shell completions (bash, zsh, fish, PowerShell)
- More cipher types (Enigma, Playfair, Hill)
- Plugin system for community-contributed commands
- Integration with Have-I-Been-Pwned for username checks
Vote for features in Discussions or open an issue.
devha stands on the shoulders of giants:
- ๐ฆธ Sherlock โ for proving one CLI can have 60k+ stars
- ๐ Sublist3r โ subdomain enum done right
- ๐ dirsearch โ directory discovery
- ๐ท๏ธ Photon โ fast crawler
- ๐พ theHarvester โ OSINT classic
- ๐ฆ Scapy โ packet magic in Python
- ๐จ Rich โ for making Python terminals beautiful
- โจ๏ธ Typer โ for the cleanest CLI framework around
MIT ยฉ waldex451 โ see LICENSE.
โญ If devha saved you a few pip installs, consider giving it a star โ it really helps!
Made with ๐ and a healthy obsession with terminal aesthetics.