def enumerate_vulnerabilities_for_ssl_service(
self,
org_uuid=None,
network_service_uuid=None,
network_service_scan_uuid=None,
order_uuid=None,
):
"""
Enumerate all of the SSL-based vulnerabilities for the given SSL/TLS service.
:param org_uuid: The UUID of the organization to enumerate SSL vulnerabilities on behalf of.
:param network_service_uuid: The UUID of the network service that is being scanned.
:param network_service_scan_uuid: The UUID of the network service scan that this enumeration is
a part of.
:return: None
"""
logger.info(
"Now enumerating SSL vulnerabilities for network service %s."
% (network_service_uuid,)
)
task_sigs = []
command_map = get_ssl_vulnerabilities_command_map()
for command_name in command_map.keys():
task_sigs.append(test_ssl_service_for_ssl_vulnerability.si(
org_uuid=org_uuid,
network_service_uuid=network_service_uuid,
network_service_scan_uuid=network_service_scan_uuid,
vulnerability_name=command_name,
order_uuid=order_uuid,
))
canvas_sig = group(task_sigs)
logger.info(
"Now kicking off %s tasks to inspect network service %s for SSL vulnerabilities."
% (len(task_sigs), network_service_uuid)
)
self.finish_after(signature=canvas_sig)
#USED
评论列表
文章目录