# EONRaider/blackhat-python3

Source code for the book "Black Hat Python" by Justin Seitz. The code has been fully converted to Python 3, reformatted to comply with PEP8 standards and refactored to eliminate dependency issues involving the implementation of deprecated libraries.

Repository: https://github.com/EONRaider/blackhat-python3
Canonical: https://ross.abutalabs.com/products/blackhat-python3
Language: Python
License Family: other
Topics: blackhat-python, ethical-hacking, network-programming, network-security, python-hacking, hacking-tools, cybersecurity, blackhat-python-source-code
Last push: 2024-07-19T09:00:13+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2318, "days_push": 775, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2367, forks 455 (observed 2026-08-28T04:06:41.608732+00:00)

## What it is
A Python 3 port of the source code from the book 'Black Hat Python' by Justin Seitz, reformatted to PEP8 and refactored to fix deprecated libraries and bugs. It serves as a companion codebase for readers learning offensive security and network programming techniques in Python.

## Use cases
- follow along with the Black Hat Python book exercises in Python 3
- learn how to build network sniffers and packet decoders in Python
- study example SSH server and client implementations for ethical hacking
- build a TCP port scanner as a learning exercise
- understand deprecated library replacements when porting old Python 2 security tools
- practice ethical hacking tool development with working sample code

## When to choose
- you are reading 'Black Hat Python' and need working Python 3 code
- you want a maintained, bug-fixed version of the book's original repository
- you are learning offensive security and network programming fundamentals in Python

## When to avoid
- you need production-ready, hardened security tooling for real engagements
- you want modern idiomatic Python with type hints, docstrings, and full test coverage
- you need a tool with an active license or official support

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: security, networking, developer-tools
- domain: security, penetration-testing, networking, developer-tools, tutorials
- platform: python, windows, cross-platform
- tags: black-hat-python, ethical-hacking, book-companion, python3-port, hacking-tools, cybersecurity, offensive-security, linux, macos

## Member repositories
- EONRaider/blackhat-python3 (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:41.608732+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:35:57.142981+00:00, confidence not recorded.
  - readme: https://github.com/EONRaider/blackhat-python3 (fetched 2026-08-28T04:06:41.608732+00:00, sha 4e0aa065d24d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
