Spaces:
Running
Running
Update index.html
Browse files- index.html +115 -20
index.html
CHANGED
@@ -7,11 +7,14 @@
|
|
7 |
body {
|
8 |
background-color: #1a1a1a;
|
9 |
color: #ffffff;
|
10 |
-
font-family:
|
|
|
|
|
11 |
}
|
12 |
|
13 |
.container {
|
14 |
-
|
|
|
15 |
text-align: center;
|
16 |
padding: 20px;
|
17 |
border-radius: 10px;
|
@@ -19,8 +22,8 @@
|
|
19 |
box-shadow: 0 0 15px rgba(0,0,0,0.3);
|
20 |
}
|
21 |
|
22 |
-
input
|
23 |
-
width:
|
24 |
padding: 12px 20px;
|
25 |
margin: 8px 0;
|
26 |
display: inline-block;
|
@@ -29,15 +32,16 @@
|
|
29 |
box-sizing: border-box;
|
30 |
background-color: #333333;
|
31 |
color: #ffffff;
|
|
|
32 |
}
|
33 |
|
34 |
-
input
|
35 |
outline: none;
|
36 |
border-color: #4CAF50;
|
37 |
}
|
38 |
|
39 |
-
button
|
40 |
-
width:
|
41 |
background-color: #4CAF50;
|
42 |
color: white;
|
43 |
padding: 14px 20px;
|
@@ -47,25 +51,84 @@
|
|
47 |
cursor: pointer;
|
48 |
transition: background-image 0.3s;
|
49 |
background-image: linear-gradient(to bottom, #4CAF50, #45a049);
|
|
|
50 |
}
|
51 |
|
52 |
-
button
|
53 |
background-image: linear-gradient(to bottom, #45a049, #4CAF50);
|
54 |
}
|
55 |
|
56 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
color: #4CAF50;
|
58 |
-
|
59 |
-
font-weight: bold;
|
60 |
}
|
61 |
|
62 |
-
.
|
63 |
-
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
66 |
}
|
67 |
|
68 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
width: 100px;
|
70 |
margin: 10px;
|
71 |
border-radius: 5px;
|
@@ -75,16 +138,48 @@
|
|
75 |
</head>
|
76 |
<body>
|
77 |
<div class="container">
|
78 |
-
<img src="https://i.pinimg.com/originals/bc/e4/c0/bce4c082e2a1c2ec016351228f782a4a.gif" alt="
|
79 |
<form id="searchForm">
|
80 |
-
<input id="searchInput" type="text" placeholder="Введите ваш запрос для поиска"/>
|
81 |
-
<button type="submit">Поиск</button>
|
82 |
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
<div id="message"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
</div>
|
85 |
|
86 |
<script>
|
87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
e.preventDefault();
|
89 |
const searchQuery = document.getElementById('searchInput').value;
|
90 |
searchGoogle(searchQuery);
|
|
|
7 |
body {
|
8 |
background-color: #1a1a1a;
|
9 |
color: #ffffff;
|
10 |
+
font-family: 'Courier New', monospace;
|
11 |
+
margin: 0;
|
12 |
+
padding: 0;
|
13 |
}
|
14 |
|
15 |
.container {
|
16 |
+
max-width: 800px;
|
17 |
+
margin: 20px auto;
|
18 |
text-align: center;
|
19 |
padding: 20px;
|
20 |
border-radius: 10px;
|
|
|
22 |
box-shadow: 0 0 15px rgba(0,0,0,0.3);
|
23 |
}
|
24 |
|
25 |
+
.search-input {
|
26 |
+
width: 80%;
|
27 |
padding: 12px 20px;
|
28 |
margin: 8px 0;
|
29 |
display: inline-block;
|
|
|
32 |
box-sizing: border-box;
|
33 |
background-color: #333333;
|
34 |
color: #ffffff;
|
35 |
+
font-family: 'Courier New', monospace;
|
36 |
}
|
37 |
|
38 |
+
.search-input:focus {
|
39 |
outline: none;
|
40 |
border-color: #4CAF50;
|
41 |
}
|
42 |
|
43 |
+
.search-button {
|
44 |
+
width: 15%;
|
45 |
background-color: #4CAF50;
|
46 |
color: white;
|
47 |
padding: 14px 20px;
|
|
|
51 |
cursor: pointer;
|
52 |
transition: background-image 0.3s;
|
53 |
background-image: linear-gradient(to bottom, #4CAF50, #45a049);
|
54 |
+
font-family: 'Courier New', monospace;
|
55 |
}
|
56 |
|
57 |
+
.search-button:hover {
|
58 |
background-image: linear-gradient(to bottom, #45a049, #4CAF50);
|
59 |
}
|
60 |
|
61 |
+
.examples {
|
62 |
+
margin-top: 30px;
|
63 |
+
padding: 20px;
|
64 |
+
background-color: #333333;
|
65 |
+
border-radius: 10px;
|
66 |
+
}
|
67 |
+
|
68 |
+
.examples h2 {
|
69 |
+
color: #4CAF50;
|
70 |
+
margin-bottom: 20px;
|
71 |
+
font-family: 'Courier New', monospace;
|
72 |
+
}
|
73 |
+
|
74 |
+
.examples-list {
|
75 |
+
list-style-type: none;
|
76 |
+
padding: 0;
|
77 |
+
}
|
78 |
+
|
79 |
+
.examples-list li {
|
80 |
+
margin: 10px 0;
|
81 |
+
padding: 15px;
|
82 |
+
background-color: #2d2d2d;
|
83 |
+
border-radius: 5px;
|
84 |
+
cursor: pointer;
|
85 |
+
transition: all 0.3s;
|
86 |
+
border: 1px solid rgba(76, 175, 80, 0.2);
|
87 |
+
}
|
88 |
+
|
89 |
+
.examples-list li:hover {
|
90 |
+
background-color: #333333;
|
91 |
+
transform: translateX(5px);
|
92 |
+
box-shadow: 2px 2px 5px rgba(76, 175, 80, 0.2);
|
93 |
+
}
|
94 |
+
|
95 |
+
.examples-list li strong {
|
96 |
color: #4CAF50;
|
97 |
+
font-family: 'Courier New', monospace;
|
|
|
98 |
}
|
99 |
|
100 |
+
.copy-indicator {
|
101 |
+
position: absolute;
|
102 |
+
right: 10px;
|
103 |
+
top: 10px;
|
104 |
+
color: #4CAF50;
|
105 |
+
font-size: 14px;
|
106 |
+
opacity: 0;
|
107 |
+
transition: opacity 0.3s;
|
108 |
}
|
109 |
|
110 |
+
.copy-indicator.show {
|
111 |
+
opacity: 1;
|
112 |
+
}
|
113 |
+
|
114 |
+
.select-pages {
|
115 |
+
width: 100px;
|
116 |
+
padding: 8px;
|
117 |
+
margin: 10px 0;
|
118 |
+
background-color: #333333;
|
119 |
+
color: #4CAF50;
|
120 |
+
border: 1px solid #4CAF50;
|
121 |
+
border-radius: 4px;
|
122 |
+
font-family: 'Courier New', monospace;
|
123 |
+
}
|
124 |
+
|
125 |
+
.select-pages:focus {
|
126 |
+
outline: none;
|
127 |
+
border-color: #4CAF50;
|
128 |
+
box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
|
129 |
+
}
|
130 |
+
|
131 |
+
img {
|
132 |
width: 100px;
|
133 |
margin: 10px;
|
134 |
border-radius: 5px;
|
|
|
138 |
</head>
|
139 |
<body>
|
140 |
<div class="container">
|
141 |
+
<img src="https://i.pinimg.com/originals/bc/e4/c0/bce4c082e2a1c2ec016351228f782a4a.gif" alt="Hack logo"/>
|
142 |
<form id="searchForm">
|
143 |
+
<input id="searchInput" type="text" class="search-input" placeholder="Введите ваш запрос для поиска"/>
|
144 |
+
<button type="submit" class="search-button">Поиск</button>
|
145 |
</form>
|
146 |
+
<select id="pagesSelect" class="select-pages">
|
147 |
+
<option value="1" selected>1 страница</option>
|
148 |
+
<option value="2">2 страницы</option>
|
149 |
+
<option value="3">3 страницы</option>
|
150 |
+
<option value="4">4 страницы</option>
|
151 |
+
<option value="5">5 страниц</option>
|
152 |
+
<option value="6">6 страниц</option>
|
153 |
+
<option value="7">7 страниц</option>
|
154 |
+
<option value="8">8 страни��</option>
|
155 |
+
<option value="9">9 страниц</option>
|
156 |
+
<option value="10">10 страниц</option>
|
157 |
+
</select>
|
158 |
<div id="message"></div>
|
159 |
+
|
160 |
+
<div class="examples">
|
161 |
+
<h2>Примеры запросов для поиска уязвимостей</h2>
|
162 |
+
<ul class="examples-list">
|
163 |
+
<li onclick="copyToClipboard('intitle:index.of filetype:php')">
|
164 |
+
<strong>Поиск открытых директорий:</strong><br>
|
165 |
+
intitle:index.of filetype:php
|
166 |
+
<span class="copy-indicator">скопировано</span>
|
167 |
+
</li>
|
168 |
+
<!-- Добавлены остальные примеры -->
|
169 |
+
</ul>
|
170 |
+
</div>
|
171 |
</div>
|
172 |
|
173 |
<script>
|
174 |
+
function copyToClipboard(text) {
|
175 |
+
navigator.clipboard.writeText(text).then(() => {
|
176 |
+
const indicator = event.target.querySelector('.copy-indicator');
|
177 |
+
indicator.classList.add('show');
|
178 |
+
setTimeout(() => indicator.classList.remove('show'), 2000);
|
179 |
+
});
|
180 |
+
}
|
181 |
+
|
182 |
+
document.getElementById('searchForm').addEventListener('submit', function(e) {
|
183 |
e.preventDefault();
|
184 |
const searchQuery = document.getElementById('searchInput').value;
|
185 |
searchGoogle(searchQuery);
|