Skip to content

Commit 3ed75a2

Browse files
committedSep 11, 2024·
Initial commit
0 parents  commit 3ed75a2

8 files changed

+883
-0
lines changed
 

‎.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

‎LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Balwant
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎about.html

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>DorkScan</title>
7+
<link rel="stylesheet" href="styles.css">
8+
</head>
9+
<body>
10+
<header>
11+
<nav>
12+
<ul>
13+
<li><a href="index.html">Home</a></li>
14+
<li><a href="https://github.com/balwantyadav1" target="_blank">GitHub</a></li>
15+
<li><a href="overview.html">Overview</a></li>
16+
<li><a href="about.html">About</a></li>
17+
</ul>
18+
</nav>
19+
</header>
20+
21+
<!-- About Section -->
22+
<section id="about-section" class="about-section">
23+
<div class="about-content">
24+
<h1>About DorkScan</h1>
25+
<p>This web application is designed to provide an interactive and efficient way for users to explore Google Dork queries, particularly useful for bug bounty hunters and students. The tool features a role-based selection system, allowing users to choose between two predefined roles: "Bug Bounty & Red Team" and "Student." Depending on the chosen role, the application generates relevant Google Dork queries tailored to the user's needs. For bug bounty hunters, these queries focus on uncovering vulnerabilities like XSS, SQL injection, and open redirects, while students receive queries related to free educational resources and research materials.</p>
26+
<p>The application offers a customizable search experience, where users can combine predefined dorks with their own search terms, making it easy to gather information or exploit vulnerabilities. A simulated terminal displays the generated dorks in real-time, allowing users to easily copy or execute them directly via a clickable link. Additionally, the tool features a search bar for personalized input, dynamically generating Google Dork queries based on the user's selections.</p>
27+
<p>Designed with a clean, responsive interface, the application works seamlessly across various devices, ensuring an optimal user experience. The minimalist layout, featuring a transparent header and modern typography, keeps the focus on functionality while maintaining an intuitive design. Overall, this web tool simplifies the process of using Google Dorks for web reconnaissance, research, and ethical hacking, offering an accessible solution for both security professionals and learners.</p>
28+
</div>
29+
</section>
30+
31+
</body>
32+
</html>

‎background.jpg

273 KB
Loading

‎index.html

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>DorkScan</title>
7+
<link rel="stylesheet" href="styles.css">
8+
</head>
9+
<body>
10+
<header>
11+
<nav>
12+
<ul>
13+
<li><a href="#">Home</a></li>
14+
<li><a href="https://github.com/balwantyadav1" target="_blank">GitHub</a></li>
15+
<li><a href="overview.html">Overview</a></li>
16+
<li><a href="about.html">About</a></li>
17+
</ul>
18+
</nav>
19+
</header>
20+
21+
<div class="middle-section">
22+
<div class="typing-text">> Exploit internet..</div>
23+
</div>
24+
25+
<!-- Option Bars Section -->
26+
<div class="option-bars">
27+
<div class="option-bar left">
28+
<select id="role-select">
29+
<option selected disabled>Select your Role</option>
30+
<option value="BugBounty">Bug Bounty & Red Team</option>
31+
<option value="Student">Student</option>
32+
</select>
33+
</div>
34+
35+
<div class="option-bar right">
36+
<select id="dork-select" disabled>
37+
<option selected disabled>Select the Dork</option>
38+
</select>
39+
</div>
40+
</div>
41+
42+
<!-- Search Bar Section -->
43+
<div class="search-bar" id="search-bar">
44+
<input type="text" id="search-input" placeholder="Enter search term...">
45+
<button id="search-btn">Search</button>
46+
</div>
47+
48+
<!-- Terminal Box Section -->
49+
<div class="terminal-box" id="terminal-box">
50+
<pre id="terminal-output">Home@Dorks---.</pre>
51+
</div>
52+
53+
<script src="script.js"></script>
54+
</body>
55+
</html>

