After discussion, it was decided to move forward with nmap port scanner for checking open ports and also integration with CVE database for checking CVE ID on these open ports.
Flowchart of process
graph TD;
A(Start)-->B(Parse command-line arguments);
B-->C{Target IP address provided?};
C--Yes-->D{Perform port scan};
C--No-->E("Display error: Please provide a target IP address");
D-->F{Iterate through each host and port};
F-->G{Service information available?};
G--Yes-->H(Get CVE information for the service);
H-->I{CVE information found?};
I--Yes-->J(Display CVE information);
I--No-->K("Do nothing");
G--No-->L("Do nothing");
F-->M(Display port information);
M-->N(End);
K-->F;
L-->F;
Description
After discussion, it was decided to move forward with nmap port scanner for checking open ports and also integration with CVE database for checking CVE ID on these open ports.
Flowchart of process