I am running Faraday on an up-to-date Ubuntu server 20.04.1 installation. I am using Firefox to access the WebGui.
I did the following nmap scan on the Ubuntu server:
tux@ubuntu:~$ nmap 192.168.56.0/24 -oX nmap-scan.xml -p 22,80,443,445
Starting Nmap 7.80 ( https://nmap.org ) at 2020-10-15 11:53 UTC
Nmap scan report for 192.168.56.1
Host is up (0.0010s latency).
PORT STATE SERVICE
22/tcp closed ssh
80/tcp closed http
443/tcp closed https
445/tcp open microsoft-ds
Nmap scan report for 192.168.56.10
Host is up (0.0012s latency).
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp closed https
445/tcp closed microsoft-ds
Nmap scan report for ubuntu (192.168.56.12)
Host is up (0.0013s latency).
PORT STATE SERVICE
22/tcp open ssh
80/tcp closed http
443/tcp closed https
445/tcp closed microsoft-ds
Nmap done: 256 IP addresses (3 hosts up) scanned in 2.57 seconds
Without the -p parameter, nmap would display only open (and filtered) ports. However, when specifying which ports to scan then closed ports are displayed as well.
So there are 3 hosts and 4 services.
When I import this XML file into Faraday via the Web UI, then the dashboard looks like this:
The number of services in the "Workspace summarized report" section should be 4 instead of 12.
Furthermore, when I click on "1 HTTP" in the "Service report" section then it looks like this:
All three hosts are displayed even though only one host has the http port open
Expected results
The "SERVICES" counter in the "Workspace summarized report" section should not count closed ports.
Also, the filter in the "Services report" section should not display hosts with closed ports.
Issue Type
Bug Report
Faraday version
Faraday v3.12 (deb)
Component Name
WebGui
Steps to reproduce
I am running Faraday on an up-to-date Ubuntu server 20.04.1 installation. I am using Firefox to access the WebGui.
I did the following nmap scan on the Ubuntu server:
Without the -p parameter, nmap would display only open (and filtered) ports. However, when specifying which ports to scan then closed ports are displayed as well.
So there are 3 hosts and 4 services.
When I import this XML file into Faraday via the Web UI, then the dashboard looks like this:
The number of services in the "Workspace summarized report" section should be 4 instead of 12.
Furthermore, when I click on "1 HTTP" in the "Service report" section then it looks like this:
All three hosts are displayed even though only one host has the http port open
Expected results
The "SERVICES" counter in the "Workspace summarized report" section should not count closed ports.
Also, the filter in the "Services report" section should not display hosts with closed ports.
Reports/Extra data
This is the nmap-scan.xml file:
OS