add mcscan script

This commit is contained in:
LordMZTE 2020-11-17 18:20:34 +01:00
parent 28f07b9e2e
commit 1990b6e740
3 changed files with 5 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
scanout.txt

View File

@ -2,3 +2,5 @@
this repository contains a list of port scanned griefable minecraft servers. use `./next_serv.sh` in order to pop the next server of the list and ping it in order to get some information. the script requires [mcstat](https://github.com/LordMZTE/utils/tree/master/mcstat) to work.
feel free to create a PR removing servers that have been griefed
the `mcscan.sh` script uses [rustscan](https://github.com/RustScan/RustScan) to find open ports. this script is intended to be run multiple times in parallel with different servers, as it is not configured to be fast but to get all ports

2
mcscan.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/bash
rustscan -r 5000-30000 -u 10000 -b 400 -t 5000 --scripts None -g -a $1 >> scanout.txt