Skip to main content

Shodan-like server scanner for Minecraft (formely mcserverscanner)

Project description

Yokkaichi (formely mcserverscanner) - Shodan-like server scanner for Minecraft.

downloads issues pull requests license release commits since release code style stars

Renaming notice!

This project used to be named mcserverscanner, but on 2023-01-15 it got renamed to Yokkaichi.

Features

  • Scanning for Java and Bedrock servers
  • Masscan integration
  • IP2Location integration

Planned features (not in a specific order)

  • WWW interface
  • Bot joining the servers
  • Docker support
  • Scanning for pre-Netty (<1.7) servers
  • Query integration

Installation

Releases

  • Installing the latest version with pipx (recommended)
pipx install yokkaichi --include-deps
yokkaichi -v
  • Installing the latest version in a virtual environment
virtualenv .venv
source .venv/bin/activate # for Linux
.venv\bin\activate.bat # for Windows
pip install yokkaichi
yokkaichi -v

Development versions (not recommended!)

Check out DEVELOPMENT_INSTALL.md

3rd party dependencies (optional)

  • masscan (for faster scanning)

Usage

When starting the script for the first time, yokkaichi.toml will get created. You will have to adjust it to your preferences. Optionally, you can also pass in -c to set a different name or location of the config file.

How to get geolocating to work?

Yokkaichi uses IP2Location LITE for anything geolocation related. This includes getting the location of the server, and generating the CIDR ranges for scanning. It is a offline, free to use download, so there are no rate limits. However, the database is not redistributed with Yokkaichi, due to IP2Location updating their LITE databases every month. Instead, it will be downloaded and updated automatically everytime you run this script for the first time in the month. To get the downloading to work, you need to have an IP2Location LITE Download Token. To get one, follow these steps.

  1. Go to IP2Location LITE website and register (or log into) an account (which is completly free forever).
  2. Click on the name in the upper right corner and select "Database Download".
  3. Copy your Download Token.
  4. Set the IP2LOCATION_LITE_TOKEN environment variable to your token.
  5. Now, you will be able to use the automatic downloads feature.

Using the masscan integration

You need to have masscan in your PATH, or in the same directory from which you are running this software. Make sure that the binary is named masscan (Unix) or masscan.exe (Windows).

Project details


Download files

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

Source Distribution

yokkaichi-1.7.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

yokkaichi-1.7-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file yokkaichi-1.7.tar.gz.

File metadata

  • Download URL: yokkaichi-1.7.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for yokkaichi-1.7.tar.gz
Algorithm Hash digest
SHA256 5dd4290b61685aea9077a5d8b3ede12d28ebb8b4e7168894e1417d9c4794f84d
MD5 bd7373440f198ad3bf20ff680727f1ab
BLAKE2b-256 b2d1c1427420748d91678f4b5699a37ebf7138f9cf114f462823d85ee0f433c7

See more details on using hashes here.

File details

Details for the file yokkaichi-1.7-py3-none-any.whl.

File metadata

  • Download URL: yokkaichi-1.7-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for yokkaichi-1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 158178e70952e173877cdeb7933127f7b9f5d6afa015f545bb93ffe7f0259da1
MD5 df1788acdcd67b7dc7594458bbc11f2d
BLAKE2b-256 04fec1f620afb15fc3ef83705245cc43189e08c6e41d0f1cea1f898b41f5d97e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page