-
Notifications
You must be signed in to change notification settings - Fork 216
/
README
148 lines (118 loc) · 5.77 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
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.py'
4. Input a physical address or GPS coordinates
$ sudo python2.6 geostalker.py
MMMMMM$ZMMMMMDIMMMMMMMMNIMMMMMMIDMMMMMMM
MMMMMMNINMMMMDINMMMMMMMZIMMMMMZIMMMMMMMM
MMMMMMMIIMMMMMI$MMMMMMMIIMMMM8I$MMMMMMMM
MMMMMMMMIINMMMIIMMMMMMNIIMMMOIIMMMMMMMMM
MMMMMMMMOIIIMM$I$MMMMNII8MNIIINMMMMMMMMM
MMMMMMMMMZIIIZMIIIMMMIIIM7IIIDMMMMMMMMMM
MMMMMMMMMMDIIIIIIIZMIIIIIII$MMMMMMMMMMMM
MMMMMMMMMMMM8IIIIIIZIIIIIIMMMMMMMMMMMMMM
MMMMMMMMMMMNIIIIIIIIIIIIIIIMMMMMMMMMMMMM
MMMMMMMMM$IIIIIIIIIIIIIIIIIII8MMMMMMMMMM
MMMMMMMMIIIIIZIIIIZMIIIIIDIIIIIMMMMMMMMM
MMMMMMOIIIDMDIIIIZMMMIIIIIMMOIIINMMMMMMM
MMMMMNIIIMMMIIII8MMMMM$IIIZMMDIIIMMMMMMM
MMMMIIIZMMM8IIIZMMMMMMMIIIIMMMM7IIZMMMMM
MMM$IIMMMMOIIIIMMMMMMMMMIIIIMMMM8IIDMMMM
MMDIZMMMMMIIIIMMMMMMMMMMNIII7MMMMNIIMMMM
MMIOMMMMMNIII8MMMMMMMMMMM7IIIMMMMMM77MMM
MO$MMMMMM7IIIMMMMMMMMMMMMMIII8MMMMMMIMMM
MIMMMMMMMIIIDMMMMMMMMMMMMM$II7MMMMMMM7MM
MMMMMMMMMIIIMMMMMMMMMMMMMMMIIIMMMMMMMDMM
MMMMMMMMMII$MMMMMMMMMMMMMMMIIIMMMMMMMMMM
MMMMMMMMNIINMMMMMMMMMMMMMMMOIIMMMMMMMMMM
MMMMMMMMNIOMMMMMMMMMMMMMMMMM7IMMMMMMMMMM
MMMMMMMMNINMMMMMMMMMMMMMMMMMZIMMMMMMMMMM
MMMMMMMMMIMMMMMMMMMMMMMMMMMM8IMMMMMMMMMM
**********************************************************
****** GeoStalker Version 1.0 HackInTheBox Release ******
**********************************************************
Please enter an address or GPS coordinates (e.g. 4.237588,101.131332):______________