-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathunve1ler.py
More file actions
319 lines (258 loc) · 12.6 KB
/
unve1ler.py
File metadata and controls
319 lines (258 loc) · 12.6 KB
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
#!/usr/bin/env python3
# unve1ler: Revealing Digital Footprints and Visual Clues on the Internet
# A social engineering tool designed to seamlessly locate profiles using usernames while offering convenient reverse image search functionality.
import requests
import threading
import time
from datetime import datetime
#from testemail2 import osint_with_google_dorks, osint_with_google_dorks2, extract_domain, get_mx_records
from email_osint import osint_with_google_dorks, osint_with_google_dorks2, extract_domain, get_mx_records
import re # Import the regex module
import json
twitter_url = 'https://spyboy.in/twitter'
discord = 'https://spyboy.in/Discord'
website = 'https://spyboy.in/'
blog = 'https://spyboy.blog/'
github = 'https://github.com/spyboy-productions/unve1ler'
VERSION = '1.0.2'
R = '\033[31m' # red
G = '\033[32m' # green
C = '\033[36m' # cyan
W = '\033[0m' # white
Y = '\033[33m' # yellow
current_date = datetime.now().date()
formatted_date = current_date.strftime("%Y-%m-%d")
TIMEOUT_SECONDS = 10
# Function to validate an email address
def is_valid_email(email):
pattern = r"^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$"
return re.match(pattern, email)
banner = r'''
____.__
__ __ _______ __ ____/_ | | ___________
| | \/ \ \/ // __ \| | | _/ __ \_ __ \
| | / | \ /\ ___/| | |_\ ___/| | \/
|____/|___| /\_/ \___ >___|____/\___ >__|
\/ \/ \/
Revealing Digital Footprints and Visual Clues on the Internet.
'''
def print_banners():
"""
prints the program banners
"""
print(f'{R}{banner}{W}\n')
print(f'{G}[+] {Y}Version : {W}{VERSION}')
print(f'{G}[+] {Y}Created By : {W}Spyboy')
print(f'{G} ╰➤ {Y}Twitter : {W}{twitter_url}')
print(f'{G} ╰➤ {Y}Discord : {W}{discord}')
print(f'{G} ╰➤ {Y}Website : {W}{website}')
print(f'{G} ╰➤ {Y}Blog : {W}{blog}')
print(f'{G} ╰➤ {Y}Github : {W}{github}\n')
def check_platform(username, platform, url, results):
try:
response = requests.get(url, timeout=TIMEOUT_SECONDS)
if response.status_code == 200:
print(f"{G}Profile found on {Y}{platform}: {url}")
results[platform] = url
else:
print(f"{R}Profile not found on {W}{platform}")
results[platform] = None
except requests.exceptions.RequestException as e:
print(f"An error occurred while checking {platform}: {e}")
results[platform] = None
def check_social_media(username, image_link=None):
platforms = {
"Instagram": f"https://www.instagram.com/{username}/",
"Twitter": f"https://twitter.com/{username}",
"Facebook": f"https://www.facebook.com/{username}",
"LinkedIn": f"https://www.linkedin.com/in/{username}/",
"Pinterest": f"https://www.pinterest.com/{username}",
"TikTok": f"https://www.tiktok.com/@{username}",
"Snapchat": f"https://www.snapchat.com/add/{username}",
"inktr": f"https://linktr.ee/{username}",
"GitHub": f"https://github.com/{username}",
"Gitlab": f"https://gitlab.com/{username}",
"Reddit": f"https://www.reddit.com/user/{username}",
"YouTube": f"https://www.youtube.com/user/{username}",
"Tumblr": f"https://{username}.tumblr.com",
"Vimeo": f"https://vimeo.com/{username}",
"SoundCloud": f"https://soundcloud.com/{username}",
"Flickr": f"https://www.flickr.com/people/{username}/",
"Dribbble": f"https://dribbble.com/{username}",
"Medium": f"https://medium.com/@{username}",
"DeviantArt": f"https://{username}.deviantart.com",
"Quora": f"https://www.quora.com/profile/{username}",
"Mix": f"https://mix.com/{username}",
"Meetup": f"https://www.meetup.com/members/{username}",
"Goodreads": f"https://www.goodreads.com/user/show/{username}",
"Fiverr": f"https://www.fiverr.com/{username}",
"Wattpad": f"https://www.wattpad.com/user/{username}",
"Steam": f"https://steamcommunity.com/id/{username}",
"Viber": f"https://chats.viber.com/{username}",
"Slack": f"https://{username}.slack.com",
"Xing": f"https://www.xing.com/profile/{username}",
"Canva": f"https://www.canva.com/{username}",
"500px": f"https://500px.com/{username}",
"Last.fm": f"https://www.last.fm/user/{username}",
"Foursquare": f"https://foursquare.com/user/{username}",
"Kik": f"https://kik.me/{username}",
"Patreon": f"https://www.patreon.com/{username}",
"Periscope": f"https://www.pscp.tv/{username}",
"Twitch": f"https://www.twitch.tv/{username}",
"Steemit": f"https://steemit.com/@{username}",
"Vine": f"https://vine.co/u/{username}",
"Keybase": f"https://keybase.io/{username}",
"Zillow": f"https://www.zillow.com/profile/{username}",
"TripAdvisor": f"https://www.tripadvisor.com/members/{username}",
"Crunchyroll": f"https://www.crunchyroll.com/user/{username}",
"Trello": f"https://trello.com/{username}",
"Vero": f"https://www.vero.co/{username}",
"CodePen": f"https://codepen.io/{username}",
"About.me": f"https://about.me/{username}",
"Trakt": f"https://www.trakt.tv/users/{username}",
"Couchsurfing": f"https://www.couchsurfing.com/people/{username}",
"Craigslist": f"https://accounts.craigslist.org/login/home",
"Behance": f"https://www.behance.net/{username}",
"Etsy": f"https://www.etsy.com/shop/{username}",
"Ebay": f"https://www.ebay.com/usr/{username}",
"Bandcamp": f"https://bandcamp.com/{username}",
"AngelList": f"https://angel.co/u/{username}",
"Ello": f"https://ello.co/{username}",
"Gravatar": f"https://en.gravatar.com/{username}",
"Instructables": f"https://www.instructables.com/member/{username}",
"VSCO": f"https://vsco.co/{username}",
"Letterboxd": f"https://letterboxd.com/{username}",
"Houzz": f"https://www.houzz.com/user/{username}",
"Digg": f"https://digg.com/@{username}",
"Giphy": f"https://giphy.com/{username}",
"Anchor": f"https://anchor.fm/{username}",
"Scribd": f"https://www.scribd.com/{username}",
"Grubhub": f"https://www.grubhub.com/profile/{username}",
"ReverbNation": f"https://www.reverbnation.com/{username}",
"Squarespace": f"https://{username}.squarespace.com",
"Mixcloud": f"https://www.mixcloud.com/{username}",
"IMDb": f"https://www.imdb.com/user/ur{username}",
"LinkBio": f"https://lnk.bio/{username}",
"Relpit": f"https://replit.com/{username}",
"Ifttt": f"https://ifttt.com/p/{username}",
"Weebly": f"https://{username}.weebly.com/",
"Smule": f"https://www.smule.com/{username}",
"Wordpress": f"https://{username}.wordpress.com/",
"Tryhackme": f"https://tryhackme.com/p/{username}",
"Pateron": f"https://www.patreon.com/{username}",
"Myspace": f"https://myspace.com/{username}",
"Freelancer": f"https://www.freelancer.com/u/{username}",
"Dev.to": f"https://dev.to/{username}",
"Blogspot": f"https://{username}.blogspot.com",
"Gist": f"https://gist.github.com/{username}",
"Viki": f"https://www.viki.com/users/{username}/about",
# ...
}
threads = []
results = {}
start_time = time.time()
for platform, url in platforms.items():
thread = threading.Thread(target=check_platform, args=(username, platform, url, results))
thread.start()
threads.append(thread)
for thread in threads:
thread.join()
end_time = time.time()
elapsed_time = end_time - start_time
found_count = sum(1 for value in results.values() if value is not None)
timeouts = sum(1 for value in results.values() if value is None and value is not False)
errors = sum(1 for value in results.values() if value is False)
print("-------------------------------------------------------\n")
print(f"{C}[+] {R}Target: {W}{username}")
print(f"{C}[+] {R}Looked through: {W}{len(platforms)} websites")
print(f"{C}[+] {R}Time taken: {W}{elapsed_time:.2f} seconds")
print(f"{C}[+] {R}Date: {W}{formatted_date}")
print(f"{C}[+] {R}Profiles found: {W}{found_count}")
print(f"{C}[-] {R}Timeouts: {W}{timeouts}")
print(f"{C}[-] {R}Errors: {W}{errors}\n")
print(f"{C}[+] {Y}Found URLs ({R}Note: there can be false positive links):\n")
for platform, url in results.items():
if url:
print(f"{Y}{platform}: {G}{url}")
#print("\n-------------------------------------------------------\n")
if image_link:
print(f'\n{W}[~] {C}Google Reverse Image Search:\n{W}')
url = "https://google-reverse-image-api.vercel.app/reverse"
data = {"imageUrl": f"{image_link}"}
response = requests.post(url, json=data)
if response.ok:
formatted_json = json.dumps(response.json(), indent=2)
print(formatted_json)
else:
print(response.status_code)
print(f'\n{W}[~] {C}Manual Link TO Reverse Image Search URLs:\n')
def shorten_url(url):
api_url = "http://tinyurl.com/api-create.php?url=" + url
response = requests.get(api_url)
return response.text
#image_link = "YOUR_IMAGE_LINK_HERE"
google_url = shorten_url(f"https://lens.google.com/uploadbyurl?url={image_link}")
bing_url = shorten_url(f"https://www.bing.com/images/search?view=detailv2&iss=sbi&form=SBIVSP&sbisrc=UrlPaste&q=imgurl:{image_link}")
yandex_url = shorten_url(f"https://yandex.com/images/search?source=collections&&url={image_link}&rpt=imageview")
baidu_url = shorten_url(f"https://graph.baidu.com/details?isfromtusoupc=1&tn=pc&carousel=0&image={image_link}")
print(f"{G}Google: {Y}{google_url}\n"
f"{G}Bing: {Y}{bing_url}\n"
f"{G}Yandex: {Y}{yandex_url}\n"
f"{G}Baidu: {Y}{baidu_url}")
'''print(f"{G}Google: {Y}https://lens.google.com/uploadbyurl?url={image_link}\n"
f"{G}Bing: {Y}https://www.bing.com/images/search?view=detailv2&iss=sbi&form=SBIVSP&sbisrc=UrlPaste&q=imgurl:{image_link}\n"
f"{G}Yandex: {Y}https://yandex.com/images/search?source=collections&&url={image_link}&rpt=imageview\n"
f"{G}Baidu: {Y}https://graph.baidu.com/details?isfromtusoupc=1&tn=pc&carousel=0&image={image_link}")'''
#print("\n-------------------------------------------------------\n")
def main():
print_banners()
target_username = input(f'{C}Target Username: ')
if not target_username:
print(f"{R}Error: Target username not provided.{W}")
return
has_email = input(f"{Y}Do you have an email address for the target? (yes/no): ").lower()
if has_email == "yes":
target_email = input(f'{C}Target Email: ')
if not is_valid_email(target_email):
print(f"{R}Error: Invalid email address format.{W}")
return
else:
target_email = None
response = input(f"{Y}Do you have any image of the target? (yes/no): ").lower()
if response == "yes":
image_link = input(f"{G}Great! Type/paste the image link: ")
try:
response = requests.get(image_link, timeout=5)
if response.status_code == 200:
print(f'\n{W}Reverse image URL will be printed later.')
else:
print("Invalid image link.")
except Exception as e:
print(e)
elif response == "no":
image_link = None
else:
image_link = None
print(f'\n{Y}[+] {C}Searching profiles...\n')
check_social_media(target_username, image_link)
if target_email:
# Perform email OSINT
print(f'\n{W}[~] {C}Performing email OSINT...\n')
domain = extract_domain(target_email)
if domain:
print(f"\n{R}Email Address: {W}{target_email}")
print(f"{R}Email Domain: {W}{domain}")
mx_records = get_mx_records(domain)
if mx_records:
print(f"\n{Y}Mail Exchanger (MX) Records:")
for mx in mx_records:
print(f"{W} - {mx}")
else:
print("No MX records found for the domain.")
else:
print("Invalid email address format.")
# Perform extensive OSINT on the email address using Google dorks
osint_with_google_dorks(target_email, domain)
osint_with_google_dorks2(target_email)
if __name__ == "__main__":
main()