-
Notifications
You must be signed in to change notification settings - Fork 122
/
dorks-eye.py
166 lines (126 loc) · 5.81 KB
/
dorks-eye.py
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
#!/usr/bin/env/python3
# This Python file uses the following encoding: utf-8
# ===== #
#
# ▀█████████▄ ▄████████ Websites: HackingPassion.com | Bullseye0.com
# ███ ███ ███ ███ Author: Jolanda de Koff | Bulls Eye
# ███ ███ ███ █▀ GitHub: https://github.com/BullsEye0
# ▄███▄▄▄██▀ ▄███▄▄▄ linkedin: https://www.linkedin.com/in/jolandadekoff
# ▀▀███▀▀▀██▄ ▀▀███▀▀▀ Facebook Group: https://www.facebook.com/groups/hack.passion/
# ███ ██▄ ███ █▄ Facebook: https://www.facebook.com/profile.php?id=100069546190609
# ███ ███ ███ ███ Twitter: https://twitter.com/bulls__eye
# ▄█████████▀ ██████████ LBRY: https://lbry.tv/$/invite/@hackingpassion:9
# Patreon: https://www.patreon.com/jolandadekoff
# Bulls Eye..!
# ===== #
# ===== #
# Created April | Copyright (c) 2020 Jolanda de Koff.
# ===== #
########################################################################
# A notice to all nerds and n00bs...
# If you will copy the developer's work it will not make you a hacker..!
# Respect all developers, we doing this because it's fun...
########################################################################
from __future__ import print_function
try:
from googlesearch import search
except ImportError:
print("")
import sys
import time
# Dorks Eye v1.0
if sys.version[0] in "2":
print ("\n[x] ..n00b.. Dorks Eye Is Not Supported For python 2.x Use Python 3.x \n")
print ("\n\n\tDorks Eye \033[1;91mI like to See Ya, Hacking \033[0m😃\n\n")
exit()
class colors:
CRED2 = "\33[91m"
CBLUE2 = "\33[94m"
ENDC = "\033[0m"
banner = ("""
▓█████▄ ▒█████ ██▀███ ██ ▄█▀ ██████ ▓█████▓██ ██▓▓█████
▒██▀ ██▌▒██▒ ██▒▓██ ▒ ██▒ ██▄█▒ ▒██ ▒ ▓█ ▀ ▒██ ██▒▓█ ▀
░██ █▌▒██░ ██▒▓██ ░▄█ ▒▓███▄░ ░ ▓██▄ ▒███ ▒██ ██░▒███
░▓█▄ ▌▒██ ██░▒██▀▀█▄ ▓██ █▄ ▒ ██▒ ▒▓█ ▄ ░ ▐██▓░▒▓█ ▄
░▒████▓ ░ ████▓▒░░██▓ ▒██▒▒██▒ █▄▒██████▒▒ ░▒████▒ ░ ██▒▓░░▒████▒
▒▒▓ ▒ ░ ▒░▒░▒░ ░ ▒▓ ░▒▓░▒ ▒▒ ▓▒▒ ▒▓▒ ▒ ░ ░░ ▒░ ░ ██▒▒▒ ░░ ▒░ ░
░ ▒ ▒ ░ ▒ ▒░ ░▒ ░ ▒░░ ░▒ ▒░░ ░▒ ░ ░ ░ ░ ░▓██ ░▒░ ░ ░ ░
░ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ░░ ░ ░ ░ ░ ░ ▒ ▒ ░░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░░ ░ ░ ░
░ ░ ░ v1.0 """)
for col in banner:
print(colors.CRED2 + col, end="")
sys.stdout.flush()
time.sleep(0.0025)
x = ("""
Author: Jolanda de Koff | Bulls Eye
Github: https://github.com/BullsEye0
Website: https://HackingPassion.com
Patreon: https://www.patreon.com/jolandadekoff\n """)
for col in x:
print(colors.CBLUE2 + col, end="")
sys.stdout.flush()
time.sleep(0.0040)
y = "\n\t\tHi there, Shall we play a game..? 😃\n"
for col in y:
print(colors.CRED2 + col, end="")
sys.stdout.flush()
time.sleep(0.0040)
z = "\n"
for col in z:
print(colors.ENDC + col, end="")
sys.stdout.flush()
time.sleep(0.4)
try:
data = input("\n[+] Do You Like To Save The Output In A File? (Y/N) ").strip()
l0g = ("")
except KeyboardInterrupt:
print ("\n")
print ("\033[1;91m[!] User Interruption Detected..!\033[0")
time.sleep(0.5)
print ("\n\n\t\033[1;91m[!] I like to See Ya, Hacking \033[0m😃\n\n")
time.sleep(0.5)
sys.exit(1)
def logger(data):
file = open((l0g) + ".txt", "a")
file.write(str(data))
file.write("\n")
file.close()
if data.startswith("y" or "Y"):
l0g = input("[~] Give The File a Name: ")
print ("\n" + " " + "»" * 78 + "\n")
logger(data)
else:
print ("[!] Saving is Skipped...")
print ("\n" + " " + "»" * 78 + "\n")
def dorks():
try:
dork = input("\n[+] Enter The Dork Search Query: ")
amount = input("[+] Enter The Number Of Websites To Display: ")
print ("\n ")
requ = 0
counter = 0
for results in search(dork, tld="com", lang="en", num=int(amount), start=0, stop=None, pause=2):
counter = counter + 1
print ("[+] ", counter, results)
time.sleep(0.1)
requ += 1
if requ >= int(amount):
break
data = (counter, results)
logger(data)
time.sleep(0.1)
except KeyboardInterrupt:
print ("\n")
print ("\033[1;91m[!] User Interruption Detected..!\033[0")
time.sleep(0.5)
print ("\n\n\t\033[1;91m[!] I like to See Ya, Hacking \033[0m😃\n\n")
time.sleep(0.5)
sys.exit(1)
print ("[•] Done... Exiting...")
print ("\n\t\t\t\t\033[34mDorks Eye\033[0m")
print ("\t\t\033[1;91m[!] I like to See Ya, Hacking \033[0m😃\n\n")
sys.exit()
# =====# Main #===== #
if __name__ == "__main__":
dorks()