dkran / hydra-backend

Backend for Hydra Scanner. Masscan gathers ips to distribute to the hydra-scanner nodes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hydra-backend

  • Rethinkdb / Websocket backend for hydra-scanner drones. Uses masscan to quickly find IPs, and adds them to a queue. As the scanners report back, it will add the ip info. Right now I'm having trouble with sending ips to the clients. It gets the ips, but ws.send won't send them as I describe in the issues. I think it's a scope issue and I'll solve it somehow.

Build Setup

# install dependencies
npm install

# edit the adapter mac and router mac settings in the file.

nano / vi / vim / emacs ./discover/index.js

# start websocket / scanning server:
node app.js (or I prefer nodemon)

# wait for hydra-scanner drones to connect and request the ips found to do more thorough scans.

Project Goals:

  • Map the internet's state at all times in terms of services and ports on all IP's available.
  • I realize this is impossible, but I think we can do this.

Future goals:

  • Host the webui and server on a domain so anyone may publicly view it free from ads or paying. I could do this now, but it doesn't look or function pretty yet, but the concept is implemented. I will document code more. I will also provide the raw database for anyone with rethinkdb so they can perform any IP custom queries they wish, although I'd rather the people who want that info contribute to the webUI or backend to make it more versatile, so everyone can have the info :)
  • nmap scanning is the limiting factor here.
  • Maybe use some AI to find out which things are of interest to me and which aren't.

About

Backend for Hydra Scanner. Masscan gathers ips to distribute to the hydra-scanner nodes.


Languages

Language:JavaScript 100.0%