Home Hacking Tools Social Mapper – Find Social Media Profiles Using Only a Photo

Social Mapper – Find Social Media Profiles Using Only a Photo

by Unallocated Author
social mapper

Social Mapper is an open source tool that searches for profile information from social media sites, such as Facebook, Instagram, LinkedIn, Google+, Vkontakte and microblogging websites like Weibo and Douban. The tool uses names and photos as input to scan social media profiles of the people on mass. Target names and photos can be provided to the tool via csv file containing target names and urls of the target photos, or it can be a folder containing named images. It takes approximately 60-70 seconds to scan one profile based on provided names and photos.

How to Install Social Mapper

social mapper cloning

Social Mapper is written in Python and runs on Linux, Windows, and Mac. Before installing Social Mapper, some pre-requisites need to be fulfilled. These include installation of Selenium, Geckodriver, and latest version of Firefox. After that, Social Mapper can be installed by cloning the tool from Github repository using the following commands.

git clone https://github.com/SpiderLabs/social_mapper
cd social_mapper/setup
pip install -r requirements.txt

social mapper requirments

Running the Tool

After installing Social Mapper, it can be set into action by running the social_mapper.py file with target information and target social media site. The basic syntax of the command is as follows.

social_mapper.py -f <input format> -i <input type > -m <mode> –<target media>

Here the –i argument represents the input provided to the tool.  We can provide the tool a specific name, a csv file containing target information, imagefolder, or social mapper html file.  The –f specify the format of the input provided to the tool. It can be ‘social mapper’, a ‘name’, ‘csv’, or ‘imagefolder’.  The –m represents the mode. The mode can be set as ‘fast’ or ‘accurate’ depending on the requirement. Finally we provide social media website information to the tool.  The tool accepts –a argument as ‘select all social media’. We can also provide specific social media sites as well. Following is a list of the abbreviations that can be fed into Social Mapper to gather information about targeted users.

-a : Selects all

-fb: Check Facebook

-tw: Check Twitter

-ig: Check Instagram

-l,: Check LinkedIn

-gp: Check GooglePlus

-vk: Check VKontakte

-wb: Check Weibo

-db: Check Douban

Following is an example command that aims to find the information about specific users on facebook and twitter. The tool uses the ‘imagefolder’ format with a folder name called ‘targetusers’. The command runs in fast mode. In fast mode, the tool skips the secondary scan results after finding the first potential match of the target user.

python social_mapper.py -f imagefolder -i ./mytargets -m fast -fb -tw

The tool allows some optional parameters to use in the command to fine tune the search results. For example, we can instruct the tool to fetch results on the basis of ‘loose’, ‘standard’, ‘strict’, or ‘super strict’ policy by adding –t parameter to the command. If the threshold is set to ‘loose’, the tool finds more matching results with less accuracy. Similarly, the ‘strict’ or ‘super strict’ threshold will produce more accurate results. Following is an example command with strict threshold policy. The command runs the tool in accurate mode by searching the target users on all supported social media websites.

python social_mapper.py -f imagefolder -i ./mytargets -m accurate -a -t strict

Overall, the tool would be great for red team engagements, such as gathering information automatically about targeted social media accounts.

What Bunny rating does it get?

Social Mapper makes information gathering work easy by automating the process. Troubleshooting can be a problem for many when social media sites update their page formats and class names. As a result we have decided to give this tool an awesome rating of 4 out of 5 bunnies.

Want to learn more about ethical hacking?

We have a  networking hacking course that is of a similar level to OSCP, get an exclusive 95% discount HERE

Do you know of another GitHub related hacking tool?

Get in touch with us via the contact form if you would like us to look at any other GitHub ethical hacking tools.

You may also like

Latest Hacking News

Privacy Preference Center

Necessary

The __cfduid cookie is used to identify individual clients behind a shared IP address and apply security settings on a per-client basis.

cookie_notice_accepted and gdpr[allowed_cookies] are used to identify the choices made from the user regarding cookie consent.

For example, if a visitor is in a coffee shop where there may be several infected machines, but the specific visitor's machine is trusted (for example, because they completed a challenge within your Challenge Passage period), the cookie allows Cloudflare to identify that client and not challenge them again. It does not correspond to any user ID in your web application, and does not store any personally identifiable information.

__cfduid, cookie_notice_accepted, gdpr[allowed_cookies]

Advertising

DoubleClick by Google refers to the DoubleClick Digital Marketing platform which is a separate division within Google. This is Google’s most advanced advertising tools set, which includes five interconnected platform components.

DoubleClick Campaign Manager: the ad-serving platform, called an Ad Server, that delivers ads to your customers and measures all online advertising, even across screens and channels.

DoubleClick Bid Manager – the programmatic bidding platform for bidding on high-quality ad inventory from more than 47 ad marketplaces including Google Display Network.

DoubleClick Ad Exchange: the world’s largest ad marketplace for purchasing display, video, mobile, Search and even Facebook inventory.

DoubleClick Search: is more powerful than AdWords and used for purchasing search ads across Google, Yahoo, and Bing.

DoubleClick Creative Solutions: for designing, delivering and measuring rich media (video) ads, interactive and expandable ads.

doubleclick

Analytics

The _ga is asssociated with Google Universal Analytics - which is a significant update to Google's more commonly used analytics service. This cookie is used to distinguish unique users by assigning a randomly generated number as a client identifier. It is included in each page request in a site and used to calculate visitor, session and campaign data for the sites analytics reports. By default it is set to expire after 2 years, although this is customisable by website owners.

The _gat global object is used to create and retrieve tracker objects, from which all other methods are invoked. Therefore the methods in this list should be run only off a tracker object created using the _gat global variable. All other methods should be called using the _gaq global object for asynchronous tracking.

_gid works as a user navigates between web pages, they can use the gtag.js tagging library to record information about the page the user has seen (for example, the page's URL) in Google Analytics. The gtag.js tagging library uses HTTP Cookies to "remember" the user's previous interactions with the web pages.

_ga, _gat, _gid