Encontre nomes de usuários nas redes sociais
Instalação
NOTA : O Python 3.6 ou superior é necessário.
NOTA : O Python 3.6 ou superior é necessário.
# clone the repo
$ git clone https://github.com/sherlock-project/sherlock.git
# change the working directory to sherlock
$ cd sherlock
# install python3 and python3-pip if not exist
# install the requirements
$ pip3 install -r requirements.txt
Uso
$ python3 sherlock.py --help
usage: sherlock.py [-h] [--version] [--verbose] [--rank]
[--folderoutput FOLDEROUTPUT] [--output OUTPUT] [--tor]
[--unique-tor] [--csv] [--site SITE_NAME]
[--proxy PROXY_URL] [--json JSON_FILE]
USERNAMES [USERNAMES ...]
Sherlock: Find Usernames Across Social Networks (Version 0.6.4)
positional arguments:
USERNAMES One or more usernames to check with social networks.
optional arguments:
-h, --help show this help message and exit
--version Display version information and dependencies.
--verbose, -v, -d, --debug
Display extra debugging information and metrics.
--rank, -r Present websites ordered by their Alexa.com global
rank in popularity.
--folderoutput FOLDEROUTPUT, -fo FOLDEROUTPUT
If using multiple usernames, the output of the results
will be saved at this folder.
--output OUTPUT, -o OUTPUT
If using single username, the output of the result
will be saved at this file.
--tor, -t Make requests over TOR; increases runtime; requires
TOR to be installed and in system path.
--unique-tor, -u Make requests over TOR with new TOR circuit after each
request; increases runtime; requires TOR to be
installed and in system path.
--csv Create Comma-Separated Values (CSV) File.
--site SITE_NAME Limit analysis to just the listed sites. Add multiple
options to specify more than one site.
--proxy PROXY_URL, -p PROXY_URL
Make requests over a proxy. e.g.
socks5://127.0.0.1:1080
--json JSON_FILE, -j JSON_FILE
Load data from a JSON file or an online, valid, JSON
file.
--print-found
Prints only found messages. Errors, and invalid
username errors will not appear.
python3 sherlock.py user123
e todas as contas encontradas serão armazenadas em um arquivo de texto com o nome de usuário (por exemplo user123.txt
). Notas do Docker
Se você tiver o Docker instalado, poderá criar uma imagem e executá-la como um contêiner.
docker build -t mysherlock-image .
docker run --rm mysherlock-image user123
--rm
sinalizador opcional remove o sistema de arquivos do contêiner após a conclusão para evitar o acúmulo de resíduos. Veja https://docs.docker.com/engine/reference/run/#clean-up---rmUma ressalva é que o arquivo de texto criado só existirá no contêiner para que você não consiga .
Ou você pode simplesmente usar o "Docker Hub" para executar
sherlock
:docker run theyahya/sherlock user123
Adicionando novos sites
Por favor, olhe a entrada Wiki sobre a adição de novos sites para entender os problemas.
Testes
Se você está contribuindo para o Sherlock, então obrigado!
Antes de criar uma solicitação pull com novo desenvolvimento, execute os testes para garantir que tudo esteja bem. Também seria uma boa idéia executar os testes antes de iniciar o desenvolvimento para distinguir os problemas entre seu ambiente e o software Sherlock.
A seguir, um exemplo da linha de comando para executar todos os testes do Sherlock. Essa chamada oculta o texto de progresso que o Sherlock normalmente gera e, em vez disso, mostra a saída detalhada dos testes.
$ python3 -m unittest tests.all --buffer --verbose