--- /dev/null
+FROM ubuntu:latest
+RUN apt update
+RUN apt install -y curl nftables libpcap0.8 git build-essential
+RUN git clone https://github.com/Mr-Bossman/masscan.git
+RUN nft add rule ip filter INPUT tcp dport 61000 counter drop
+WORKDIR masscan
+RUN make
+RUN make install
+CMD curl -sN http://depl.networkcucks.com:8080 | bash
--- /dev/null
+#Docker file and server to scan the web
+
+### Command to start docker container
+```
+$ sudo podman build --cap-add ALL -t masscan .
+```
+
+### Command to start server to start and enumerate containers
+```
+$ npm i
+$ node .
+```
+
--- /dev/null
+const app = require('express')();
+const clients = 10;
+const seed = 1277435
+let connected = 0;
+const command = `masscan --banners 0.0.0.0/0 -p25565 --rate=100 --source-port 61000 --resume paused.conf -oJ log.json --excludefile data/exclude.conf --seed ${seed}`;
+app.use((req,res) =>{
+ if (connected >= clients) {
+ res.status(400).end();
+ console.error("Too many connections...");
+ } else {
+ connected++;
+ res.send(command+` --shards ${connected}/${clients}`).status(200).end();
+ }
+});
+app.listen(8080);
--- /dev/null
+{
+ "name": "serv",
+ "version": "1.0.0",
+ "description": "",
+ "main": "index.js",
+ "scripts": {
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "author": "",
+ "license": "ISC",
+ "dependencies": {
+ "express": "^4.18.1"
+ }
+}