parse_and_process()
In the following section, we are going to understand how the parse_and_process() method works. It should be noted that for the CLI version, the mode variable has a value of c, and we are going to focus only on the code section that ladders to mode=c. The other branches of code will be for GUI mode, and you are free to read this if you want to know more.
The parse_and_process() method in sections, (1), (2), (3), and (4) starts its execution by iterating over self.missed_services and then over self.processed_services. The idea of iteration here is to place these discovered services, host, ports and command_template in a different database table, IPexploits. We will discuss the command_template in a little while. For our ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access