Merge branch 'master' into patch-1

pull/735/head
Siddharth Dushantha 4 years ago committed by GitHub
commit 8d50f2bca3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,7 +3,7 @@
<img src="https://user-images.githubusercontent.com/27065646/53551960-ae4dff80-3b3a-11e9-9075-cef786c69364.png"/>
<br>
<span>Hunt down social media accounts by username across <a href="https://github.com/theyahya/sherlock/blob/master/sites.md">social networks</a></span>
<span>Hunt down social media accounts by username across <a href="https://github.com/sherlock-project/sherlock/blob/master/sites.md">social networks</a></span>
<br>
<a target="_blank" href="https://www.python.org/downloads/" title="Python version"><img src="https://img.shields.io/badge/python-%3E=_3.6-green.svg"></a>
<a target="_blank" href="LICENSE" title="License: MIT"><img src="https://img.shields.io/badge/License-MIT-blue.svg"></a>
@ -15,15 +15,13 @@
</p>
<p align="center">
<a href="#demo">Demo</a>
&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="#installation">Installation</a>
&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="#usage">Usage</a>
&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="#docker-notes">Docker Notes</a>
&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="#adding-new-sites">Adding New Sites</a>
<a href="#contributing">Contributing</a>
</p>
<p align="center">
@ -35,8 +33,6 @@
## Installation
**NOTE**: Python 3.6 or higher is required.
```console
# clone the repo
$ git clone https://github.com/sherlock-project/sherlock.git
@ -44,8 +40,6 @@ $ git clone https://github.com/sherlock-project/sherlock.git
# change the working directory to sherlock
$ cd sherlock
# install python3 and python3-pip if they are not installed
# install the requirements
$ python3 -m pip install -r requirements.txt
```
@ -153,13 +147,16 @@ You can use the `docker-compose.yml` file from the repository and use this comma
docker-compose run sherlock -o /opt/sherlock/results/text.txt user123
```
## Adding New Sites
## Contributing
We would love to have you help us on the development of Sherlock. Each and every contribution is greatly valued!
Here are some things we would appriciate your help on:
- Addition of new site support ¹
- Bringing back site support of [sites that have been removed](removed_sites.md) in the past due to false positives
Please look at the Wiki entry on
[adding new sites](https://github.com/TheYahya/sherlock/wiki/Adding-Sites-To-Sherlock)
to understand the issues.
**NOTE**: Sherlock is not accepting adult sites in the standard list.
[1] Please look at the Wiki entry on [adding new sites](https://github.com/sherlock-project/sherlock/wiki/Adding-Sites-To-Sherlock)
to understand the issues.
## Tests

@ -396,6 +396,84 @@
"urlMain": "https://yandex.ru/collections/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"500px": {
"errorMsg": "Oops! This page doesn\u2019t exist.",
"errorType": "message",
"regexCheck": "^[a-z0-9_]+$",
"url": "https://500px.com/{}",
"urlMain": "https://500px.com/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"PayPal": {
"errorMsg": "<meta name=\"twitter:title\" content=\"Get your very own PayPal.Me link\" />",
"errorType": "message",
"url": "https://www.paypal.com/paypalme/{}",
"headers": {
"User-Agent": ""
},
"urlMain": "https://www.paypal.me/",
"username_claimed": "blue",
"username_unclaimed": "noneownsthisusername7"
},
"Fiverr": {
"errorType": "response_url",
"errorUrl": "https://www.fiverr.com/",
"url": "https://www.fiverr.com/{}",
"urlMain": "https://www.fiverr.com/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis"
},
"ImageShack": {
"errorType": "response_url",
"errorUrl": "https://imageshack.us/",
"url": "https://imageshack.us/user/{}",
"urlMain": "https://imageshack.us/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"Aptoide": {
"errorType": "status_code",
"url": "https://{}.en.aptoide.com/",
"urlMain": "https://en.aptoide.com/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"Crunchyroll": {
"errorType": "status_code",
"url": "https://www.crunchyroll.com/user/{}",
"urlMain": "https://www.crunchyroll.com/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"T-MobileSupport": {
"errorType": "status_code",
"url": "https://support.t-mobile.com/people/{}",
"urlMain": "https://support.t-mobile.com",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"OpenCollective": {
"errorType": "status_code",
"url": "https://opencollective.com/{}",
"urlMain": "https://opencollective.com/",
"username_claimed": "sindresorhus",
"username_unclaimed": "noonewouldeverusethis7"
},
"SegmentFault": {
"errorType": "status_code",
"url": "https://segmentfault.com/u/{}",
"urlMain": "https://segmentfault.com/",
"username_claimed": "bule",
"username_unclaimed": "noonewouldeverusethis7"
},
"Viadeo": {
"errorType": "status_code",
"url": "http://fr.viadeo.com/en/profile/{}",
"urlMain": "http://fr.viadeo.com/en/",
"username_claimed": "franck.patissier",
"username_unclaimed": "noonewouldeverusethis"
}
}

@ -123,7 +123,6 @@ This can be detected, but it requires a different detection method.
As of 2020-02-23, all usernames are reported as not existing.
Why was this ever added? It does not look like a social network.
```
"Basecamp": {
@ -793,4 +792,150 @@ As of 2020-08-11, YandexCollection presents us with a rechapta which prevents us
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
```
```
## 500px
As of 2020-08-24, 500px now returns false positives, which was found when running the tests, but will most likley be added again in the near
future once we find a better error detecting method.
```
"500px": {
"errorMsg": "Oops! This page doesn\u2019t exist.",
"errorType": "message",
"regexCheck": "^[a-z0-9_]+$",
"url": "https://500px.com/{}",
"urlMain": "https://500px.com/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
```
## PayPal
As of 2020-08-24, PayPal now returns false positives, which was found when running the tests, but will most likley be added again in the near
future once we find a better error detecting method.
```
"PayPal": {
"errorMsg": "<meta name=\"twitter:title\" content=\"Get your very own PayPal.Me link\" />",
"errorType": "message",
"url": "https://www.paypal.com/paypalme/{}",
"headers": {
"User-Agent": ""
},
"urlMain": "https://www.paypal.me/",
"username_claimed": "blue",
"username_unclaimed": "noneownsthisusername7"
},
```
## Fiverr
As of 2020-08-24, Fiverr now returns false positives, which was found when running the tests, but will most likley be added again in the near
future once we find a better error detecting method.
```
"Fiverr": {
"errorType": "response_url",
"errorUrl": "https://www.fiverr.com/",
"url": "https://www.fiverr.com/{}",
"urlMain": "https://www.fiverr.com/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis"
},
```
## ImageShack
As of 2020-08-24, ImageShack now returns false positives, which was found when running the tests, but will most likley be added again in the near future once we find a better error detecting method.
```
"ImageShack": {
"errorType": "response_url",
"errorUrl": "https://imageshack.us/",
"url": "https://imageshack.us/user/{}",
"urlMain": "https://imageshack.us/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
```
## Aptoide
As of 2020-08-24, Aptoide now returns false positives, which was found when running the tests, but will most likley be added again in the near
future once we find a better error detecting method.
```
"Aptoide": {
"errorType": "status_code",
"url": "https://{}.en.aptoide.com/",
"urlMain": "https://en.aptoide.com/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
```
## Crunchyroll
As of 2020-08-24, Crunchyroll now returns false positives, which was found when running the tests, but will most likley be added again in the near future once we find a better error detecting method.
```
"Crunchyroll": {
"errorType": "status_code",
"url": "https://www.crunchyroll.com/user/{}",
"urlMain": "https://www.crunchyroll.com/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
```
## T-MobileSupport
As of 2020-08-24, T-MobileSupport now returns false positives, which was found when running the tests, but will most likley be added again in the near future once we find a better error detecting method.
```
"T-MobileSupport": {
"errorType": "status_code",
"url": "https://support.t-mobile.com/people/{}",
"urlMain": "https://support.t-mobile.com",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
```
## OpenCollective
As of 2020-08-24, OpenCollective now returns false positives, which was found when running the tests, but will most likley be added again in the near future once we find a better error detecting method.
```
"OpenCollective": {
"errorType": "status_code",
"url": "https://opencollective.com/{}",
"urlMain": "https://opencollective.com/",
"username_claimed": "sindresorhus",
"username_unclaimed": "noonewouldeverusethis7"
},
```
## SegmentFault
As of 2020-08-24, SegmentFault now returns false positives, which was found when running the tests, but will most likley be added again in the near future once we find a better error detecting method.
```
"SegmentFault": {
"errorType": "status_code",
"url": "https://segmentfault.com/u/{}",
"urlMain": "https://segmentfault.com/",
"username_claimed": "bule",
"username_unclaimed": "noonewouldeverusethis7"
},
```
## Viadeo
As of 2020-08-24, Viadeo now returns false positives, which was found when running the tests, but will most likley be added again in the near future once we find a fix for this
```
"Viadeo": {
"errorType": "status_code",
"url": "http://fr.viadeo.com/en/profile/{}",
"urlMain": "http://fr.viadeo.com/en/",
"username_claimed": "franck.patissier",
"username_unclaimed": "noonewouldeverusethis"
},
```

@ -22,15 +22,6 @@
"username_claimed": "green",
"username_unclaimed": "noonewouldeverusethis7"
},
"500px": {
"errorMsg": "Oops! This page doesn\u2019t exist.",
"errorType": "message",
"regexCheck": "^[a-z0-9_]+$",
"url": "https://500px.com/{}",
"urlMain": "https://500px.com/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"7Cups": {
"errorType": "status_code",
"url": "https://www.7cups.com/@{}",
@ -81,13 +72,6 @@
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"Aptoide": {
"errorType": "status_code",
"url": "https://{}.en.aptoide.com/",
"urlMain": "https://en.aptoide.com/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"Archive.org": {
"errorMsg": "cannot find account",
"errorType": "message",
@ -180,6 +164,16 @@
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"BinarySearch": {
"errorMsg": "{}",
"errorType": "message",
"regexCheck": "^[a-zA-Z0-9-_]{1,15}$",
"url":"https://binarysearch.io/@/{}",
"urlProbe": "https://binarysearch.io/api/users/{}/profile",
"urlMain": "https://binarysearch.io/",
"username_claimed": "Eyes_Wide_Shut",
"username_unclaimed": "hihowareyou101"
},
"BitBucket": {
"errorType": "status_code",
"regexCheck": "^[a-zA-Z0-9-_]{1,30}$",
@ -320,7 +314,8 @@
"username_unclaimed": "noonewouldeverusethis"
},
"Clozemaster": {
"errorType": "status_code",
"errorType": "message",
"errorMsg": "Oh no! Player not found.",
"url": "https://www.clozemaster.com/players/{}",
"urlMain": "https://www.clozemaster.com",
"username_claimed": "green",
@ -386,13 +381,6 @@
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"Crunchyroll": {
"errorType": "status_code",
"url": "https://www.crunchyroll.com/user/{}",
"urlMain": "https://www.crunchyroll.com/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"DEV Community": {
"errorType": "status_code",
"regexCheck": "^[a-zA-Z][a-zA-Z0-9_-]*$",
@ -521,7 +509,8 @@
"regexCheck": "^[a-zA-Z0-9\\.]{3,49}(?<!\\.com|\\.org|\\.net)$",
"url": "https://www.facebook.com/{}",
"urlMain": "https://www.facebook.com/",
"username_claimed": "blue",
"urlProbe": "https://www.facebook.com/{}/videos/",
"username_claimed": "hackerman",
"username_unclaimed": "noonewouldeverusethis7"
},
"Facenama": {
@ -546,14 +535,6 @@
"username_claimed": "cupparober",
"username_unclaimed": "noonewouldeverusethis7"
},
"Fiverr": {
"errorType": "response_url",
"errorUrl": "https://www.fiverr.com/",
"url": "https://www.fiverr.com/{}",
"urlMain": "https://www.fiverr.com/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis"
},
"Flickr": {
"errorType": "status_code",
"url": "https://www.flickr.com/people/{}",
@ -783,14 +764,6 @@
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"ImageShack": {
"errorType": "response_url",
"errorUrl": "https://imageshack.us/",
"url": "https://imageshack.us/user/{}",
"urlMain": "https://imageshack.us/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"ImgUp.cz": {
"errorType": "status_code",
"url": "https://imgup.cz/{}",
@ -1087,13 +1060,6 @@
"username_claimed": "ok",
"username_unclaimed": "noonewouldeverusethis7"
},
"OpenCollective": {
"errorType": "status_code",
"url": "https://opencollective.com/{}",
"urlMain": "https://opencollective.com/",
"username_claimed": "sindresorhus",
"username_unclaimed": "noonewouldeverusethis7"
},
"OpenStreetMap": {
"errorType": "status_code",
"url": "https://www.openstreetmap.org/user/{}",
@ -1176,17 +1142,6 @@
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"PayPal": {
"errorMsg": "<meta name=\"twitter:title\" content=\"Get your very own PayPal.Me link\" />",
"errorType": "message",
"url": "https://www.paypal.com/paypalme/{}",
"headers": {
"User-Agent": ""
},
"urlMain": "https://www.paypal.me/",
"username_claimed": "blue",
"username_unclaimed": "noneownsthisusername7"
},
"Periscope": {
"errorType": "status_code",
"url": "https://www.periscope.tv/{}/",
@ -1387,13 +1342,6 @@
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"SegmentFault": {
"errorType": "status_code",
"url": "https://segmentfault.com/u/{}",
"urlMain": "https://segmentfault.com/",
"username_claimed": "bule",
"username_unclaimed": "noonewouldeverusethis7"
},
"ShitpostBot5000": {
"errorType": "status_code",
"url": "https://www.shitpostbot.com/user/{}",
@ -1558,13 +1506,6 @@
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis"
},
"T-MobileSupport": {
"errorType": "status_code",
"url": "https://support.t-mobile.com/people/{}",
"urlMain": "https://support.t-mobile.com",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
"Taringa": {
"errorType": "status_code",
"url": "https://www.taringa.net/{}",
@ -1729,13 +1670,6 @@
"username_claimed": "jenny",
"username_unclaimed": "noonewouldeverusethis7"
},
"Viadeo": {
"errorType": "status_code",
"url": "http://fr.viadeo.com/en/profile/{}",
"urlMain": "http://fr.viadeo.com/en/",
"username_claimed": "franck.patissier",
"username_unclaimed": "noonewouldeverusethis"
},
"Vimeo": {
"errorType": "status_code",
"url": "https://vimeo.com/{}",

@ -25,7 +25,8 @@ from notify import QueryNotifyPrint
from sites import SitesInformation
module_name = "Sherlock: Find Usernames Across Social Networks"
__version__ = "0.12.7"
__version__ = "0.12.6"
@ -564,16 +565,19 @@ def main():
site_data = {}
site_missing = []
for site in args.site_list:
counter = 0
for existing_site in site_data_all:
if site.lower() == existing_site.lower():
site_data[existing_site] = site_data_all[existing_site]
if not site_data:
counter += 1
if counter == 0:
# Build up list of sites not supported for future error message.
site_missing.append(f"'{site}'")
if site_missing:
print(
f"Error: Desired sites not found: {', '.join(site_missing)}.")
print(f"Error: Desired sites not found: {', '.join(site_missing)}.")
if not site_data:
sys.exit(1)
#Create notify object for query results.

@ -75,7 +75,7 @@ class SherlockDetectTests(SherlockBaseTest):
Will trigger an assert if detection mechanism did not work as expected.
"""
site = 'Facebook'
site = 'Pinterest'
site_data = self.site_data_all[site]
#Ensure that the site's detection method has not changed.
@ -102,7 +102,7 @@ class SherlockDetectTests(SherlockBaseTest):
Will trigger an assert if detection mechanism did not work as expected.
"""
site = 'Facebook'
site = 'Pinterest'
site_data = self.site_data_all[site]
#Ensure that the site's detection method has not changed.

@ -303,3 +303,4 @@
302. [Warrior Forum](https://www.warriorforum.com/)
303. [Windy](https://windy.com/)
304. [Strava](https://www.strava.com/)
305. [BinarySearch](https://binarysearch.io/)

Loading…
Cancel
Save