|
|
@ -24,6 +24,7 @@ import re
|
|
|
|
from argparse import ArgumentParser, RawDescriptionHelpFormatter
|
|
|
|
from argparse import ArgumentParser, RawDescriptionHelpFormatter
|
|
|
|
from json import loads as json_loads
|
|
|
|
from json import loads as json_loads
|
|
|
|
from time import monotonic
|
|
|
|
from time import monotonic
|
|
|
|
|
|
|
|
from typing import Optional
|
|
|
|
|
|
|
|
|
|
|
|
import requests
|
|
|
|
import requests
|
|
|
|
from requests_futures.sessions import FuturesSession
|
|
|
|
from requests_futures.sessions import FuturesSession
|
|
|
@ -167,14 +168,14 @@ def multiple_usernames(username):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def sherlock(
|
|
|
|
def sherlock(
|
|
|
|
username,
|
|
|
|
username: str,
|
|
|
|
site_data,
|
|
|
|
site_data: dict,
|
|
|
|
query_notify: QueryNotify,
|
|
|
|
query_notify: QueryNotify,
|
|
|
|
tor: bool = False,
|
|
|
|
tor: bool = False,
|
|
|
|
unique_tor: bool = False,
|
|
|
|
unique_tor: bool = False,
|
|
|
|
dump_response: bool = False,
|
|
|
|
dump_response: bool = False,
|
|
|
|
proxy=None,
|
|
|
|
proxy: Optional[str] = None,
|
|
|
|
timeout=60,
|
|
|
|
timeout: int = 60,
|
|
|
|
):
|
|
|
|
):
|
|
|
|
"""Run Sherlock Analysis.
|
|
|
|
"""Run Sherlock Analysis.
|
|
|
|
|
|
|
|
|
|
|
@ -474,7 +475,7 @@ def sherlock(
|
|
|
|
raise ValueError(
|
|
|
|
raise ValueError(
|
|
|
|
f"Unknown Error Type '{error_type}' for " f"site '{social_network}'"
|
|
|
|
f"Unknown Error Type '{error_type}' for " f"site '{social_network}'"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
if dump_response:
|
|
|
|
if dump_response:
|
|
|
|
print("+++++++++++++++++++++")
|
|
|
|
print("+++++++++++++++++++++")
|
|
|
|
print(f"TARGET NAME : {social_network}")
|
|
|
|
print(f"TARGET NAME : {social_network}")
|
|
|
|