Git Product home page Git Product logo

social_mapper's Introduction

Social Mapper

alt text alt text

This tool is no longer actively maintained, parts of it may still work and I will accept pull requests to keep it up to date

WARNING: FACEBOOK NOW DETECTS THIS AFTER A FEW 100 SEARCHES, USE ONLY DISPOSABLE FACEBOOK ACCOUNTS

A Social Media Mapping Tool that correlates profiles via facial recognition by Jacob Wilkin (Greenwolf).

Social Mapper is an Open Source Intelligence Tool that uses facial recognition to correlate social media profiles across different sites on a large scale. It takes an automated approach to search popular social media sites for targets' names and pictures to accurately detect and group a person’s presence, outputting the results into report that a human operator can quickly review.

Social Mapper has a variety of uses in the security industry, for example the automated gathering of large amounts of social media profiles for use on targeted phishing campaigns. Facial recognition aids this process by removing false positives in the search results, so that reviewing this data is quicker for a human operator.

Social Mapper supports the following social media platforms:

  • LinkedIn
  • Facebook
  • Pinterest
  • Twitter
  • Google Plus
  • Instagram
  • VKontakte
  • Weibo
  • Douban

Social Mapper takes a variety of input types such as:

  • An organisation's name, searching via LinkedIn
  • A folder full of named images
  • A CSV file with names and URL’s to images online

Usecases (Why you want to run this)

Social Mapper is primarily aimed at Penetration Testers and Red Teamers, who will use it to expand their target lists and find their social media profiles. From here what you do is only limited by your imagination, but here are a few ideas to get started:

(Note: Social Mapper does not perform these attacks, it gathers you the data you need to perform them on a mass scale.)

  • Create fake social media profiles to 'friend' the targets and send them links or malware. Recent statistics show social media users are more than twice as likely to click on links and open documents compared to those delivered via email.
  • Trick users into disclosing their emails and phone numbers with vouchers and offers to make the pivot into phishing, vishing or smishing.
  • Create custom phishing campaigns for each social media site, knowing that the target has an account. Make these more realistic by including their profile picture in the email. Capture the passwords for password reuse.
  • View target photos looking for employee access card badges and familiarise yourself with building interiors.

Getting Started

These instructions will show you the requirements for and how to use Social Mapper.

Prerequisites

Note: On Kali you can now run ./kali-installer.sh from the setup directory.

As this is a Python3 based tool, it should theoretically run on Linux, ChromeOS (Developer Mode) and macOS. The main requirements are Firefox, Selenium and Geckodriver. To install the tool and set it up follow these 4 steps:

  1. Install the latest version of Mozilla Firefox for macOS here:
https://www.mozilla.org/en-GB/firefox/new/

Or for Debian/Kali (but not required for Ubuntu) get the non-ESR version of Firefox with:

sudo add-apt-repository ppa:mozillateam/firefox-next && sudo apt update && sudo apt upgrade

Make sure the new version of Firefox is in the path. If not manually add it.

  1. Install the Geckodriver for your operating system and make sure it's in your path, on Mac you can place it in /usr/local/bin, on ChromeOS you can place it in /usr/local/bin, and on Linux you can place it in /usr/bin.

Download the latest version of Geckodriver here:

https://github.com/mozilla/geckodriver/releases
  1. Install the required libraries:

On Linux install the following prerequisites:

sudo apt-get install build-essential cmake
sudo apt-get install libgtk-3-dev
sudo apt-get install libboost-all-dev

On Linux & macOS finish the install with:

git clone https://github.com/Greenwolf/social_mapper
cd social_mapper/setup
python3 -m pip install --no-cache-dir -r requirements.txt

On Mac look through the setup/setup-mac.txt file to view some additional xcode, brew and xquartz installation instructions.

  1. Provide Social Mapper with credentials to log into social media services:
Open social_mapper.py and enter social media credentials into global variables at the top of the file
  1. For Facebook & Instagram, make sure the language of the account which you have provided credentials for is set to 'English (US)' for the duration of the run. Additionally make sure all of your accounts are working, and can be logged into without requiring 2 factor authentication.

  2. Use the Firefox browser to login to each Social Media Profile once and save/process and "unknown browser" or "trust this browser" pages.

Using Social Mapper

Social Mapper is run from the command-line using a mix of required and optional parameters. You can specify options such as input type and which sites to check alongside a number of other parameters which affect speed and accuracy.

Required Parameters

To start up the tool 4 parameters must be provided, an input format, the input file or folder and the basic running mode:

-f, --format	: Specify if the -i, --input is a 'name', 'csv', 'imagefolder' or 'socialmapper' resume file
-i, --input	: The company name, a CSV file, imagefolder or Social Mapper HTML file to feed into Social Mapper
-m, --mode	: 'fast' or 'accurate' allows you to choose to skip potential targets after a first likely match is found, in some cases potentially speeding up the program x20

Additionally at least one social media site to check must be selected by including one or more of the following:

-a, --all		: Selects all of the options below and checks every site that Social Mapper has credentials for
-fb, --facebook		: Check Facebook
-tw, --twitter		: Check Twitter
-ig, --instagram	: Check Instagram
-li, --linkedin		: Check LinkedIn
-gp, --googleplus	: Check Google Plus
-vk, --vkontakte	: Check VKontakte
-wb, --weibo		: Check Weibo
-db, --douban		: Check Douban

Optional Parameters

Additional optional parameters can also be set to add additional customisation to the way Social Mapper runs:

