Skip to main content

hnet – Pentest Toolkit

Modern, scriptable penetration testing utilities for network, web, wireless, exploitation, and basic automation.

Warning and ethics

  • For authorized security testing only. Obtain explicit, written permission before scanning or attacking any systems you do not own.
  • You are responsible for compliance with local laws and policies. The maintainers disclaim any liability for misuse.

Supported targets

  • Python 3.9+ on Linux, macOS, and Windows (some wireless features are Linux‑only).

Quick start

  • Linux/macOS
    • ./scripts/install_dependencies.sh
    • ./scripts/setup_virtualenv.sh
  • Windows (PowerShell)
    • python -m venv venv
    • venv\Scripts\Activate.ps1
    • pip install -r requirements.txt

After activation

  • source venv/bin/activate (Linux/macOS) or venv\Scripts\activate (Windows)
  • Unified CLI: ./hnet <group> <command> [options]
    • Examples:
      • ./hnet network port-scan example.com 1-1024
      • ./hnet web recon https://example.com
      • ./hnet exploit encode "This is a test" base64
      • ./hnet auto exploit https://example.com --pdf

Install as a command

  • Local editable install: pip install -e .
  • Or system/user install: pip install . (consider pipx install .)
  • Then run hnet --help from anywhere.

From PyPI

  • Package name: hnet-toolkit
  • Install: pip install hnet-toolkit or pipx install hnet-toolkit

Tools overview

  • Network: port_scanner.py, subnet_enum.py, vuln_scanner.py, packet_sniffer.py
  • Web: sql_injector.py, xss_tester.py, web_recon.py
  • Wireless: wifi_deauth.py (Linux/monitor mode), bluetooth_scanner.py
  • Exploitation: shellcode_encoder.py, buffer_overflow.py, keylogger.py
  • Automation: autoexploit/AutoExploit.py, autoexploit/AutoReport.py

Installation details

  • Requirements are listed in requirements.txt (root).
  • System dependencies: nmap, tcpdump (for packet capture), monitor‑mode capable Wi‑Fi adapter for wireless features.

Scripts

  • scripts/install_dependencies.sh: Install system packages via apt or Homebrew and Python deps.
  • scripts/setup_virtualenv.sh: Create and populate a local venv.
  • scripts/install_requirements.py: Python alternative to install dependencies from the root requirements.txt.

Documentation

  • See tools/*/README.md and autoexploit/README.md for tool‑specific usage.
  • INSTALL.md contains platform setup steps.

Contributing

  • Open issues and pull requests are welcome. Please keep changes minimal, with clear descriptions and follow the existing code style.

License

  • See LICENSE.

Releasing

  • See docs/RELEASING.md for versioning, build, and publish steps.

Download files

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

Source Distribution

hnet_toolkit-0.1.3.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

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

hnet_toolkit-0.1.3-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

Details for the file hnet_toolkit-0.1.3.tar.gz.

File metadata

  • Download URL: hnet_toolkit-0.1.3.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hnet_toolkit-0.1.3.tar.gz
Algorithm Hash digest
SHA256 bce2cbfd858be4cc211f87780d3a630259bcba3a465a84b600f99e85785f0bbb
MD5 2d4e185bfed9ec5896f6847d17c399c3
BLAKE2b-256 e7a3cef00dbb14942ebbe2d9d5c5571eb64a1c0f108bce4b7817e8810209b1da

See more details on using hashes here.

File details

Details for the file hnet_toolkit-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: hnet_toolkit-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 26.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hnet_toolkit-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 203e51a3ef7e29d4f25fa60357b4ced332e35569e38b7e60e733fcc3b52a27b4
MD5 0a669750e1ef7c9d7ea539b2680806e6
BLAKE2b-256 a27dc7590604ece9e3027d07bbd92b5f2aba571ce9d01f0399d848f5e6874cf6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

Supported by

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