Looking for a script that will take input for what CDIR to scan, then once hit enter it then scans's the network. Once this is scanning it will also need to run another script once results are done ( Needs to be created by you ) that has static values defined within the script to log into any results that find `ssh` or `https` sockets open. Results of such CDIR scan needs to be output'd to human readable format, some short of nice view, grid system html etc, Results backend can be written in simple nodejs. Also at the end of the script once it outputs the detailed outlined below, be able tp send such result to a slack webhook.
[login to view URL] --Range x.x.x.x/22 --outputresults /home/xxx/date-time-month/[login to view URL] [login to view URL] --slackoutput https://webhookurl-here --username xxx --password
Results simplified, should be like at the end of each scan.
Scanned CDIR: x.x.x.x
Hosts Online: xx < That responded to ping.
Hosts with ssh enabled: xxx
Hosts with http and where able to be logged into via default username + password.
Hosts with ssh enabled and where able to be logged into via default username and password
Such html results should include this but not limited to,
Ports opens. / Port name
Hi, I can write nodejs script which can scan the network and ouput results in web application. For UI ill use Reactjs to show results I have got overall idea about your requirements and would be eager to know in Daha Fazla