API reference

Hashlookup

class pyhashlookup.Hashlookup(root_url: str = 'https://hashlookup.circl.lu/', useragent: Optional[str] = None)
info() Dict[str, str]

Get the information about the database.

info_over_dns() Dict[str, str]

Get the information about the database.

lookup(to_lookup: List[str]) List[Dict[str, str]]
lookup(to_lookup: str) Dict[str, Union[str, Dict[str, str]]]

Lookup for (a list of) MD5 or SHA1

md5_bulk_lookup(md5: List[str]) List[Dict[str, str]]

Lookup a list of MD5

md5_lookup(md5: str) Dict[str, Union[str, Dict[str, str]]]

Lookup a MD5

md5_lookup_over_dns(md5: str) Dict[str, Union[str, Dict[str, str]]]

Lookup a MD5, over DNS

sha1_bulk_lookup(sha1: List[str]) List[Dict[str, str]]

Lookup a list of SHA1

sha1_children(sha1: str, count: int = 100, cursor: str = '0') Dict[str, Union[List[str], str, int]]

Return children from a given SHA1.

sha1_lookup(sha1: str) Dict[str, Union[str, Dict[str, str]]]

Lookup a SHA1

sha1_lookup_over_dns(sha1: str) Dict[str, Union[str, Dict[str, str]]]

Lookup a SHA1, over DNS

sha1_parents(sha1: str, count: int = 100, cursor: str = '0') Dict[str, Union[List[str], str, int]]

Return parents from a given SHA1.

sha256_lookup(sha256: str) Dict[str, Union[str, Dict[str, str]]]

Lookup a SHA256

top() Dict[str, Any]

Get the information about the database.