-t, --threshold		: Customises the facial recognition threshold for matches, this can be seen as the match accuracy. Default is 'standard', but can be set to 'loose', 'standard', 'strict' or 'superstrict'. For example 'loose' will find more matches, but some may be incorrect. While 'strict' may find less matches but also contain less false positives in the final report.
-cid, --companyid	: Additional parameter to add in a LinkedIn Company ID for if name searches are not picking the correct company.
-s, --showbrowser	: Makes the Firefox browser visible so you can see the searches performed. Useful for debugging.
-w, --waitafterlogin : Wait for user to press Enter after login to give time to enter 2FA codes. Must use with -s
-v, --version		: Display current version.
-vv, --verbose  : Verbose Mode (Useful for Debugging)
-e, --email		: Provide a fuzzy email format like "<f><last>@domain.com" to generate additional CSV files for each site with firstname, lastname, fullname, email, profileURL, photoURL. These can be fed into phishing frameworks such as Gophish or Lucy.

Example Runs

Here are a couple of example runs to get started for differing use cases:

A quick run for Facebook and Twitter on some targets you have in an imagefolder, that you plan to manually review and don't mind some false positives:
python3 social_mapper.py -f imagefolder -i ./Input-Examples/imagefolder/ -m fast -fb -tw

The same as above but with the browser showing, and waiting enabled to allow a user to enter 2FA codes and manually rectify changed login processes:
python3 social_mapper.py -f imagefolder -i ./Input-Examples/imagefolder/ -m fast -fb -tw -s -w

An exhaustive run on a large company where false positives must be kept to a minimum:
python3 social_mapper.py -f company -i "Evil Corp LLC" -m accurate -a -t strict

A large run that needs to be split over multiple sessions due to time, the first run doing LinkedIn and Facebook, with the second resuming and filling in Twitter, Google Plus and Instagram:
python3 social_mapper.py -f company -i "Evil Corp LLC" -m accurate -li -fb
python3 social_mapper.py -f socialmapper -i ./Evil-Corp-LLC-social-mapper-linkedin-facebook.html -m accurate -tw -gp -ig

A quick run (~5min) without facial recognition to generate a CSV full of names, email addresses, profiles and photo links from up to 1000 people pulled out of a LinkedIn company, where the email format is known to be "firstname.lastname":
python3 social_mapper.py -f company -i "Evil Corp LLC" -m accurate -li -e "<first>.<last>@evilcorpllc.com"

Troubleshooting

Social Media sites often change their page formats and class names, if Social Mapper isn't working for you on a specific site, check out the docs section for troubleshooting advice on how to fix it. Please feel free to submit a pull request with your fixes.

Maltego

For a guide to loading your Social Mapper results into Maltego, check out the docs section.

Authors

Donation

If this tool has been useful for you, feel free to thank me by buying me a coffee :)

Coffee

Acknowledgments

  • Thanks to Vincent Yiu & MDSEC for their great LinkedInt tool which inspired me to add the search by LinkedIn company name input method.
  • Thanks to janmei (Pinterest Module), alexsok-bit, ewpratten, cclauss, TADT1909, Molkree and kix-s for their contributions to the project.
  • Thanks to [Your Name Could Be Here, Come Help Out!] for contributions to the project.

Social Mapper Logo

Youtube Trailer:

Social Mapper Trailer

social_mapper's People

Contributors

alexsok-bit avatar cclauss avatar chilledfrogs avatar ewpratten avatar green-wolf avatar greenwolf avatar ist182069 avatar molkree avatar pcaldredbann avatar thienandangthanh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

social_mapper's Issues

NameError: name 'argparse' is not defined

I imported those text to "social_mapper.py"
"import sys
sys.path.insert(0, './modules')
import facebookfinder
import twitterfinder
import instagramfinder
import linkedinfinder
import vkontaktefinder
import weibofinder
import doubanfinder
import googleplusfinder"

and create a empty file "init.py" in modules.
But the error appear:

python2.7 social_mapper.py

Traceback (most recent call last):
File "social_mapper.py", line 829, in
parser = argparse.ArgumentParser(
NameError: name 'argparse' is not defined

Help me please!

Can't run, ImportError

It's not running, gives these lines

File "social_mapper.py", line 1, in
from modules import facebookfinder
ImportError: No module named modules

ImportError: cannot import name _imaging

Traceback (most recent call last):
  File "social_mapper.py", line 24, in <module>
    import face_recognition
  File "C:\Python27\lib\site-packages\face_recognition\__init__.py", line 7, in <module>
    from .api import load_image_file, face_locations, batch_face_locations, face_landmarks, face_encodings, compare_faces, face_distance
  File "C:\Python27\lib\site-packages\face_recognition\api.py", line 3, in <module>
    import PIL.Image
  File "C:\Python27\lib\site-packages\PIL\Image.py", line 64, in <module>
    from . import _imaging as core
ImportError: cannot import name _imaging

ASCII codec can't encode characters.

I installed the tool and all it's requirements, but when i run this command:

python2 social_mapper.py -f imagefolder -i ./h -m fast -fb

, i'm getting this error:

[-] Error Filling out Facebook Profiles [-]
'ascii' codec can't encode characters in position 0-6: ordinal not in range(128)
[-]

Any solution?

No output

How to get output properly?
I tried some examples like : python social_mapper.py -f company -i "Apple" -m accurate -a -t strict
but no output displayed

Facebook session has expired attempting to reestablish...

python social_mapper.py -f imagefolder -i ./Input-Examples/imagefolder/ -m fast -fb

[+] Facebook Login Page loaded successfully [+]
[+] Facebook Login Success [+]

Facebook Check 1/1 : xxxxx
Facebook session has expired attempting to reestablish...
Facebook Timeout Error, session has expired and attempts to reestablish have failed

Results file: SM-Results/results-social-mapper.csv
HTML file: SM-Results/results-social-mapper.html

Task Duration: 0:01:52.266670

errors

I try to write python social_mapper.py -f GOOGLE -i "Company Name Here" -m accurate -a -t strict and I get an error:
python: can't open file 'social_mapper.py': [Errno 2] No such file or directory

pip install -r requirements.txt

Downloading https://files.pythonhosted.org/packages/cf/3b/4fd8c534f6c0d1b80ce0973d01331525538045084c73c153ee6df20224cf/face_recognition_models-0.3.0.tar.gz (100.1MB)
99% |████████████████████████████████| 100.1MB 2.8MB/s eta 0:00:01Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run
wb.build(autobuilding=True)
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 620, in _prepare_file
session=self.session, hashes=hashes)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 821, in unpack_url
hashes=hashes
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 659, in unpack_http_url
hashes)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 882, in _download_http_url
_download_url(resp, link, content_file, hashes)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 603, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File "/usr/lib/python2.7/dist-packages/pip/utils/hashes.py", line 46, in check_against_chunks
for chunk in chunks:
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 571, in written_chunks
for chunk in chunks:
File "/usr/lib/python2.7/dist-packages/pip/utils/ui.py", line 139, in iter
for x in it:
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 560, in resp_read
decode_content=False):
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", line 432, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", line 380, in read
data = self._fp.read(amt)
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", line 63, in read
self._close()
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", line 50, in _close
self.__callback(self.__buf.getvalue())
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/controller.py", line 275, in cache_response
self.serializer.dumps(request, response, body=body),
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/serialize.py", line 87, in dumps
).encode("utf8"),
MemoryError

