Skip to main content

blockfinder by Jacob Appelbaum <jacob@appelbaum.net>, David <db@d1b.org>

“All that Blockfinder does is allow you to identify, contact and potentially hack into every computer network in the world.” - Rolling Stone, August 2010 [0]

Contrary to popular media claims, blockfinder is a simple text based console tool that returns a list of netblocks for a given country. It does this by fetching the following lists of allocations:

ftp://ftp.arin.net/pub/stats/arin/delegated-arin-latest ftp://ftp.ripe.net/ripe/stats/delegated-ripencc-latest ftp://ftp.afrinic.net/pub/stats/afrinic/delegated-afrinic-latest ftp://ftp.apnic.net/pub/stats/apnic/delegated-apnic-latest ftp://ftp.lacnic.net/pub/stats/lacnic/delegated-lacnic-latest

The list of ISO codes is ISO 3166-1 as found here:

http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements_txt-temp.htm http://en.wikipedia.org/wiki/ISO_3166-1

blockfinder has two methods of operation:

Update the lists of network object allocations Returning a list of all netblocks (or asn, etc) for a given country

To use blockfinder, first create or update the cache:

blockfinder -i

Once you have a proper cache, search for the desired resource in the country of your choice:

./blockfinder -v -t mm

Additionally, to filter results for a specific protocol you can use a selector:

./blockfinder -v -t mm:ipv4

On Windows (in cmd, PowerShell and 4nt) one may find blockfinder.bat useful:

blockfinder.bat

[0] http://www.rollingstone.com/culture/news/17389/192242

Release files for blockfinder 4.0.0

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

Built distribution (wheel)

Table of built distributions (wheels) for blockfinder 4.0.0
File Interpreter ABI Platform
blockfinder-4.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / blockfinder-4.0.0-py2.py3-none-any.whl

Download URL blockfinder-4.0.0-py2.py3-none-any.whl
Size 19.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
61d5c6385b4376c41dd3228d19406d4904ce17bd28ef59f266e9945b78da3e47
BLAKE2b-256 checksum
How to use checksums
2cd17e53609f7e7934842d4721aac25adaf65fa3505b2b4ae9353b0f0010c461
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

4.0.0 This release

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