lookyloo/lookyloo.py
def add_context(self, capture_uuid: str, /, urlnode_uuid: str, *, ressource_hash: str,
                    legitimate: bool, malicious: bool, details: Dict[str, Dict[str, str]]):
        '''Adds context information to a capture or a URL node'''
        if malicious:
            self.context.add_malicious(ressource_hash, details['malicious'])
        if legitimate:
            self.context.add_legitimate(ressource_hash, details['legitimate'])
Adds context information to a capture or a URL node
Adds context information to a capture or a URL node
Adds context information to a capture or a URL node
def add_context(self, capture_uuid: str, /, urlnode_uuid: str, *, ressource_hash: str,
                    legitimate: bool, malicious: bool, details: Dict[str, Dict[str, str]]):
        if malicious:
            self.context.add_malicious(ressource_hash, details['malicious'])
        if legitimate:
            self.context.add_legitimate(ressource_hash, details['legitimate'])
def add_context ( self , capture_uuid : str , / , urlnode_uuid : str , * , ressource_hash : str , legitimate : bool , malicious : bool , details : Dict [ str , Dict [ str , str ] ] ) : if malicious : self . context . add_malicious ( ressource_hash , details [ 'malicious' ] ) if legitimate : self . context . add_legitimate ( ressource_hash , details [ 'legitimate' ] )
Adds context information to a capture or a URL node
Adds context information to a capture or a URL node
'''Adds context information to a capture or a URL node'''
self
capture_uuid
str
urlnode_uuid
str
ressource_hash
str
legitimate
bool
malicious
bool
details
Dict[str, Dict[str, str]]