‎overview.html

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>DorkScan</title>
7+
<link rel="stylesheet" href="styles.css">
8+
</head>
9+
<body>
10+
<header>
11+
<nav>
12+
<ul>
13+
<li><a href="index.html">Home</a></li>
14+
<li><a href="https://github.com/balwantyadav1" target="_blank">GitHub</a></li>
15+
<li><a href="overview.html">Overview</a></li>
16+
<li><a href="about.html">About</a></li>
17+
</ul>
18+
</nav>
19+
</header>
20+
21+
<main>
22+
<section id="overview-section">
23+
<h1>Overview</h1>
24+
<p>The application provides a platform for generating Google Dorks tailored to Bug Bounty hunters and students. Users select their role from a dropdown menu, which dynamically updates available dork types. Bug Bounty hunters can access a range of security-related dorks for vulnerability searches, while students are offered dorks related to academic resources. After choosing a role and dork type, users input search terms to generate and display specific Google Dork queries. The results appear in a terminal-style output, with the option to open the first result directly in a new tab. This functionality enables efficient and targeted search query creation based on user needs.</p>
25+
26+
<h2>Functionality Overview:</h2>
27+
<ul>
28+
<li><strong>Role Selection:</strong> Users can select their role from a dropdown menu, which updates another dropdown menu with relevant dork options. For Bug Bounty hunters, a comprehensive list of dork types related to security testing is available, including searches for vulnerabilities such as XSS, SQL Injection, and open redirects. Students, on the other hand, have options for academic resources like free courses, research papers, and dissertations.</li>
29+
<li><strong>Dork Generation:</strong> Once a role and dork type are selected, users can enter a search term, and the application generates Google Dork queries based on their inputs. The generated dorks are displayed in a terminal-like output area, where each dork is a clickable link that opens a Google search for the term.</li>
30+
<li><strong>Search Functionality:</strong> The search button triggers the generation and display of dorks. Additionally, the first generated dork is set to open in a new tab automatically.</li>
31+
<li><strong>Dynamic Updates:</strong> The terminal box updates dynamically as users interact with the dropdown menus and input fields, providing real-time feedback and query generation.</li>
32+
</ul>
33+
34+
<div id="dork-file-structure">
35+
<!-- File structure will be dynamically updated here -->
36+
</div>
37+
</section>
38+
39+
</body>
40+
</html>

‎script.js

+428
Large diffs are not rendered by default.

‎styles.css