Login fails + LinkedIn reached error page

For some reason, Twitter, Instagram and LinkedIn raises "Login Failed" although credentials are valid:
"
Instagram Check 1/2 : xxxxxxxxxxxx
[+] Instagram Login Page loaded successfully [+]
[-] Instagram Login Failed [-]

Instagram Timeout Error, session has expired and attempts to reestablish have failed
"

Also, another error is raised while connecting to LinkedIn:"

selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=connectionFailure&u=https%3A//www.linkedin.com/uas/login&c=UTF-8&f=regular&d=Firefox%20can%E2%80%99t%20establish%20a%20connection%20to%20the%20server%20at%20www.linkedin.com.

No Module Named Modules

Trackback (most recent call last):
File "social_mapper.py", line 1, in
from modules import fecebookfinder
ImportError: No module named modules

Selenium error: socialmapper working only with Facebook

Hi. So long, I am trying to get it running on Twitter and Facebook (Kali Linux).
ok with Facebook, but with Twitter, Instagram, Linkedin, etc, I get this error:

root@kali:~/Desktop/social_mapper-master# python social_mapper.py -f imagefolder -i ./ -m fast -tw
Traceback (most recent call last):
File "social_mapper.py", line 1111, in
peoplelist = fill_twitter(peoplelist)
File "social_mapper.py", line 217, in fill_twitter
TwitterfinderObject = twitterfinder.Twitterfinder(showbrowser)
File "/root/Desktop/social_mapper-master/modules/twitterfinder.py", line 19, in init
self.driver.implicitly_wait(15)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 767, in implicitly_wait
'implicit': int(float(time_to_wait) * 1000)})
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 297, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 194, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Missing 'type' parameter

What next?
tnx

How long is installation process ?

Trying to install social_mapper on Kali Virtual Machine.

First I run : pip install cmake
After : python -m pip install --no-cache-dir -r requirements.txt

Already waited - 1 hour

Current process is :

Requirement already satisfied: beautifulsoup4 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 1))
Requirement already satisfied: selenium in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 2))
Requirement already satisfied: pyvirtualdisplay in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 3))
Requirement already satisfied: tabulate in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 4))
Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 5))
Collecting face_recognition (from -r requirements.txt (line 6))
  Downloading https://files.pythonhosted.org/packages/28/10/f153bbbc218fc169768aa1c02f2e9178e9241e4af8da56289bdca2c0c217/face_recognition-1.2.2-py2.py3-none-any.whl
Collecting django (from -r requirements.txt (line 7))
  Downloading https://files.pythonhosted.org/packages/f8/1c/31112c778b7a56ce18e3fff5e8915719fbe1cd3476c1eef557dddacfac8b/Django-1.11.15-py2.py3-none-any.whl (6.9MB)
    100% |████████████████████████████████| 7.0MB 493kB/s 
Requirement already satisfied: numpy in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 8))
Collecting scipy (from -r requirements.txt (line 9))
  Downloading https://files.pythonhosted.org/packages/2a/f3/de9c1bd16311982711209edaa8c6caa962db30ebb6a8cc6f1dcd2d3ef616/scipy-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl (30.8MB)
    100% |████████████████████████████████| 30.8MB 470kB/s 
Requirement already satisfied: matplotlib in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 10))
Collecting scikit-image (from -r requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/11/c7/ee75c79dcce057a3475763d611ec044737a708eaf5cc53426b0117795ddb/scikit_image-0.14.0-cp27-cp27mu-manylinux1_x86_64.whl (25.4MB)
    100% |████████████████████████████████| 25.4MB 465kB/s 
Collecting scikit-learn (from -r requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/bc/67/370aa248f54769a56216707ad7b9af19745e85a603fafa47bde353f327fb/scikit_learn-0.19.2-cp27-cp27mu-manylinux1_x86_64.whl (5.0MB)
    100% |████████████████████████████████| 5.0MB 451kB/s 
Requirement already satisfied: ipython in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 13))
Collecting dlib (from -r requirements.txt (line 14))
  Downloading https://files.pythonhosted.org/packages/df/aa/6a9bb2a763107bb2606d6ee1aa65fcd3b51375a9ef6436e9c9280b0dd63c/dlib-19.15.0.tar.gz (3.3MB)
    100% |████████████████████████████████| 3.3MB 451kB/s 
Collecting facebook-sdk (from -r requirements.txt (line 15))
  Downloading https://files.pythonhosted.org/packages/34/ac/830c1f2821847bf191687ac57d3c8416623c7c496332cb281c949c05a308/facebook_sdk-3.0.0-py2-none-any.whl
