Please find attached in the PR the changes made to extend the search_shodan task to support netblocks. In order to make this possible, the search_netblock() helper method was added to the Shodan API Client. The search_shodan task was partially refactored to seamlessly integrate the netblocks support.
The task can use a bit more cleaning up however due to time constraints this is not a priority and can be revisited later.
Hi team,
Please find attached in the PR the changes made to extend the
search_shodan
task to support netblocks. In order to make this possible, thesearch_netblock()
helper method was added to the Shodan API Client. Thesearch_shodan
task was partially refactored to seamlessly integrate the netblocks support.The task can use a bit more cleaning up however due to time constraints this is not a priority and can be revisited later.
Best regards, Maxim