def enumerate_user_agent_fingerprints_for_web_service(
self,
org_uuid=None,
web_service_uuid=None,
web_service_scan_uuid=None,
order_uuid=None,
):
"""
Perform fingerprinting for the given web service to determine if different user agents result in different
responses being returned.
:param org_uuid: The UUID of the organization to fingerprint the web service on behalf of.
:param web_service_uuid: The UUID of the web service to gather fingerprints for.
:param web_service_scan_uuid: The UUID of the web service scan to perform fingerprinting for.
:return: None
"""
logger.info(
"Now enumerating user agent fingerprints for web service scan %s."
% (web_service_scan_uuid,)
)
user_agents_file = UserAgentCsvFileWrapper.from_default_file()
task_sigs = []
for user_agent in user_agents_file.user_agents:
task_sigs.append(get_user_agent_fingerprint_for_web_service.si(
org_uuid=org_uuid,
web_service_uuid=web_service_uuid,
web_service_scan_uuid=web_service_scan_uuid,
user_agent_type=user_agent.agent_type,
user_agent_name=user_agent.agent_name,
user_agent_string=user_agent.user_agent,
order_uuid=order_uuid,
))
canvas_sig = group(task_sigs)
self.finish_after(signature=canvas_sig)
#USED
评论列表
文章目录