Skip to content

StefanTheWiz/osintstalker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Repository files navigation

Python Scripts

fbStalker - OSINT tool for Facebook - Based on Facebook Graph and other stuff
geoStalker - OSINT tool for Geolocation related sources - Flickr, Instagram, Twitter, Wigle. The userIDs found is used to find social media accounts across other networks like Facebook, Youtube, Instagram, Google+, Linkedin and Google Search

All updates/changes to the code will be posted via twitter account @osintstalker. 
Please follow this account for updates and improvements to the code.

------------------------------------------------------------------------------------------ 
Presentation Slides of our talk at HackInTheBox Kuala Lumpur 2013.
http://conference.hitb.org/hitbsecconf2013kul/materials/D2T3%20-%20Keith%20Lee%20and%20Jonathan%20Werrett%20-%20Facebook%20OSINT.pdf
------------------------------------------------------------------------------------------ 

Videos
Geostalker running in Kali Linux
https://www.youtube.com/watch?v=qUqT9Ct2kg0&feature=youtu.be

------------------------------------------------------------------------------------------ 
Instructions for FBstalker
Install Google Chrome and ChromeDriver on Kali Linux
If you are using 32 bit Kali Linux (run uname -r to find out)
wget http://95.31.35.30/chrome/pool/main/g/google-chrome-stable/google-chrome-stable_27.0.1453.93-r200836_i386.deb

wget https://chromedriver.googlecode.com/files/chromedriver_linux32_23.0.1240.0.zip
unzip chromedriver_linux32_23.0.1240.0.zip
cp chromedriver /usr/bin/chromedriver
chmod 777 /usr/bin/chromedriver

If you are using 64 bit Kali Linux (run uname -r to find out)
wget http://95.31.35.30/chrome/pool/main/g/google-chrome-stable/google-chrome-stable_27.0.1453.93-r200836_amd64.deb

wget https://chromedriver.googlecode.com/files/chromedriver_linux64_23.0.1240.0.zip
unzip chromedriver_linux64_23.0.1240.0.zip
cp chromedriver /usr/bin/chromedriver
chmod 777 /usr/bin/chromedriver

sudo apt-get install python-setuptools
wget https://pypi.python.org/packages/source/p/pip/pip-1.4.1.tar.gz
tar xvfz pip-1.4.1.tar.gz
cd pip-1.4.1
sudo python2.7 setup.py install

pip install pytz
pip install tzlocal
pip install termcolor
pip install selenium
pip install requests --upgrade
pip install beautifulsoup4 

git clone https://github.com/hadim/pygraphml.git
cd pygraphml
python2.7 setup.py install

Edit fbstalker.py and update facebook_username (same as email address) and facebook_password.

Run python fbstalker.py -user [facebook target username]

------------------------------------------------------------------------------------------ 
Instructions for GEOstalker
For geoStalker, you will need to supply a bunch of API keys and access_tokens for now. The script will be updated later with an easier method on gettingsud the access_tokens.

Dependencies for Geostalker 
[Tested on Kali Linux]

Install Google Chrome and ChromeDriver on Kali Linux
wget https://chromedriver.googlecode.com/files/chromedriver_linux64_23.0.1240.0.zip
cp chromedriver /usr/bin/chromedriver
chmod 777 /usr/bin/chromedriver

If you are using 32 bit Kali Linux (run uname -r to find out)
wget http://95.31.35.30/chrome/pool/main/g/google-chrome-stable/google-chrome-stable_27.0.1453.93-r200836_i386.deb

If you are using 64 bit Kali Linux (run uname -r to find out)
wget http://95.31.35.30/chrome/pool/main/g/google-chrome-stable/google-chrome-stable_27.0.1453.93-r200836_amd64.deb

Python2.7
sudo apt-get install python-setuptools

wget https://pypi.python.org/packages/source/p/pip/pip-1.4.1.tar.gz
tar xvfz pip-1.4.1.tar.gz
cd pip-1.4.1
sudo python2.7 setup.py install

git clone https://github.com/hadim/pygraphml.git
cd pygraphml
python2.7 setup.py install

pip-2.7 install google
pip-2.7 install python-instagram
pip-2.7 install pygoogle
pip-2.7 install geopy
pip-2.7 install lxml
pip-2.7 install oauth2
pip-2.7 install python-linkedin
pip-2.7 install pygeocoder
pip-2.7 install selenium
pip-2.7 install termcolor
pip-2.7 install pysqlite
pip-2.7 install TwitterSearch
pip-2.7 install foursquare


wget https://gdata-python-client.googlecode.com/files/gdata-2.0.18.tar.gz
tar xvfz gdata-2.0.18.tar.gz
cd gdata-2.0.18
python2.7 setup.py install

------------------------------------------------------------------------------------------ 
********************************* HOW TO USE geoStalker **********************************
1.	Fill in the API keys and access_tokens in geostalker.py 
2.	If an API key or access_token is missing, it will skip that particular social network API lookup/search
3.	Run 'sudo python2.7 geostalker.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MMMMMMMMMMM8IMMMMMMMMMM

**********************************************************
****** GeoStalker Version 1.0 HackInTheBox Release ******
**********************************************************

Please enter an address or GPS coordinates (e.g. 4.237588,101.131332):______________

About

osintstalker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%