You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When initiating a scan using the Shodan plugin, it sets the default service as 'http' for all hosts. This issue is found on line 72 in "plugins/repo/shodan/plugin.py": s_id = self.createAndAddServiceToHost(h_id, "http", protocol=transport, ports=port)
To fix this, we can replace it with: service = vuln_dict.get('_shodan').get('module') s_id = self.createAndAddServiceToHost(h_id, service, protocol=transport, ports=port)
This change will dynamically set the service name based on the Shodan module.
Thank you
The text was updated successfully, but these errors were encountered:
When initiating a scan using the Shodan plugin, it sets the default service as 'http' for all hosts. This issue is found on line 72 in "plugins/repo/shodan/plugin.py":
s_id = self.createAndAddServiceToHost(h_id, "http", protocol=transport, ports=port)
To fix this, we can replace it with:
service = vuln_dict.get('_shodan').get('module')
s_id = self.createAndAddServiceToHost(h_id, service, protocol=transport, ports=port)
This change will dynamically set the service name based on the Shodan module.
Thank you
The text was updated successfully, but these errors were encountered: