Skip to main content

A tiered, defensive recon & scanning toolkit for cybersecurity students.

Project description

hackversity

A tiered, defensive & read-only recon / scanning toolkit for cybersecurity students, distributed as a single PyPI package named hackversity.

Only test systems you own or have explicit written permission to test.

Every tool is read-only. There is no exploit, payload, packet-spoofing, or injection code anywhere in this package — in any tier. Every scan/probe command requires an explicit target (there are no default targets and no bundled lists of real-world hosts) and prints the authorisation notice above before running.

Install

pip install hackversity

This installs two equivalent console commands: hackversity and the short alias hv.

Command tree

Commands are grouped by verb and tagged by difficulty tier.

Command Description Tier
hv scan port <target> Threaded TCP connect scan beginner
hv scan banner <target> Grab service banners beginner
hv scan async <target> asyncio connect scan (faster) intermediate
hv scan hosts <cidr> TCP-connect host discovery across a range intermediate
hv scan version <target> Banner-based service/version fingerprinting intermediate
hv find subdomain <domain> DNS brute force + crt.sh beginner
hv find emails <domain> Public-email OSINT (site + WHOIS + crt.sh) intermediate
hv find urls <domain> Historical URLs from the Wayback Machine intermediate
hv find dirs <url> Endpoint discovery (your wordlist) intermediate
hv find paths <url> robots.txt + sitemap.xml advertised paths intermediate
hv lookup whois <domain> WHOIS lookup beginner
hv lookup dns <domain> DNS records + SPF/DMARC/DKIM/CAA beginner
hv lookup ip <ip> Reverse DNS + RDAP + ASN (keyless) beginner
hv lookup shodan <ip> Read an IP's Shodan record (API key) intermediate
hv analyze headers <url> HTTP security-header scoring intermediate
hv analyze tech <url> Web technology fingerprinting intermediate
hv analyze waf <url> Passive WAF / CDN detection intermediate
hv analyze cors <url> CORS misconfiguration checks intermediate
hv analyze cookies <url> Cookie security (Secure/HttpOnly/SameSite) intermediate
hv analyze tls <host> TLS cert / cipher inspection (--grade for scoring) intermediate
hv analyze cve <svc> <ver> NVD CVE lookup (informational) intermediate
hv analyze vulns <scan.json> Cross-scan CVE correlation, severity-ranked advanced
hv analyze takeover <domain> Dangling-CNAME subdomain takeover check intermediate
hv analyze storage <name> Public cloud-storage bucket/container check intermediate
hv analyze pcap <file> Summarise a .pcap (+ JA3, DNS-tunnel/beacon heuristics) advanced
hv map topology <target> Traceroute + port aggregation advanced
hv report generate <dir> Merge JSON results into a report (Markdown/HTML/SARIF) advanced
hv scope init <file> Write a starter scope allowlist advanced
hv scope check <target> Check a target against a scope file advanced
hv run recon <domain> Full recon → enrich → correlate → report pipeline advanced

Run hv --help or hv <verb> --help for full help with examples on every command.

Scope enforcement (opt-in)

Point HACKVERSITY_SCOPE_FILE at an allowlist (hv scope init scope.txt) and every scan/probe command refuses targets outside it — a guardrail against accidentally testing something you're not authorised to touch:

hv scope init scope.txt        # edit it to list your authorised domains/CIDRs
export HACKVERSITY_SCOPE_FILE=scope.txt
hv scan port evil.com          # refused — not in scope.txt

With no scope file configured, every target is treated as in scope (unchanged behaviour) — enforcement is entirely opt-in.

Use as a Python library

Every tool is importable as a plain function:

from hackversity.tools.beginner import scan_ports, find_subdomains, whois_lookup

results = scan_ports("127.0.0.1", ports=[22, 80, 443])
open_ports = [r.port for r in results if r.is_open]

Development

pip install -e ".[test]"
pytest

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hackversity-0.0.3.tar.gz (81.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hackversity-0.0.3-py3-none-any.whl (94.2 kB view details)

Uploaded Python 3

File details

Details for the file hackversity-0.0.3.tar.gz.

File metadata

  • Download URL: hackversity-0.0.3.tar.gz
  • Upload date:
  • Size: 81.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for hackversity-0.0.3.tar.gz
Algorithm Hash digest
SHA256 45ba60dc9c97a0730350391096175e123541498dde68050ec4990ba5c8d7e29b
MD5 72d36bd9e45ef6d0e3a9bd1cf87b722c
BLAKE2b-256 eee1305940a54eec947100f7467cfd267f74aea3ba9ff3e30b04b22dc487e5c3

See more details on using hashes here.

File details

Details for the file hackversity-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: hackversity-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 94.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for hackversity-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 58178248c0340a72cd62c306fb1788c1fb7431b10a35eb9afc5fcfeb3717d0ff
MD5 ae5a882e197b83872ebe876d90f67c0a
BLAKE2b-256 dff53d611a49fa4ed0c4afd98436b394713c4d62f2810a5c23fdac8805f1261e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page