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.

Metadata

Release files for hnet-toolkit 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hnet-toolkit 0.1.3
File Size Uploaded
hnet_toolkit-0.1.3.tar.gz 23.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hnet-toolkit 0.1.3
File Interpreter ABI Platform
hnet_toolkit-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 49.6 kB

Release files / hnet_toolkit-0.1.3.tar.gz

Download URL hnet_toolkit-0.1.3.tar.gz
Size 23.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bce2cbfd858be4cc211f87780d3a630259bcba3a465a84b600f99e85785f0bbb
BLAKE2b-256 checksum
How to use checksums
e7a3cef00dbb14942ebbe2d9d5c5571eb64a1c0f108bce4b7817e8810209b1da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / hnet_toolkit-0.1.3-py3-none-any.whl

Download URL hnet_toolkit-0.1.3-py3-none-any.whl
Size 26.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
203e51a3ef7e29d4f25fa60357b4ced332e35569e38b7e60e733fcc3b52a27b4
BLAKE2b-256 checksum
How to use checksums
a27dc7590604ece9e3027d07bbd92b5f2aba571ce9d01f0399d848f5e6874cf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page