+305
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,305 @@
1+
/* General Body Styling */
2+
body {
3+
margin: 0;
4+
font-family: 'Roboto', sans-serif;
5+
background: url('background.jpg') no-repeat center center fixed;
6+
background-size: cover;
7+
color: #fff;
8+
display: flex;
9+
flex-direction: column;
10+
min-height: 100vh;
11+
position: relative;
12+
}
13+
14+
/* Header Styling */
15+
header {
16+
position: relative;
17+
width: 95%;
18+
max-width: 1200px; /* Restricting max width */
19+
margin: 10px auto;
20+
padding: 10px 0;
21+
background: rgba(255, 255, 255, 0.1); /* Transparent background */
22+
backdrop-filter: blur(10px); /* Glass effect */
23+
border-radius: 15px;
24+
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
25+
z-index: 1;
26+
}
27+
28+
/* Navigation Styling */
29+
nav ul {
30+
display: flex;
31+
justify-content: center;
32+
list-style: none;
33+
padding: 0;
34+
margin: 0;
35+
}
36+
37+
nav ul li {
38+
margin: 0 10px; /* Reduced margin for better fit on smaller screens */
39+
}
40+
41+
nav ul li a {
42+
text-decoration: none;
43+
color: white;
44+
font-size: 1.1rem;
45+
font-weight: 500;
46+
padding: 8px 16px;
47+
border-radius: 10px;
48+
transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
49+
position: relative;
50+
}
51+
52+
nav ul li a:hover {
53+
background: rgba(0, 255, 0, 0.3);
54+
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
55+
}
56+
57+
nav ul li a:active {
58+
background: rgba(0, 255, 0, 0.5);
59+
transform: scale(0.98);
60+
}
61+
62+
/* Middle Section Styling */
63+
.middle-section {
64+
display: flex;
65+
flex-direction: column;
66+
align-items: center;
67+
margin-top: 5vh; /* Responsive vertical spacing */
68+
}
69+
70+
.typing-text {
71+
font-size: 2.5rem;
72+
font-weight: bold;
73+
text-align: center;
74+
overflow: hidden;
75+
white-space: nowrap;
76+
border-right: 3px solid;
77+
width: 0;
78+
animation: typing 4s steps(22) 1s forwards, blink-caret 0.75s step-end infinite;
79+
}
80+
81+
@keyframes typing {
82+
from { width: 0; }
83+
to { width: 16em; }
84+
}
85+
86+
@keyframes blink-caret {
87+
from, to { border-color: transparent; }
88+
50% { border-color: white; }
89+
}
90+
91+
/* Option Bars Styling */
92+
.option-bars {
93+
display: flex;
94+
justify-content: space-between;
95+
width: 90%;
96+
max-width: 1200px;
97+
padding: 0 20px;
98+
margin: 20px auto;
99+
position: relative;
100+
z-index: 2;
101+
}
102+
103+
.option-bar {
104+
width: 48%; /* Adjusted width for better responsiveness */
105+
backdrop-filter: blur(10px);
106+
border-radius: 20px;
107+
background: rgba(255, 255, 255, 0.2);
108+
}
109+
110+
.option-bar select {
111+
width: 100%;
112+
padding: 12px;
113+
font-size: 1.2rem;
114+
font-weight: bold;
115+
border: none;
116+
border-radius: 20px;
117+
background: rgba(255, 255, 255, 0.3);
118+
color: rgba(0, 0, 0, 0.9);
119+
cursor: pointer;
120+
}
121+
122+
.option-bar select option {
123+
background: rgba(255, 255, 255, 0.9);
124+
color: black;
125+
}
126+
127+
/* Search Bar Styling */
128+
.search-bar {
129+
display: flex;
130+
justify-content: center;
131+
width: 90%;
132+
max-width: 1200px;
133+
padding: 10px;
134+
backdrop-filter: blur(10px);
135+
border-radius: 20px;
136+
background: rgba(255, 255, 255, 0.2);
137+
margin: 20px auto 0 auto;
138+
z-index: 1;
139+
transition: transform 0.3s ease, margin-top 0.3s ease; /* Smooth movement */
140+
position: relative;
141+
}
142+
143+
.search-bar.move-down {
144+
margin-top: 60px; /* Move search bar down */
145+
}
146+
147+
.search-bar input[type="text"] {
148+
width: 70%;
149+
padding: 15px;
150+
font-size: 1.1rem;
151+
border: none;
152+
border-radius: 20px;
153+
margin-right: 20px;
154+
background: rgba(255, 255, 255, 0.2);
155+
color: white;
156+
}
157+
158+
.search-bar button {
159+
padding: 15px 30px;
160+
font-size: 1.1rem;
161+
border: none;
162+
border-radius: 20px;
163+
background: rgba(0, 255, 0, 0.3);
164+
color: white;
165+
cursor: pointer;
166+
transition: background 0.3s;
167+
}
168+
169+
.search-bar button:hover {
170+
background: rgba(0, 255, 0, 0.5);
171+
}
172+
173+
/* Terminal Box Styling */
174+
.terminal-box {
175+
width: 90%;
176+
max-width: 800px;
177+
height: 300px;
178+
padding: 20px;
179+
margin: 20px auto;
180+
background: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
181+
border-radius: 20px;
182+
backdrop-filter: blur(10px); /* Glass effect */
183+
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
184+
overflow-y: auto;
185+
color: #00ff00; /* Terminal green text */
186+
font-family: 'Courier New', Courier, monospace;
187+
white-space: pre-wrap; /* Preserve whitespace for better formatting */
188+
line-height: 1.5; /* Line spacing for readability */
189+
}
190+
191+
/* Terminal Line Styling */
192+
.terminal-line {
193+
color: #00ff00; /* Green color */
194+
font-family: monospace;
195+
white-space: pre-wrap;
196+
}
197+
198+
.terminal-line a {
199+
color: #00ff00; /* Green color */
200+
text-decoration: none;
201+
}
202+
203+
.terminal-line a:hover {
204+
text-decoration: underline;
205+
}
206+
207+
/* Live Update Styling */
208+
.option-bars select:disabled {
209+
color: rgba(255, 255, 255, 0.5); /* Disabled state color */
210+
}
211+
212+
/* About Section Styling */
213+
.about-section {
214+
width: 90%;
215+
max-width: 1000px;
216+
margin: 40px auto;
217+
padding: 20px;
218+
background: rgba(255, 255, 255, 0.1); /* Transparent background */
219+
backdrop-filter: blur(10px); /* Glass effect */
220+
border-radius: 15px;
221+
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
222+
color: white;
223+
}
224+
225+
.about-content h1 {
226+
text-align: center;
227+
font-size: 2.5rem;
228+
font-weight: bold;
229+
margin-bottom: 20px;
230+
}
231+
232+
.about-content p {
233+
font-size: 1.1rem;
234+
line-height: 1.8;
235+
text-align: justify;
236+
margin-bottom: 15px;
237+
color: #fff; /* White text color */
238+
}
239+
240+
.about-content p:last-of-type {
241+
margin-bottom: 0;
242+
}
243+
244+
/* Responsive for Smaller Devices */
245+
@media (max-width: 768px) {
246+
nav ul {
247+
flex-direction: column;
248+
align-items: center;
249+
}
250+
251+
nav ul li {
252+
margin: 5px 0;
253+
}
254+
255+
.option-bars {
256+
flex-direction: column;
257+
}
258+
259+
.option-bar {
260+
width: 100%; /* Full width on small screens */
261+
margin-bottom: 10px;
262+
}
263+
264+
.search-bar input[type="text"] {
265+
width: 100%;
266+
margin-bottom: 10px; /* Stack elements */
267+
}
268+
269+
.search-bar button {
270+
width: 100%; /* Full width button */
271+
}
272+
273+
.about-content h1 {
274+
font-size: 2rem;
275+
}
276+
277+
.about-content p {
278+
font-size: 1rem;
279+
}
280+
}
281+
282+
/* Main Content Styling */
283+
main {
284+
margin-top: 70px; /* Space for fixed header */
285+
padding: 20px;
286+
max-width: 1000px;
287+
margin: 40px auto;
288+
width: 90%; /* Added width */
289+
background: rgba(255, 255, 255, 0.1); /* Transparent background */
290+
backdrop-filter: blur(10px); /* Glass effect */
291+
border-radius: 15px;
292+
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
293+
color: white; /* Added text color */
294+
line-height: 1.8;
295+
}
296+
297+
/* Footer Styling */
298+
footer {
299+
text-align: center;
300+
padding: 10px 0;
301+
font-size: 0.9rem;
302+
color: #fff;
303+
margin-top: auto;
304+
background: rgba(255, 255, 255, 0.1);
305+
}

0 commit comments

Comments
 (0)
Please sign in to comment.