Skip to main content

Kofnet

Extract SNI bug host for different ISPs based on country.

The bug hosts are extracted from https://kofnet.co.za/sni-bug-host-generator/


Installation

git clone https://github.com/Simatwa/kofnet.git
cd kofnet
pip install -r requirements.txt
pip install .

Usage

from kofnet import Hunter
# Extract codes and their corresponding countries.
hunter = Hunter()

hunter.get_countries_code_map()

# Extract sni bug host mapped with their country codes.
hunter.get_code_sni_map()

The package also features out of the box CLI:

$ kofnet --help

Usage: kofnet [OPTIONS] COMMAND [ARGS]...

  Extract SNI bug host for different ISPs based on country

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  cache    Download and save the html contents
  country  Get List of a country and their corresponding codes
  sni      Get SNI bug host for a particular country|code


Disclaimer

This software is designed to extract information regarding potential Server Name Indication (SNI) bugs from the website kofnet.co.za. It is intended for use by security researchers, IT professionals, and individuals interested in improving web security.

Limitations and Assumptions

  • The accuracy of the extracted data depends on the current state and configuration of the target website. Changes to the website may affect the results.
  • This tool assumes that the user has legal permission to perform scans or tests on the target website. Unauthorized scanning or testing activities may violate local laws and regulations.
  • The tool does not guarantee the discovery of all possible vulnerabilities related to SNI bugs. Its effectiveness is subject to the specific characteristics of the target website.

Usage Restrictions

  • Users must comply with all applicable laws and regulations when using this tool, including but not limited to privacy laws, data protection laws, and cybersecurity laws.
  • The tool should only be used for legitimate purposes such as security research, penetration testing, or authorized vulnerability assessments.
  • Misuse of this tool, including but not limited to unauthorized scanning, spamming, or attempting to exploit discovered vulnerabilities without proper authorization, is strictly prohibited.

Liability

  • The authors and maintainers of this software disclaim any liability for damages resulting directly or indirectly from the use of this tool.
  • Users acknowledge that they use this tool at their own risk and agree to hold harmless the authors and maintainers of this software against any claims or damages arising from its use.

[!WARNING] This tool is intentionally NOT published on pypi and NO one should.

Release files for kofnet 0.0.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 kofnet 0.0.3
File Size Uploaded
kofnet-0.0.3.tar.gz 6.0 kB Details

Release files / kofnet-0.0.3.tar.gz

Download URL kofnet-0.0.3.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
429edbdec573cb8cfc8d084195ab34860a89a37682b9166b8796a09f462a3088
BLAKE2b-256 checksum
How to use checksums
70465633086907e7b86b1198b8ba1c8484549e7794361d3c4f1a8ceced63b8b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

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