From 1990b6e7404dea9ac48909ce105a44c8f0839074 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Tue, 17 Nov 2020 18:20:34 +0100 Subject: [PATCH] add mcscan script --- .gitignore | 1 + README.md | 2 ++ mcscan.sh | 2 ++ 3 files changed, 5 insertions(+) create mode 100644 .gitignore create mode 100644 mcscan.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3cceaaf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +scanout.txt \ No newline at end of file diff --git a/README.md b/README.md index f64dec4..c9afa33 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/mcscan.sh b/mcscan.sh new file mode 100644 index 0000000..39274d6 --- /dev/null +++ b/mcscan.sh @@ -0,0 +1,2 @@ +#!/bin/bash +rustscan -r 5000-30000 -u 10000 -b 400 -t 5000 --scripts None -g -a $1 >> scanout.txt \ No newline at end of file