Requirement already satisfied: urllib3 in /usr/lib/python2.7/dist-packages (from selenium->-r requirements.txt (line 2))
Requirement already satisfied: EasyProcess in /usr/local/lib/python2.7/dist-packages (from pyvirtualdisplay->-r requirements.txt (line 3))
Requirement already satisfied: Pillow in /usr/lib/python2.7/dist-packages (from face_recognition->-r requirements.txt (line 6))
Collecting face-recognition-models>=0.3.0 (from face_recognition->-r requirements.txt (line 6))
  Downloading https://files.pythonhosted.org/packages/cf/3b/4fd8c534f6c0d1b80ce0973d01331525538045084c73c153ee6df20224cf/face_recognition_models-0.3.0.tar.gz (100.1MB)
    100% |████████████████████████████████| 100.2MB 454kB/s 
Requirement already satisfied: Click>=6.0 in /usr/lib/python2.7/dist-packages (from face_recognition->-r requirements.txt (line 6))
Requirement already satisfied: pytz in /usr/lib/python2.7/dist-packages (from django->-r requirements.txt (line 7))
Collecting PyWavelets>=0.4.0 (from scikit-image->-r requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/3c/84/2346f637fcdc0e89122d6356373a3ee58c27b398dc5880af60eb418a9f5f/PyWavelets-0.5.2-cp27-cp27mu-manylinux1_x86_64.whl (5.6MB)
    100% |████████████████████████████████| 5.7MB 486kB/s 
Collecting cloudpickle>=0.2.1 (from scikit-image->-r requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/e7/bf/60ae7ec1e8c6742d2abbb6819c39a48ee796793bcdb7e1d5e41a3e379ddd/cloudpickle-0.5.3-py2.py3-none-any.whl
Collecting networkx>=1.8 (from scikit-image->-r requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/11/42/f951cc6838a4dff6ce57211c4d7f8444809ccbe2134179950301e5c4c83c/networkx-2.1.zip (1.6MB)
    100% |████████████████████████████████| 1.6MB 483kB/s 
Collecting dask[array]>=0.9.0 (from scikit-image->-r requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/91/52/427541141707ac533a6dcafa3bff7ff8b57ded3c9ea84d6ec014d15fbbff/dask-0.18.2-py2.py3-none-any.whl (645kB)
    100% |████████████████████████████████| 655kB 487kB/s 
Requirement already satisfied: six>=1.10.0 in /usr/lib/python2.7/dist-packages (from scikit-image->-r requirements.txt (line 11))
Requirement already satisfied: backports.shutil_get_terminal_size in /usr/lib/python2.7/dist-packages (from ipython->-r requirements.txt (line 13))
Requirement already satisfied: pathlib2 in /usr/lib/python2.7/dist-packages (from ipython->-r requirements.txt (line 13))
Requirement already satisfied: pexpect in /usr/lib/python2.7/dist-packages (from ipython->-r requirements.txt (line 13))
Requirement already satisfied: decorator>=4.1.0 in /usr/lib/python2.7/dist-packages (from networkx>=1.8->scikit-image->-r requirements.txt (line 11))
Collecting toolz>=0.7.3; extra == "array" (from dask[array]>=0.9.0->scikit-image->-r requirements.txt (line 11))
  Downloading https://files.pythonhosted.org/packages/14/d0/a73c15bbeda3d2e7b381a36afb0d9cd770a9f4adc5d1532691013ba881db/toolz-0.9.0.tar.gz (45kB)
    100% |████████████████████████████████| 51kB 482kB/s 
Requirement already satisfied: scandir in /usr/lib/python2.7/dist-packages (from pathlib2->ipython->-r requirements.txt (line 13))
Installing collected packages: dlib, face-recognition-models, face-recognition, django, scipy, PyWavelets, cloudpickle, networkx, toolz, dask, scikit-image, scikit-learn, facebook-sdk
  Running setup.py install for dlib ... \

Is it ok ? How long was your installation ?

Unable to find a matching set of capabilities

I do have all of the required tools installed and Ok on my Kali distro.
but when i try to run a FACEBOOK only search
i get this:

root@kali:~/social_mapper# python social_mapper.py -f csv -i /root/social_mapper/csv.csv -m accurate -fb
[-] Error Filling out Facebook Profiles [-]
Message: Unable to find a matching set of capabilities

[-]


Results file: SM-Results/-root-social_mapper-csv.csv-social-mapper.csv
HTML file: SM-Results/-root-social_mapper-csv.csv-social-mapper.html

Image folder: SM-Results/-root-social_mapper-csv.csv-social-mapper

Task Duration: 0:00:02.156552
root@kali:~/social_mapper#

If i try any other social media, this happens:

root@kali:~/social_mapper# python social_mapper.py -f csv -i /root/social_mapper/csv.csv -m accurate -ig
Traceback (most recent call last):
  File "social_mapper.py", line 1116, in <module>
    peoplelist = fill_instagram(peoplelist)
  File "social_mapper.py", line 295, in fill_instagram
    InstagramfinderObject = instagramfinder.Instagramfinder(showbrowser)
  File "/root/social_mapper/modules/instagramfinder.py", line 19, in __init__
    self.driver = webdriver.Firefox()
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 167, in __init__
    keep_alive=True)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 156, in __init__
    self.start_session(capabilities, browser_profile)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 251, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 320, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities

Can anyone help me ?

no module named facebook please help

python social_mapper.py -f imagefolder -i /root/Pictures -m fast -fb -tw
Traceback (most recent call last):
File "social_mapper.py", line 12, in
import facebook
ImportError: No module named facebook

empty result

Hi, my problem is the following:

Kali Linux, Firefox 61.0.2, Selenium 3.11

_python ~/gladio/social_mapper/social_mapper.py -f imagefolder -i ~/gladio/social_mapper/mytargets -m fast -fb

[+] Facebook Login Page loaded successfully [+]
[+] Facebook Login Success [+]

Facebook Check 1/1 : Bill Gates

Results file: SM-Results/results-social-mapper.csv
HTML file: SM-Results/results-social-mapper.html

Task Duration: 0:00:16.855816_

AND

the result file is empty.
results-social-mapper.csv
Full Name,Facebook
"Bill Gates",""

django.utils problem

Good day, guys. Thank you for your work and soft, but I need help with this

Traceback (most recent call last):
File "social_mapper.py", line 27, in
import encoding
ImportError: No module named encoding`

I've already insalled django.utils

Error Filling out Facebook Profiles

python social_mapper.py -f imagefolder -i ~/Downloads/pic -m fast -fb

[-] Error Filling out Facebook Profiles [-]
Message: Process unexpectedly closed with status 1

[-]

Results file: SM-Results/results-social-mapper.csv
HTML file: SM-Results/results-social-mapper.html

Task Duration: 0:00:01.350334

Google option -gp

Getting this error when using -gp - other services are ok

[+] Google Login Page Part 1 loaded successfully [+]
[+] Google Login Page Part 2 loaded successfully [+]
[+] Google Login Page Part 3 loaded successfully [+]
Traceback (most recent call last):
File "social_mapper.py", line 1127, in
peoplelist = fill_googleplus(peoplelist)
File "social_mapper.py", line 466, in fill_googleplus
GooglePlusfinderObject.doLogin(google_username,google_password)
File "./modules/googleplusfinder.py", line 49, in doLogin
gpPassword.send_keys(password)
File "/Library/Python/2.7/site-packages/selenium/webdriver/remote/webelement.py", line 479, in send_keys
'value': keys_to_typing(value)})
File "/Library/Python/2.7/site-packages/selenium/webdriver/remote/webelement.py", line 628, in _execute
return self._parent.execute(command, params)
File "/Library/Python/2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 320, in execute
self.error_handler.check_response(response)
File "/Library/Python/2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementNotInteractableException: Message: Element

is not reachable by keyboard

Mac Install Error

Whenever I try to install the requirements on mac I get these two errors:

pywavelets 0.5.2 has requirement numpy>=1.9.1, but you'll have numpy 1.8.0rc1 which is incompatible. scikit-image 0.14.0 has requirement matplotlib>=2.0.0, but you'll have matplotlib 1.3.1 which is incompatible. scikit-image 0.14.0 has requirement scipy>=0.17.0, but you'll have scipy 0.13.0b1 which is incompatible.

And

Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-install-zy7TWd/dlib/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/tmp/pip-record-AOyhPh/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-install-zy7TWd/dlib/

This seems to be similar to #35
Any Ideas?

Refusing connection in all services!

[-] Error Filling out Facebook Profiles [-]
Message: connection refused

[-]

Results file: SM-Results/results-social-mapper.csv
HTML file: SM-Results/results-social-mapper.html

Task Duration: 0:01:06.708474

No module named Selenium

pip install selenium is saying that it's installed

Traceback (most recent call last):
  File "social_mapper.py", line 3, in <module>
    import facebookfinder
  File "./modules\facebookfinder.py", line 1, in <module>
    from selenium import webdriver
ImportError: No module named selenium

error

command:
python social_mapper.py -f imagefolder -i images -ig -m fast -s
output:
Traceback (most recent call last):
File "social_mapper.py", line 1116, in
peoplelist = fill_instagram(peoplelist)
File "social_mapper.py", line 295, in fill_instagram
InstagramfinderObject = instagramfinder.Instagramfinder(showbrowser)
File "/root/social_mapper/modules/instagramfinder.py", line 19, in init
self.driver = webdriver.Firefox()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 157, in init
self.service.start()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/service.py", line 76, in start
stdin=PIPE)
File "/usr/lib/python2.7/subprocess.py", line 394, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 20] Not a directory

Error with google option

Every time try to run social mapper with the -gp option it gives me his error:
selenium.common.exceptions.ElementNotInteractableException: Message: Element <div class="Xb9hP"> is not reachable by keyboard

Seems to be exactly the same as #27

Synatx Error

Syntax Error in line 111.

File "social_mapper.py", line 111
print "Facebook Check %i/%i : %s" % (count,ammount,person.full_name)
^
SyntaxError: invalid syntax

Phyton2.7: import facebook | Phyton3: [-] Error Filling out Facebook Profiles [-]

Note:
1 - Running with Phyton3: Not the same module that is inside the "modules" folder. I already installed facebook-sdk and the problem continues.
$ python3 social_mapper.py -f imagefolder -i ./Input-Examples/imagefolder -m fast -fb -tw
Traceback (most recent call last):
File "social_mapper.py", line 13, in
import facebook
ModuleNotFoundError: No module named 'facebook'

2 - Running with Phyton2.7: I believe this problem is due to the lack of the facebook module (message displayed when executed with Phyton3).
$ python2.7 social_mapper.py -f imagefolder -i ./Input-Examples/imagefolder -m fast -fb -tw
[-] Error Filling out Facebook Profiles [-]
Message: connection refused

[-]
Traceback (most recent call last):
File "social_mapper.py", line 1112, in
peoplelist = fill_twitter(peoplelist)
File "social_mapper.py", line 218, in fill_twitter
TwitterfinderObject = twitterfinder.Twitterfinder(showbrowser)
File "./modules/twitterfinder.py", line 18, in init
self.driver = webdriver.Firefox()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 167, in init
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 156, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 251, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 320, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: connection refused

3 - Different folders:
3.1 - Folder: social_mapper_ (social_mapper.py adapted to run with Phyton3)
3.2 - Folder: social_mapper (default files, without changes, downloaded in GitHub)
4 - The installation of the required dependencies were installed successfully, without problems.
5 - No other file was created (except init.py in the modules folders), no other file was changed (except the social_mapper.py files to run in different versions of Phyton)
=================================== Em PT-BR ===================================
Obs.:
1 - Executando com o Phyton3: Não é o mesmo modulo que está dentro da pasta "modules". Já instalei o facebook-sdk e o problema continua.
$ python3 social_mapper.py -f imagefolder -i ./Input-Examples/imagefolder -m fast -fb -tw
Traceback (most recent call last):
File "social_mapper.py", line 13, in
import facebook
ModuleNotFoundError: No module named 'facebook'

2 - Executando com o Phyton2.7: Acredito que este problema é devido a falta do modulo facebook (mensagem exibida quando executado com o Phyton3).
$ python2.7 social_mapper.py -f imagefolder -i ./Input-Examples/imagefolder -m fast -fb -tw
[-] Error Filling out Facebook Profiles [-]
Message: connection refused

[-]
Traceback (most recent call last):
File "social_mapper.py", line 1112, in
peoplelist = fill_twitter(peoplelist)
File "social_mapper.py", line 218, in fill_twitter
TwitterfinderObject = twitterfinder.Twitterfinder(showbrowser)
File "./modules/twitterfinder.py", line 18, in init
self.driver = webdriver.Firefox()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 167, in init
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 156, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 251, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 320, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: connection refused

3 - Pastas diferentes:
3.1 - Pasta: social_mapper_ (social_mapper.py adaptado para executar com o Phyton3)
3.2 - Pasta: social_mapper (arquivos padrões, sem alterações, baixados no GitHub)
4 - A instalação das dependência requeridas foram instaladas com sucesso, sem problemas.
5 - Não foi criado nenhum outro arquivo (exceto o init.py nas pastas modules), não foi alterado nenhuma outro arquivo (exceto os arquivos social_mapper.py para executar em diferentes versões do Phyton)

https://github.com/aXR6/Social_Mapper_Script_Install
https://www.youtube.com/watch?v=OhJ5bEUxj-w

ImportError: No module named html.entities

Traceback (most recent call last):
  File "social_mapper.py", line 3, in <module>
    import facebookfinder
  File "./modules\facebookfinder.py", line 8, in <module>
    from bs4 import BeautifulSoup
  File "C:\Python27\lib\site-packages\bs4\__init__.py", line 36, in <module>
    from .builder import builder_registry, ParserRejectedMarkup
  File "C:\Python27\lib\site-packages\bs4\builder\__init__.py", line 7, in <module>
    from bs4.element import (
  File "C:\Python27\lib\site-packages\bs4\element.py", line 13, in <module>
    from bs4.dammit import EntitySubstitution
  File "C:\Python27\lib\site-packages\bs4\dammit.py", line 14, in <module>
    from html.entities import codepoint2name
ImportError: No module named html.entities

print() is a function in Python 3

flake8 testing of https://github.com/SpiderLabs/social_mapper on Python 3.7.0

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./social_mapper.py:111:45: E999 SyntaxError: invalid syntax
            print "Facebook Check %i/%i : %s" % (count,ammount,person.full_name)
                                            ^
./modules/linkedinfinder.py:28:60: E999 SyntaxError: invalid syntax
			print "\n[+] LinkedIn Login Page loaded successfully [+]"
                                                           ^
./modules/twitterfinder.py:30:59: E999 SyntaxError: invalid syntax
			print "\n[+] Twitter Login Page loaded successfully [+]"
                                                          ^
./modules/doubanfinder.py:31:58: E999 SyntaxError: invalid syntax
			print "\n[+] Douban Login Page loaded successfully [+]"
                                                         ^
./modules/instagramfinder.py:34:61: E999 SyntaxError: invalid syntax
			print "\n[+] Instagram Login Page loaded successfully [+]"
                                                            ^
./modules/vkontaktefinder.py:30:61: E999 SyntaxError: invalid syntax
			print "\n[+] VKontakte Login Page loaded successfully [+]"
                                                            ^
./modules/googleplusfinder.py:35:65: E999 SyntaxError: invalid syntax
			print "\n[+] Google Login Page Part 1 loaded successfully [+]"
                                                                ^
./modules/facebookfinder.py:30:60: E999 SyntaxError: invalid syntax
			print "\n[+] Facebook Login Page loaded successfully [+]"
                                                           ^
./modules/weibofinder.py:31:57: E999 SyntaxError: invalid syntax
			print "\n[+] Weibo Login Page loaded successfully [+]"
                                                        ^
9     E999 SyntaxError: invalid syntax
9

Error Filling out Facebook Profiles

[-] Error Filling out Facebook Profiles [-]
Message: Process unexpectedly closed with status 1

[-]

Results file: SM-Results/results-social-mapper.csv
HTML file: SM-Results/results-social-mapper.html

Task Duration: 0:00:01.312353

no module named modules

when running this , I return the following error

Traceback (most recent call last):
  File "social_mapper.py", line 1, in <module>
    from modules import facebookfinder
ImportError: No module named modules

xvfb on mac

Does anyone know how to install xvfb on mac because I get this error:
easyprocess.EasyProcessCheckInstalledError: cmd=['Xvfb', '-help'] OSError=[Errno 2] No such file or directory Program install error!
And i know that you need to install xvfb to fix it but, I don't know how to on mac.

Doesn't seem to be working properly

I am using Ubuntu 18.04.
I've taken a photo from the Tom Cruise official face profile and ran it with the following command (python social_mapper.py -f imagefolder -i tom_cruise -m accurate -fb)
It runs for 35 seconds

[+] Facebook Login Page loaded successfully [+]
[+] Facebook Login Success [+]

Facebook Check 1/1 : test

Results file: SM-Results/results-social-mapper.csv
HTML file: SM-Results/results-social-mapper.html

Task Duration: 0:00:35.441901

And in the result there is no result for him,

results-social-mapper.zip
And what is even this potential target image in the working directory.
potential_target_image

Am I doing something wrong ?

I've done the same with some of my friends' facebook profile images, even johny sins). It's the same, no result.

Issue with dlib install

Attempting to set up the program on Windows 10 with Python version 2.7. I have downloaded all the stated prerequisites including firefox, geckodriver, and have attempted to download the libraries. However, the dlib library won't work properly. Seems to be an issue with Cmake. I have attempted to pip install Cmake and even upgrade the version, but with that it still remains broken. I have attached a photo of the errors I have received.

Is this program not intended for Windows? I may have missed that, but it seems in the documentation only Linus and Mac is mentioned. Is that why I am having this issue? Or is there a potential fix? I would love some help on this, thank you for your time.
code problems

No module named modules?

Traceback (most recent call last):
File "social_mapper.py", line 1, in
from modules import facebookfinder
ImportError: No module named modules

No Result

Provided all the necessary login details in social_mapper.py still it shows no output on screen.

[!] Cannot load main LinkedIn page

$ python social_mapper.py -f company -i "SpiderLabs" -m accurate -a -t strict
$ [!] Cannot load main LinkedIn page

Using Python 2.7, fixed "ImportError: No module named modules", and my LinkedIn credentials are correct.

The error report is from def loadPage(client, url, data=None):, client is: <urllib2.OpenerDirector instance at 0x1093affc8> and url is: https://www.linkedin.com/

Letter with accent are just ignored

Hello,
When there is accent on letter in the name these letters are just skipped, see below:

root@ubuntu:~/social_mapper$ ll img/
total 240
drwxrwxrwx 2 root root   4096 aug  17 17:50  ./
drwxrwxr-x 9 root root   4096 aug  17 17:53  ../
-rwxrwxrwx 1 root root 235817 aug  17 17:38 'Úrsula Corberó.jpg'*
root@ubuntu:~/social_mapper$ python social_mapper.py -f imagefolder -i img/ -m accurate -t loose -s -fb -ig

[+] Facebook Login Page loaded successfully [+]
[+] Facebook Login Success [+]

Facebook Check 1/1 : rsula Corber                                
[+] Instagram Login Page loaded successfully [+]
[+] Instagram Login Success [+]

Instagram Check 1/1 : rsula Corber

rsula Corber
	Facebook: https://www.facebook.com/toquio.corbero.75?ref=br_rs
	Instagram: https://instagram.com/ursulolita_fanpage/


Results file: SM-Results/results-social-mapper.csv
HTML file: SM-Results/results-social-mapper.html

Task Duration: 0:02:07.099920
root@ubuntu:~/social_mapper$ cat SM-Results/results-social-mapper.csv
Full Name,Facebook,Instagram
"rsula Corber","https://www.facebook.com/toquio.corbero.75?ref=br_rs","https://instagram.com/ursulolita_fanpage/"

Would it be possible to add the support of all letter with accent?
It could be related to a lack of support regarding the used encoding?
This will help in some case, and will participate to have accurate results, like on fb for example.

Great job by the way!

Setup.py issues!

Collecting face_recognition
Downloading https://files.pythonhosted.org/packages/28/10/f153bbbc218fc169768aa1c02f2e9178e9241e4af8da56289bdca2c0c217/face_recognition-1.2.2-py2.py3-none-any.whl
Requirement already satisfied: numpy in c:\python27\lib\site-packages (from face_recognition) (1.15.0)
Requirement already satisfied: Click>=6.0 in c:\python27\lib\site-packages (from face_recognition) (6.7)
Requirement already satisfied: face-recognition-models>=0.3.0 in c:\python27\lib\site-packages (from face_recognition) (0.3.0)
Collecting dlib>=19.7 (from face_recognition)
Downloading https://files.pythonhosted.org/packages/df/aa/6a9bb2a763107bb2606d6ee1aa65fcd3b51375a9ef6436e9c9280b0dd63c/dlib-19.15.0.tar.gz (3.3MB)
100% |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU| 3.3MB 3.7MB/s
Requirement already satisfied: Pillow in c:\python27\lib\site-packages (from face_recognition) (5.2.0)
Installing collected packages: dlib, face-recognition
Running setup.py install for dlib ... error
Complete output from command c:\python27\python.exe -u -c "import setuptools, tokenize;file='c:\users\skynet\appdata\local\temp\pip-install-xxibv7\dlib\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record c:\users\skynet\appdata\local\temp\pip-record-92wkr5\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
package init file 'dlib_init_.py' not found (or not a regular file)
running build_ext
Building extension for Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
Invoking CMake setup: 'cmake c:\users\skynet\appdata\local\temp\pip-install-xxibv7\dlib\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=c:\users\skynet\appdata\local\temp\pip-install-xxibv7\dlib\build\lib.win-amd64-2.7 -DPYTHON_EXECUTABLE=c:\python27\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=c:\users\skynet\appdata\local\temp\pip-install-xxibv7\dlib\build\lib.win-amd64-2.7 -A x64'
-- Building for: Visual Studio 14 2015
-- Selecting Windows SDK version 10.0.17134.0 to target Windows 10.0.10240.
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error in CMakeLists.txt:
No CMAKE_C_COMPILER could be found.

CMake Error in CMakeLists.txt:
  No CMAKE_CXX_COMPILER could be found.



-- Configuring incomplete, errors occurred!
See also "C:/Users/SkyNet/AppData/Local/Temp/pip-install-xxibv7/dlib/build/temp.win-amd64-2.7/Release/CMakeFiles/CMakeOutput.log".
See also "C:/Users/SkyNet/AppData/Local/Temp/pip-install-xxibv7/dlib/build/temp.win-amd64-2.7/Release/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "c:\users\skynet\appdata\local\temp\pip-install-xxibv7\dlib\setup.py", line 257, in <module>
    'Topic :: Software Development',
  File "c:\python27\lib\site-packages\setuptools\__init__.py", line 129, in setup
    return distutils.core.setup(**attrs)
  File "c:\python27\lib\distutils\core.py", line 151, in setup
    dist.run_commands()
  File "c:\python27\lib\distutils\dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "c:\python27\lib\distutils\dist.py", line 972, in run_command
    cmd_obj.run()
  File "c:\python27\lib\site-packages\setuptools\command\install.py", line 61, in run
    return orig.install.run(self)
  File "c:\python27\lib\distutils\command\install.py", line 563, in run
    self.run_command('build')
  File "c:\python27\lib\distutils\cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "c:\python27\lib\distutils\dist.py", line 972, in run_command
    cmd_obj.run()
  File "c:\python27\lib\distutils\command\build.py", line 127, in run
    self.run_command(cmd_name)
  File "c:\python27\lib\distutils\cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "c:\python27\lib\distutils\dist.py", line 972, in run_command
    cmd_obj.run()
  File "c:\users\skynet\appdata\local\temp\pip-install-xxibv7\dlib\setup.py", line 133, in run
    self.build_extension(ext)
  File "c:\users\skynet\appdata\local\temp\pip-install-xxibv7\dlib\setup.py", line 170, in build_extension
    subprocess.check_call(cmake_setup, cwd=build_folder)
  File "c:\python27\lib\subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'c:\\users\\skynet\\appdata\\local\\temp\\pip-install-xxibv7\\dlib\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=c:\\users\\skynet\\appdata\\local\\temp\\pip-install-xxibv7\\dlib\\build\\lib.win-amd64-2.7', '-DPYTHON_EXECUTABLE=c:\\python27\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=c:\\users\\skynet\\appdata\\local\\temp\\pip-install-xxibv7\\dlib\\build\\lib.win-amd64-2.7', '-A', 'x64']' returned non-zero exit status 1

----------------------------------------

Command "c:\python27\python.exe -u -c "import setuptools, tokenize;file='c:\users\skynet\appdata\local\temp\pip-install-xxibv7\dlib\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record c:\users\skynet\appdata\local\temp\pip-record-92wkr5\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\skynet\appdata\local\temp\pip-install-xxibv7\dlib\

Facebook Timeout Error

Facebook Timeout Error

Command used:

./social_mapper.py -f imagefolder -i imagefolder/ -m accurate -gp -tw -ig -fb

System: Ubuntu 16.04


Details

Facebook Login page loads successfully, Login Success, but when running:

Facebook Check x/y : Name

Returns error:

Facebook session has expired attempting to reestablish...

After 3 attempts, then returns

Facebook Timeout Error, session has expired and attempts to reestablish have failed

something went wrong!!!!

i used the imagefolder example in tool files but it's gives me an error and searching stopped

root@kali:~/Desktop/social_mapper# python social_mapper.py -f imagefolder -i /root/Desktop/social_mapper/Input-Examples/imagefolder/ -m fast -fb -tw Please provide Facebook Login Credentials in the social_mapper.py file Please provide Twitter Login Credentials in the social_mapper.py file

Results file: SM-Results/results-social-mapper.csv
HTML file: SM-Results/results-social-mapper.html

Task Duration: 0:00:00.001946

the errors are:

Please provide Facebook Login Credentials in the social_mapper.py file
Please provide Twitter Login Credentials in the social_mapper.py file

what can i do for this ??

facebook syntax error

File "social_mapper.py", line 111
print "Facebook Check %i/%i : %s" % (count,ammount,person.full_name)
^
SyntaxError: invalid syntax

AttributeError: 'module' object has no attribute 'lru_cache'

Traceback (most recent call last):
  File "social_mapper.py", line 35, in <module>
    from django.utils import encoding
  File "C:\Python27\lib\site-packages\django\__init__.py", line 1, in <module>
    from django.utils.version import get_version
  File "C:\Python27\lib\site-packages\django\utils\version.py", line 71, in <module>
    @functools.lru_cache()
AttributeError: 'module' object has no attribute 'lru_cache'

CMake must be installed to build the following extensions: dlib

Hi friends,

I am trying to install it but i got this error. However, I already got the newest cmake version installed. That's why I do not understand the trigger...

RuntimeError:
   *******************************************************************
    CMake must be installed to build the following extensions: dlib
   *******************************************************************
   
   
   ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-P0mUba/dlib/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-CDESaD-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-P0mUba/dlib/

Do you have a hint ?

Thanks 😄

PS:

$whereis cmake 
cmake: /usr/lib/x86_64-linux-gnu/cmake /usr/lib/cmake /usr/share/cmake /opt/cmake/bin/cmake

[Feature request] Add parameters && More

Hello,

As I did not find any feature request tab, I'm posting this here.
I have some suggestions to improve this fabulous project... :)

Add more parameters to the search in order to have more accurate results and limit false positive.
I though for example to add specific tag like the following:

  • Country
  • State/region
  • City
  • Facebook page or personal people profile page (only search in personal people profile page and conversely)
  • Search in public post (if the target have a private profile, then there will have no result, but if the target posted comments or whatever on public page, this could be used to trace back to the profile target page)
  • Known email address
  • ...

Another suggestion will be to be able to search directly with image on search engine using the integrated facial recognition, this could lead to also have result whenever the target is on any social network(even if it's not supported yet by the tool) or not.
For example, on my test, people had "private" mode on their profile, which lead to no result with this tool (you have to be a friend of a friend to find these guys), but using something like an image search with facial recognition, could be used to search for similar people's photo on the internet, where ever the photo is hosted. Usually this could lead to improve the data about one target, and potentially link to the target many post or internet activities (can be use to enhance the phishing approach). If the target is a football fan, then create a dedicated phishing mail talking about football for example.

Another idea I had, maybe not the best, but well it could be interesting to talk about it.
Sometime I used the people search engine pipl.com, which is very useful to find people online (I'm using it without paying, so I have limited results but it works pretty well most of the time).
Maybe a function could be added to correlate the results of SocialMapper with the results of pipl (or any other similar tool if you know other one which deserve to have a look at it).

And for finish (for today at least), add more social network which keep photo as original. Why? For EXIF data... :) (I think that flickr is the case, correct me if I'm wrong, maybe G+ can do that also but I'm not sure at all, and actually G+ is not the most used SN...)

I know that mean a lot of work to do, but even it's not possible for now, these features could be added to the to do list for later. :)

Again, thanks for the work, and keep going!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.