Giter Club home page Giter Club logo

minescanner's Introduction

Introduction

Minescanner is an open-source tool for searching for Minecraft servers in IP ranges.

It parses masscan report file and attempts to connect to each server and extract data (MOTD, player count, etc).

Installation

Install masscan. You can get masscan for windows from here.

Download the latest IP to country database from here and place it into geoip folder

Create venv:

python3 -m venv .venv

Activate venv:

source .venv/bin/activate

Install requirements:

pip3 install -r requirements.txt

Alternatively you can install them system-wide.

Usage

First you need to scan IP ranges:

 sudo masscan -e <device> -p25565 --rate <rate> -iL in/<ranges list> -oL scanned/<filename>

You can find more information about masscan's usage on its GitHub page

After scanning you can start minescanner using this command:

python3 minescanner.py scanned/<filename> out/<filename> -n <num of processes>

The default number of threads is 4, but I recommend setting 20-40 because it will save a lot of time.

Minescanner will start scanning and will write results in CSV format.

minescanner's People

Contributors

moom0o avatar zerogoki00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

minescanner's Issues

masscan usage

Can you please provide the command you used to get theexample.txt?
I cannot get this to work!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.