The following section will talk about the launchExploits() method.

Section(9) of the following code loads all the details that are placed in the IPexploits table for the current project, which is 744. We have already seen the seven rows that will be pulled out and placed under the IPexploits_data list. We don't need to focus on the else block of if(concurrent=False), as that refers to code that is invoked in the GUI version. For now, let's only take the if block into consideration, as concurrent=False for the CLI version. Next, we iterate over the IPexploits_data: "for exploit in IPexploits_data:" structure:

In section ...

Get Hands-On Penetration Testing with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.