Let's you scan the entire internet in a couple of hours and identify all Minecraft servers on IPV4
Installation:
sudo apt install masscan (Or distro specific installer command)
wget https://raw.githubusercontent.com/robertdavidgraham/masscan/master/data/exclude.conf
pip3 install mcstatus
start scanning for servers:
sudo masscan -p25565 0.0.0.0/0 --max-rate <maxrate> --excludefile exclude.conf -oL masscan.txt (Set maxrate to a limit that you are comfortable with and won't melt your router)
find real minecraft servers from the results of the scan:
python mcscanner.py -i masscan.txt -o result.txt -p public.txt
python mcscanner.py -h
DISCLAIMER: THIS IS FOR EDUCATIONAL PURPOSES ONLY AND I AM NOT RESPONSIBLE FOR ANY MISUSE OF THESE TOOLS!