Spaces:
Running
Running
Add 3 files
Browse files- README.md +7 -5
- index.html +464 -18
- prompts.txt +1 -0
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: static
|
7 |
pinned: false
|
|
|
|
|
8 |
---
|
9 |
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: hackinghardware
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: red
|
5 |
+
colorTo: blue
|
6 |
sdk: static
|
7 |
pinned: false
|
8 |
+
tags:
|
9 |
+
- deepsite
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
@@ -1,19 +1,465 @@
|
|
1 |
-
<!
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
</html>
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<!-- Root element of the HTML document -->
|
3 |
+
<html lang="en">
|
4 |
+
<head>
|
5 |
+
<meta charset="UTF-8">
|
6 |
+
<!-- Sets the viewport to the device's width and sets the zoom level to 1 -->
|
7 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
8 |
+
<!-- Sets the title of the HTML document, which appears on the browser's title bar or tab -->
|
9 |
+
<title>HackerHardware.net - Hacking & Penetration Testing Tech</title>
|
10 |
+
<!-- Includes the Tailwind CSS framework -->
|
11 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
12 |
+
<!-- Includes the Font Awesome icon library -->
|
13 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
14 |
+
<style>
|
15 |
+
/* Defines the CSS styles for the typewriter animation */
|
16 |
+
.typewriter {
|
17 |
+
overflow: hidden;
|
18 |
+
border-right: .15em solid #4ade80;
|
19 |
+
white-space: nowrap;
|
20 |
+
margin: 0 auto;
|
21 |
+
letter-spacing: .15em;
|
22 |
+
animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
|
23 |
+
}
|
24 |
+
|
25 |
+
@keyframes typing {
|
26 |
+
from { width: 0 }
|
27 |
+
to { width: 100% }
|
28 |
+
}
|
29 |
+
|
30 |
+
@keyframes blink-caret {
|
31 |
+
from, to { border-color: transparent }
|
32 |
+
50% { border-color: #4ade80; }
|
33 |
+
}
|
34 |
+
|
35 |
+
/* Defines the CSS styles for the terminal-like UI */
|
36 |
+
.terminal {
|
37 |
+
background-color: #111827;
|
38 |
+
color: #4ade80;
|
39 |
+
font-family: 'Courier New', monospace;
|
40 |
+
border-radius: 0.5rem;
|
41 |
+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
42 |
+
}
|
43 |
+
|
44 |
+
.terminal-header {
|
45 |
+
background-color: #1f2937;
|
46 |
+
border-top-left-radius: 0.5rem;
|
47 |
+
border-top-right-radius: 0.5rem;
|
48 |
+
}
|
49 |
+
|
50 |
+
.terminal-body {
|
51 |
+
padding: 1.5rem;
|
52 |
+
height: 300px;
|
53 |
+
overflow-y: auto;
|
54 |
+
}
|
55 |
+
|
56 |
+
.command-line {
|
57 |
+
display: flex;
|
58 |
+
align-items: center;
|
59 |
+
}
|
60 |
+
|
61 |
+
.prompt {
|
62 |
+
color: #60a5fa;
|
63 |
+
margin-right: 0.5rem;
|
64 |
+
}
|
65 |
+
|
66 |
+
.cursor {
|
67 |
+
display: inline-block;
|
68 |
+
width: 10px;
|
69 |
+
height: 20px;
|
70 |
+
background-color: #4ade80;
|
71 |
+
animation: blink 1s infinite;
|
72 |
+
}
|
73 |
+
|
74 |
+
@keyframes blink {
|
75 |
+
0%, 100% { opacity: 1; }
|
76 |
+
50% { opacity: 0; }
|
77 |
+
}
|
78 |
+
|
79 |
+
/* Defines the CSS styles for the glow-on-hover effect */
|
80 |
+
.glow-on-hover {
|
81 |
+
transition: all 0.3s ease;
|
82 |
+
}
|
83 |
+
|
84 |
+
.glow-on-hover:hover {
|
85 |
+
box-shadow: 0 0 15px rgba(74, 222, 128, 0.6);
|
86 |
+
transform: translateY(-2px);
|
87 |
+
}
|
88 |
+
|
89 |
+
/* Defines the CSS styles for the hacker-themed text */
|
90 |
+
.hacker-text {
|
91 |
+
background: linear-gradient(90deg, #4ade80, #60a5fa, #a78bfa);
|
92 |
+
-webkit-background-clip: text;
|
93 |
+
background-clip: text;
|
94 |
+
color: transparent;
|
95 |
+
}
|
96 |
+
</style>
|
97 |
+
</head>
|
98 |
+
<body class="bg-gray-900 text-gray-100 min-h-screen">
|
99 |
+
<!-- Header -->
|
100 |
+
<header class="bg-gray-800 border-b border-gray-700 sticky top-0 z-50">
|
101 |
+
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
|
102 |
+
<div class="flex items-center space-x-2">
|
103 |
+
<i class="fas fa-terminal text-green-400 text-2xl"></i>
|
104 |
+
<a href="#" class="text-xl font-bold hacker-text">HackerHardware.net</a>
|
105 |
+
</div>
|
106 |
+
<nav class="hidden md:flex space-x-6">
|
107 |
+
<a href="#" class="hover:text-green-400 transition">Home</a>
|
108 |
+
<a href="#" class="hover:text-green-400 transition">Shop</a>
|
109 |
+
<a href="#" class="hover:text-green-400 transition">Tools</a>
|
110 |
+
<a href="#" class="hover:text-green-400 transition">Tutorials</a>
|
111 |
+
<a href="#" class="hover:text-green-400 transition">Forum</a>
|
112 |
+
</nav>
|
113 |
+
<div class="flex items-center space-x-4">
|
114 |
+
<button class="hover:text-green-400 transition">
|
115 |
+
<i class="fas fa-search"></i>
|
116 |
+
</button>
|
117 |
+
<button class="hover:text-green-400 transition">
|
118 |
+
<i class="fas fa-shopping-cart"></i>
|
119 |
+
</button>
|
120 |
+
<button class="md:hidden hover:text-green-400 transition">
|
121 |
+
<i class="fas fa-bars"></i>
|
122 |
+
</button>
|
123 |
+
</div>
|
124 |
+
</div>
|
125 |
+
</header>
|
126 |
+
|
127 |
+
<!-- Hero Section -->
|
128 |
+
<section class="relative bg-gradient-to-b from-gray-800 to-gray-900 py-20">
|
129 |
+
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
|
130 |
+
<div class="md:w-1/2 mb-10 md:mb-0">
|
131 |
+
<h1 class="text-4xl md:text-5xl font-bold mb-4">
|
132 |
+
<span class="hacker-text">Hacking Hardware</span> <br>
|
133 |
+
<span class="typewriter">For Professionals</span>
|
134 |
+
</h1>
|
135 |
+
<p class="text-gray-300 mb-6 text-lg">
|
136 |
+
The ultimate destination for penetration testing tools, hardware, and cybersecurity equipment.
|
137 |
+
Trusted by ethical hackers worldwide.
|
138 |
+
</p>
|
139 |
+
<div class="flex space-x-4">
|
140 |
+
<button class="bg-green-500 hover:bg-green-600 text-white px-6 py-3 rounded-lg font-medium glow-on-hover transition">
|
141 |
+
Shop Now <i class="fas fa-arrow-right ml-2"></i>
|
142 |
+
</button>
|
143 |
+
<button class="border border-green-500 text-green-400 hover:bg-green-900 hover:bg-opacity-30 px-6 py-3 rounded-lg font-medium glow-on-hover transition">
|
144 |
+
Learn More
|
145 |
+
</button>
|
146 |
+
</div>
|
147 |
+
</div>
|
148 |
+
<div class="md:w-1/2 flex justify-center">
|
149 |
+
<div class="terminal w-full max-w-lg">
|
150 |
+
<div class="terminal-header flex items-center px-4 py-2">
|
151 |
+
<div class="flex space-x-2 mr-4">
|
152 |
+
<div class="w-3 h-3 rounded-full bg-red-500"></div>
|
153 |
+
<div class="w-3 h-3 rounded-full bg-yellow-500"></div>
|
154 |
+
<div class="w-3 h-3 rounded-full bg-green-500"></div>
|
155 |
+
</div>
|
156 |
+
<div class="text-sm text-gray-400">root@hackerhardware:~</div>
|
157 |
+
</div>
|
158 |
+
<div class="terminal-body">
|
159 |
+
<div class="mb-4">
|
160 |
+
<div class="command-line mb-2">
|
161 |
+
<span class="prompt">$</span>
|
162 |
+
<span>sudo apt-get install hacking-tools</span>
|
163 |
+
</div>
|
164 |
+
<p class="text-green-400">Reading package lists... Done</p>
|
165 |
+
<p class="text-green-400">Building dependency tree... Done</p>
|
166 |
+
<p class="text-green-400">The following NEW packages will be installed:</p>
|
167 |
+
<p class="text-blue-400 ml-4">wifi-pineapple hak5 rubber-ducky usb-kill raspberry-pi</p>
|
168 |
+
</div>
|
169 |
+
<div class="mb-4">
|
170 |
+
<div class="command-line mb-2">
|
171 |
+
<span class="prompt">$</span>
|
172 |
+
<span>ping hackerhardware.net</span>
|
173 |
+
</div>
|
174 |
+
<p>PING hackerhardware.net (192.168.1.1) 56(84) bytes of data.</p>
|
175 |
+
<p>64 bytes from hackerhardware.net: icmp_seq=1 ttl=64 time=0.023 ms</p>
|
176 |
+
<p>64 bytes from hackerhardware.net: icmp_seq=2 ttl=64 time=0.034 ms</p>
|
177 |
+
</div>
|
178 |
+
<div class="command-line">
|
179 |
+
<span class="prompt">$</span>
|
180 |
+
<span>_</span>
|
181 |
+
<span class="cursor"></span>
|
182 |
+
</div>
|
183 |
+
</div>
|
184 |
+
</div>
|
185 |
+
</div>
|
186 |
+
</div>
|
187 |
+
</section>
|
188 |
+
|
189 |
+
<!-- Featured Products -->
|
190 |
+
<section class="py-16 bg-gray-900">
|
191 |
+
<div class="container mx-auto px-4">
|
192 |
+
<div class="text-center mb-12">
|
193 |
+
<h2 class="text-3xl font-bold mb-2 hacker-text">Featured Hardware</h2>
|
194 |
+
<p class="text-gray-400 max-w-2xl mx-auto">Top-rated penetration testing tools used by security professionals</p>
|
195 |
+
</div>
|
196 |
+
|
197 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
|
198 |
+
<!-- Product Template -->
|
199 |
+
<div class="bg-gray-800 rounded-lg overflow-hidden glow-on-hover">
|
200 |
+
<div class="relative">
|
201 |
+
<img src="https://m.media-amazon.com/images/I/61YVqHdFRxL._AC_SL1500_.jpg" alt="WiFi Pineapple" class="w-full h-48 object-cover">
|
202 |
+
<div class="absolute top-2 right-2 bg-green-500 text-xs font-bold px-2 py-1 rounded">BEST SELLER</div>
|
203 |
+
</div>
|
204 |
+
<div class="p-4">
|
205 |
+
<h3 class="font-bold text-lg mb-1">WiFi Pineapple Mark VII</h3>
|
206 |
+
<p class="text-gray-400 text-sm mb-3">Professional wireless auditing platform</p>
|
207 |
+
<div class="flex justify-between items-center">
|
208 |
+
<span class="text-green-400 font-bold">$199.99</span>
|
209 |
+
<button class="bg-green-600 hover:bg-green-700 text-white px-3 py-1 rounded text-sm">
|
210 |
+
<i class="fas fa-cart-plus mr-1"></i> Add
|
211 |
+
</button>
|
212 |
+
</div>
|
213 |
+
</div>
|
214 |
+
</div>
|
215 |
+
|
216 |
+
<!-- Repeat similar structure for other products -->
|
217 |
+
<div class="bg-gray-800 rounded-lg overflow-hidden glow-on-hover">
|
218 |
+
<div class="relative">
|
219 |
+
<img src="https://m.media-amazon.com/images/I/61+Q6RhR1VL._AC_SL1500_.jpg" alt="USB Rubber Ducky" class="w-full h-48 object-cover">
|
220 |
+
</div>
|
221 |
+
<div class="p-4">
|
222 |
+
<h3 class="font-bold text-lg mb-1">USB Rubber Ducky</h3>
|
223 |
+
<p class="text-gray-400 text-sm mb-3">Keystroke injection attack platform</p>
|
224 |
+
<div class="flex justify-between items-center">
|
225 |
+
<span class="text-green-400 font-bold">$89.99</span>
|
226 |
+
<button class="bg-green-600 hover:bg-green-700 text-white px-3 py-1 rounded text-sm">
|
227 |
+
<i class="fas fa-cart-plus mr-1"></i> Add
|
228 |
+
</button>
|
229 |
+
</div>
|
230 |
+
</div>
|
231 |
+
</div>
|
232 |
+
|
233 |
+
<div class="bg-gray-800 rounded-lg overflow-hidden glow-on-hover">
|
234 |
+
<div class="relative">
|
235 |
+
<img src="https://m.media-amazon.com/images/I/71Yw5tU6KIL._AC_SL1500_.jpg" alt="Flipper Zero" class="w-full h-48 object-cover">
|
236 |
+
<div class="absolute top-2 right-2 bg-blue-500 text-xs font-bold px-2 py-1 rounded">NEW</div>
|
237 |
+
</div>
|
238 |
+
<div class="p-4">
|
239 |
+
<h3 class="font-bold text-lg mb-1">Flipper Zero</h3>
|
240 |
+
<p class="text-gray-400 text-sm mb-3">Multi-tool device for pentesters</p>
|
241 |
+
<div class="flex justify-between items-center">
|
242 |
+
<span class="text-green-400 font-bold">$169.00</span>
|
243 |
+
<button class="bg-green-600 hover:bg-green-700 text-white px-3 py-1 rounded text-sm">
|
244 |
+
<i class="fas fa-cart-plus mr-1"></i> Add
|
245 |
+
</button>
|
246 |
+
</div>
|
247 |
+
</div>
|
248 |
+
</div>
|
249 |
+
|
250 |
+
<div class="bg-gray-800 rounded-lg overflow-hidden glow-on-hover">
|
251 |
+
<div class="relative">
|
252 |
+
<img src="https://m.media-amazon.com/images/I/71Yw5tU6KIL._AC_SL1500_.jpg" alt="LAN Turtle" class="w-full h-48 object-cover">
|
253 |
+
</div>
|
254 |
+
<div class="p-4">
|
255 |
+
<h3 class="font-bold text-lg mb-1">LAN Turtle</h3>
|
256 |
+
<p class="text-gray-400 text-sm mb-3">Covert network penetration tool</p>
|
257 |
+
<div class="flex justify-between items-center">
|
258 |
+
<span class="text-green-400 font-bold">$59.99</span>
|
259 |
+
<button class="bg-green-600 hover:bg-green-700 text-white px-3 py-1 rounded text-sm">
|
260 |
+
<i class="fas fa-cart-plus mr-1"></i> Add
|
261 |
+
</button>
|
262 |
+
</div>
|
263 |
+
</div>
|
264 |
+
</div>
|
265 |
+
</div>
|
266 |
+
|
267 |
+
<div class="text-center mt-10">
|
268 |
+
<button class="border border-green-500 text-green-400 hover:bg-green-900 hover:bg-opacity-30 px-6 py-3 rounded-lg font-medium glow-on-hover transition">
|
269 |
+
View All Products <i class="fas fa-chevron-right ml-2"></i>
|
270 |
+
</button>
|
271 |
+
</div>
|
272 |
+
</div>
|
273 |
+
</section>
|
274 |
+
|
275 |
+
<!-- Features Section -->
|
276 |
+
<section class="py-16 bg-gray-800">
|
277 |
+
<div class="container mx-auto px-4">
|
278 |
+
<div class="text-center mb-12">
|
279 |
+
<h2 class="text-3xl font-bold mb-2 hacker-text">Why Choose HackerHardware.net?</h2>
|
280 |
+
<p class="text-gray-400 max-w-2xl mx-auto">We provide the best tools and resources for security professionals</p>
|
281 |
+
</div>
|
282 |
+
|
283 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
284 |
+
<div class="bg-gray-900 <!-- Continuation of the code documentation -->
|
285 |
+
|
286 |
+
<div class="bg-gray-900 p-6 rounded-lg glow-on-hover">
|
287 |
+
<div class="text-green-400 text-4xl mb-4">
|
288 |
+
<i class="fas fa-shield-alt"></i>
|
289 |
+
</div>
|
290 |
+
<h3 class="text-xl font-bold mb-2">Trusted by Professionals</h3>
|
291 |
+
<p class="text-gray-400">Our products are used by security teams at Fortune 500 companies and government agencies worldwide.</p>
|
292 |
+
</div>
|
293 |
+
|
294 |
+
<div class="bg-gray-900 p-6 rounded-lg glow-on-hover">
|
295 |
+
<div class="text-green-400 text-4xl mb-4">
|
296 |
+
<i class="fas fa-lock"></i>
|
297 |
+
</div>
|
298 |
+
<h3 class="text-xl font-bold mb-2">Secure Shipping</h3>
|
299 |
+
<p class="text-gray-400">All packages are discreetly shipped with no external branding to protect your privacy.</p>
|
300 |
+
</div>
|
301 |
+
|
302 |
+
<div class="bg-gray-900 p-6 rounded-lg glow-on-hover">
|
303 |
+
<div class="text-green-400 text-4xl mb-4">
|
304 |
+
<i class="fas fa-book"></i>
|
305 |
+
</div>
|
306 |
+
<h3 class="text-xl font-bold mb-2">Free Resources</h3>
|
307 |
+
<p class="text-gray-400">Access our library of tutorials, whitepapers, and how-to guides to master your tools.</p>
|
308 |
+
</div>
|
309 |
+
</div>
|
310 |
+
</section>
|
311 |
+
|
312 |
+
<!-- Newsletter -->
|
313 |
+
<section class="py-16 bg-gradient-to-r from-gray-900 to-gray-800">
|
314 |
+
<div class="container mx-auto px-4 max-w-4xl">
|
315 |
+
<div class="bg-gray-800 rounded-lg p-8 glow-on-hover">
|
316 |
+
<div class="text-center mb-6">
|
317 |
+
<h2 class="text-2xl font-bold mb-2 hacker-text">Join Our Hacker Community</h2>
|
318 |
+
<p class="text-gray-400">Get the latest updates on new products, security research, and exclusive deals.</p>
|
319 |
+
</div>
|
320 |
+
|
321 |
+
<div class="flex flex-col md:flex-row gap-4">
|
322 |
+
<input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 bg-gray-700 border border-gray-600 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500">
|
323 |
+
<button class="bg-green-600 hover:bg-green-700 text-white px-6 py-3 rounded-lg font-medium whitespace-nowrap">
|
324 |
+
Subscribe <i class="fas fa-paper-plane ml-2"></i>
|
325 |
+
</button>
|
326 |
+
</div>
|
327 |
+
|
328 |
+
<p class="text-gray-500 text-xs mt-4 text-center">
|
329 |
+
We respect your privacy. No spam, ever.
|
330 |
+
</p>
|
331 |
+
</div>
|
332 |
+
</div>
|
333 |
+
</section>
|
334 |
+
|
335 |
+
<!-- Footer -->
|
336 |
+
<footer class="bg-gray-900 border-t border-gray-800 pt-12 pb-6">
|
337 |
+
<div class="container mx-auto px-4">
|
338 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
|
339 |
+
<div>
|
340 |
+
<div class="flex items-center space-x-2 mb-4">
|
341 |
+
<i class="fas fa-terminal text-green-400 text-2xl"></i>
|
342 |
+
<span class="text-xl font-bold hacker-text">HackerHardware.net</span>
|
343 |
+
</div>
|
344 |
+
<p class="text-gray-400 mb-4">
|
345 |
+
The premier destination for ethical hacking tools and penetration testing hardware.
|
346 |
+
</p>
|
347 |
+
<div class="flex space-x-4">
|
348 |
+
<a href="#" class="text-gray-400 hover:text-green-400 transition">
|
349 |
+
<i class="fab fa-twitter"></i>
|
350 |
+
</a>
|
351 |
+
<a href="#" class="text-gray-400 hover:text-green-400 transition">
|
352 |
+
<i class="fab fa-github"></i>
|
353 |
+
</a>
|
354 |
+
<a href="#" class="text-gray-400 hover:text-green-400 transition">
|
355 |
+
<i class="fab fa-discord"></i>
|
356 |
+
</a>
|
357 |
+
<a href="#" class="text-gray-400 hover:text-green-400 transition">
|
358 |
+
<i class="fab fa-youtube"></i>
|
359 |
+
</a>
|
360 |
+
</div>
|
361 |
+
</div>
|
362 |
+
|
363 |
+
<div>
|
364 |
+
<h3 class="text-lg font-bold mb-4">Shop</h3>
|
365 |
+
<ul class="space-y-2">
|
366 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Wireless Tools</a></li>
|
367 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">USB Devices</a></li>
|
368 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">RF Tools</a></li>
|
369 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Bundles</a></li>
|
370 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">New Arrivals</a></li>
|
371 |
+
</ul>
|
372 |
+
</div>
|
373 |
+
|
374 |
+
<div>
|
375 |
+
<h3 class="text-lg font-bold mb-4">Resources</h3>
|
376 |
+
<ul class="space-y-2">
|
377 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Documentation</a></li>
|
378 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Tutorials</a></li>
|
379 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Blog</a></li>
|
380 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Forum</a></li>
|
381 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Whitepapers</a></li>
|
382 |
+
</ul>
|
383 |
+
</div>
|
384 |
+
|
385 |
+
<div>
|
386 |
+
<h3 class="text-lg font-bold mb-4">Company</h3>
|
387 |
+
<ul class="space-y-2">
|
388 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">About Us</a></li>
|
389 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Contact</a></li>
|
390 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Shipping Policy</a></li>
|
391 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Returns</a></li>
|
392 |
+
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Legal</a></li>
|
393 |
+
</ul>
|
394 |
+
</div>
|
395 |
+
</div>
|
396 |
+
|
397 |
+
<div class="border-t border-gray-800 pt-6 flex flex-col md:flex-row justify-between items-center">
|
398 |
+
<p class="text-gray-500 text-sm mb-4 md:mb-0">
|
399 |
+
© 2023 HackerHardware.net. All rights reserved.
|
400 |
+
</p>
|
401 |
+
<div class="flex space-x-6">
|
402 |
+
<a href="#" class="text-gray-500 hover:text-green-400 text-sm transition">Privacy Policy</a>
|
403 |
+
<a href="#" class="text-gray-500 hover:text-green-400 text-sm transition">Terms of Service</a>
|
404 |
+
<a href="#" class="text-gray-500 hover:text-green-400 text-sm transition">Ethics Policy</a>
|
405 |
+
</div>
|
406 |
+
</div>
|
407 |
+
</div>
|
408 |
+
</footer>
|
409 |
+
|
410 |
+
<script>
|
411 |
+
// Terminal typing effect
|
412 |
+
document.addEventListener('DOMContentLoaded', function() {
|
413 |
+
const commands = [
|
414 |
+
"nmap -sV -O 192.168.1.1/24",
|
415 |
+
"hydra -l admin -P wordlist.txt ssh://target",
|
416 |
+
"sqlmap -u 'http://target.com/page?id=1' --dbs",
|
417 |
+
"msfconsole -q -x 'use exploit/multi/handler; set payload windows/meterpreter/reverse_tcp; set LHOST 192.168.1.100; set LPORT 4444; exploit'"
|
418 |
+
];
|
419 |
+
|
420 |
+
const terminalBody = document.querySelector('.terminal-body');
|
421 |
+
const commandLine = terminalBody.querySelector('.command-line:last-child');
|
422 |
+
|
423 |
+
let currentCommand = 0;
|
424 |
+
|
425 |
+
function typeCommand() {
|
426 |
+
if (currentCommand >= commands.length) {
|
427 |
+
currentCommand = 0;
|
428 |
+
}
|
429 |
+
|
430 |
+
const command = commands[currentCommand];
|
431 |
+
let i = 0;
|
432 |
+
|
433 |
+
// Clear previous command
|
434 |
+
commandLine.innerHTML = '<span class="prompt">$</span><span></span><span class="cursor"></span>';
|
435 |
+
const commandText = commandLine.querySelector('span:nth-child(2)');
|
436 |
+
|
437 |
+
const typing = setInterval(() => {
|
438 |
+
if (i < command.length) {
|
439 |
+
commandText.textContent += command.charAt(i);
|
440 |
+
i++;
|
441 |
+
} else {
|
442 |
+
clearInterval(typing);
|
443 |
+
|
444 |
+
// Add output
|
445 |
+
setTimeout(() => {
|
446 |
+
const output = document.createElement('div');
|
447 |
+
output.className = 'mb-4 text-green-400';
|
448 |
+
output.textContent = 'Command executed successfully.';
|
449 |
+
|
450 |
+
terminalBody.insertBefore(output, commandLine);
|
451 |
+
terminalBody.scrollTop = terminalBody.scrollHeight;
|
452 |
+
|
453 |
+
currentCommand++;
|
454 |
+
setTimeout(typeCommand, 2000);
|
455 |
+
}, 1000);
|
456 |
+
}
|
457 |
+
}, 50);
|
458 |
+
}
|
459 |
+
|
460 |
+
// Start typing after initial delay
|
461 |
+
setTimeout(typeCommand, 3000);
|
462 |
+
});
|
463 |
+
</script>
|
464 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=S-Dreamer/hackinghardware" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
465 |
</html>
|
prompts.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
### Bug Report and Analysis #### Syntax Errors - **Issue:** No syntax errors were found in the provided HTML and JavaScript code. The structure adheres to HTML5 standards, and the JavaScript syntax is correct. - **Context:** All tags are properly opened and closed, and the JavaScript functions are correctly defined. #### Runtime Errors - **Issue:** Potential runtime errors may occur if the JavaScript code attempts to manipulate DOM elements that do not exist or are not fully loaded. - **Context:** The script that initializes the terminal typing effect runs on `DOMContentLoaded`, which mitigates this risk. However, if any elements are removed or renamed, it could lead to `TypeError` when trying to access them. - **Suggested Fix:** Ensure that all elements referenced in the script exist in the HTML structure. #### Memory Leaks - **Issue:** The JavaScript function `typeCommand` uses `setInterval` to create a typing effect, which could lead to memory leaks if not properly cleared. - **Context:** If the function is called repeatedly without clearing previous intervals, it may lead to multiple intervals running simultaneously. - **Suggested Fix:** Use `clearInterval` effectively when transitioning between commands to prevent multiple intervals from stacking. #### Code Optimization Tips - **Issue:** The command typing effect uses a `setInterval` to simulate typing, which can be optimized. - **Context:** Instead of using `setInterval`, consider using `async/await` with `setTimeout` for better readability and control over the timing of each character being typed. - **Suggested Fix:** Refactor the typing logic to use a recursive function with `setTimeout` instead of `setInterval`. #### Deprecated Functions - **Issue:** No deprecated functions are present in the provided code. - **Context:** All JavaScript and HTML functions used are current and adhere to modern standards. The use of libraries like Font Awesome and Tailwind CSS is also up-to-date. - **Suggested Fix:** Regularly check for updates in libraries and frameworks used to ensure no deprecated features are being utilized. ### Summary The provided code is largely free of syntax errors and deprecated functions, but it does have potential runtime issues and memory leak risks due to the way the typing effect is implemented. Optimizing the typing effect and ensuring that DOM elements are correctly referenced will enhance the performance and reliability of the code. Regular maintenance and updates to libraries will also help keep the codebase modern and efficient. ### Performance Bottlenecks **Issue:** Inefficient Command Typing Simulation - **Context:** The `setInterval` function in the `typeCommand` function simulates typing commands. - **Description:** The typing simulation uses a fixed interval of 50 milliseconds, which may lead to performance issues if the command list grows. Additionally, the repeated DOM manipulations can be costly. - **Suggested Fix:** Consider using `requestAnimationFrame` for smoother animations and to reduce the load on the browser's rendering engine. ### Variable Naming Consistency **Issue:** Inconsistent Naming for Classes and IDs - **Context:** Class names like `hacker-text` and `glow-on-hover`. - **Description:** While the naming is generally consistent, the use of hyphens in class names is not uniformly applied across all styles. - **Suggested Fix:** Maintain a consistent naming convention, either using hyphens or camelCase throughout the codebase. ### Comments Review **Issue:** Lack of Descriptive Comments - **Context:** The code contains minimal comments, primarily in the JavaScript section. - **Description:** While there are some comments, they do not adequately explain the purpose of functions or complex logic, especially in the JavaScript section. - **Suggested Fix:** Add more descriptive comments explaining the purpose of key sections, especially for complex animations or interactions. ### Potential Refactoring Spots **Issue:** Repeated Code for Command Output - **Context:** The command output generation is repeated for each command in the `typeCommand` function. - **Description:** This could lead to code duplication and make maintenance harder. - **Suggested Fix:** Create a separate function to handle the output generation to avoid repetition. ### API Misuse **Issue:** Use of External Libraries Without Fallbacks - **Context:** The code relies on external libraries like Font Awesome and Tailwind CSS. - **Description:** If these libraries fail to load, the site may not render correctly. - **Suggested Fix:** Implement fallback styles or icons in case the external resources are unavailable. ### Code Smells **Issue:** Hardcoded Values - **Context:** The IP addresses and command strings in the JavaScript are hardcoded. - **Description:** This can lead to issues if the values need to change or if they are reused in multiple places. - **Suggested Fix:** Store such values in variables or configuration objects to enhance maintainability. ### Compatibility Issues **Issue:** Potential CSS Compatibility - **Context:** The use of CSS properties like `-webkit-background-clip`. - **Description:** While modern browsers support these properties, older browsers may not. - **Suggested Fix:** Ensure to include fallbacks or check for browser compatibility, especially for critical styles. ### Code Style Violations **Issue:** Inconsistent Indentation and Spacing - **Context:** The HTML and CSS sections have inconsistent indentation levels. - **Description:** This can lead to readability issues and make it harder to maintain the code. - **Suggested Fix:** Standardize indentation to 2 or 4 spaces throughout the document and ensure consistent spacing around elements. ### Summary The provided HTML and JavaScript code for the HackerHardware.net website exhibits several areas for improvement. Performance bottlenecks arise from inefficient command typing simulation and potential DOM manipulation issues. Variable naming consistency could be enhanced, and comments should be more descriptive to aid understanding. Refactoring opportunities exist to reduce code duplication, particularly in command output handling. The reliance on external libraries without fallbacks poses a risk, and hardcoded values should be avoided for better maintainability. Compatibility issues with CSS properties and inconsistent code style further detract from the overall quality of the code. Addressing these issues will lead to a more robust, maintainable, and performant web application.
|