MCPcopy Create free account
hub / github.com/blacklanternsecurity/bbot / process

Method process

bbot/modules/generic_ssrf.py:66–78  ·  view source on GitHub ↗
(self, event, r, subdomain_tag)

Source from the content-addressed store, hash-verified

64 self.process(event, r, subdomain_tag)
65
66 def process(self, event, r, subdomain_tag):
67 response_token = self.generic_ssrf.interactsh_domain.split(".")[0][::-1]
68 if response_token in r:
69 echoed_response = True
70 else:
71 echoed_response = False
72
73 self.generic_ssrf.interactsh_subdomain_tags[subdomain_tag] = (
74 event,
75 self.technique_description,
76 self.severity,
77 echoed_response,
78 )
79
80
81class Generic_SSRF(BaseSubmodule):

Callers 3

testMethod · 0.95
testMethod · 0.45
testMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected