abuali1973 commited on
Commit
bc3fc41
·
verified ·
1 Parent(s): 008d7d3

continue coding more and more for pentesting which are seventh phases updated in 2025 - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +699 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Iptf
3
- emoji: 🐢
4
- colorFrom: red
5
- colorTo: red
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: iptf
3
+ emoji: 🐳
4
+ colorFrom: gray
5
+ colorTo: green
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,699 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>IPTF AbuAliAQ June 2025 WebApp</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ /* Custom CSS for terminal and visualizations */
11
+ .terminal {
12
+ background-color: #1e1e1e;
13
+ font-family: 'Courier New', monospace;
14
+ height: 400px;
15
+ overflow-y: auto;
16
+ border-radius: 0.5rem;
17
+ }
18
+
19
+ .terminal-input {
20
+ background-color: transparent;
21
+ border: none;
22
+ outline: none;
23
+ color: #00ff00;
24
+ width: 90%;
25
+ font-family: 'Courier New', monospace;
26
+ }
27
+
28
+ .visualization-canvas {
29
+ background-color: #1e1e1e;
30
+ border-radius: 0.5rem;
31
+ height: 400px;
32
+ position: relative;
33
+ }
34
+
35
+ .node {
36
+ position: absolute;
37
+ width: 80px;
38
+ height: 80px;
39
+ border-radius: 50%;
40
+ display: flex;
41
+ align-items: center;
42
+ justify-content: center;
43
+ color: white;
44
+ font-weight: bold;
45
+ cursor: pointer;
46
+ transition: all 0.3s ease;
47
+ }
48
+
49
+ .node:hover {
50
+ transform: scale(1.1);
51
+ }
52
+
53
+ .connection {
54
+ position: absolute;
55
+ height: 2px;
56
+ background-color: rgba(255, 255, 255, 0.5);
57
+ transform-origin: 0 0;
58
+ }
59
+
60
+ .progress-bar {
61
+ height: 5px;
62
+ background-color: #4CAF50;
63
+ width: 0%;
64
+ transition: width 0.3s ease;
65
+ }
66
+
67
+ .tool-card:hover {
68
+ transform: translateY(-5px);
69
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
70
+ }
71
+
72
+ /* Animation for scanning */
73
+ @keyframes scan {
74
+ 0% { background-position: 0 0; }
75
+ 100% { background-position: 100% 0; }
76
+ }
77
+
78
+ .scanning {
79
+ background: linear-gradient(90deg, #1e1e1e, #4CAF50, #1e1e1e);
80
+ background-size: 200% 100%;
81
+ animation: scan 2s linear infinite;
82
+ }
83
+ </style>
84
+ </head>
85
+ <body class="bg-gray-900 text-gray-100 min-h-screen">
86
+ <!-- Navigation -->
87
+ <nav class="bg-gray-800 shadow-lg">
88
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
89
+ <div class="flex items-center justify-between h-16">
90
+ <div class="flex items-center">
91
+ <div class="flex-shrink-0">
92
+ <span class="text-green-500 font-bold text-xl">IPTF</span>
93
+ </div>
94
+ <div class="hidden md:block">
95
+ <div class="ml-10 flex items-baseline space-x-4">
96
+ <a href="#" class="bg-gray-900 text-white px-3 py-2 rounded-md text-sm font-medium">Dashboard</a>
97
+ <a href="#" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Tools</a>
98
+ <a href="#" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Reports</a>
99
+ <a href="#" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">CVE Database</a>
100
+ <a href="#" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Settings</a>
101
+ </div>
102
+ </div>
103
+ </div>
104
+ <div class="hidden md:block">
105
+ <div class="ml-4 flex items-center md:ml-6">
106
+ <button class="bg-gray-800 p-1 rounded-full text-gray-400 hover:text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white">
107
+ <span class="sr-only">View notifications</span>
108
+ <i class="fas fa-bell h-6 w-6"></i>
109
+ </button>
110
+ <div class="ml-3 relative">
111
+ <div>
112
+ <button type="button" class="max-w-xs bg-gray-800 rounded-full flex items-center text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white" id="user-menu" aria-expanded="false" aria-haspopup="true">
113
+ <span class="sr-only">Open user menu</span>
114
+ <img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
115
+ </button>
116
+ </div>
117
+ </div>
118
+ </div>
119
+ </div>
120
+ <div class="-mr-2 flex md:hidden">
121
+ <button type="button" class="bg-gray-800 inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-white hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white" aria-controls="mobile-menu" aria-expanded="false">
122
+ <span class="sr-only">Open main menu</span>
123
+ <i class="fas fa-bars block h-6 w-6"></i>
124
+ </button>
125
+ </div>
126
+ </div>
127
+ </div>
128
+ </nav>
129
+
130
+ <!-- Main Content -->
131
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
132
+ <div class="flex flex-col md:flex-row gap-6">
133
+ <!-- Left Sidebar -->
134
+ <div class="w-full md:w-1/4 space-y-6">
135
+ <!-- Target Input -->
136
+ <div class="bg-gray-800 p-4 rounded-lg shadow">
137
+ <h3 class="text-lg font-medium mb-4">Target Configuration</h3>
138
+ <div class="space-y-4">
139
+ <div>
140
+ <label class="block text-sm font-medium text-gray-300 mb-1">Target IP/Hostname</label>
141
+ <input type="text" class="w-full bg-gray-700 border border-gray-600 rounded-md px-3 py-2 text-sm" placeholder="192.168.1.1 or example.com">
142
+ </div>
143
+ <div>
144
+ <label class="block text-sm font-medium text-gray-300 mb-1">Port Range</label>
145
+ <input type="text" class="w-full bg-gray-700 border border-gray-600 rounded-md px-3 py-2 text-sm" placeholder="1-65535 or 80,443,8080">
146
+ </div>
147
+ <div>
148
+ <label class="block text-sm font-medium text-gray-300 mb-1">Scan Intensity</label>
149
+ <select class="w-full bg-gray-700 border border-gray-600 rounded-md px-3 py-2 text-sm">
150
+ <option>Stealth</option>
151
+ <option selected>Normal</option>
152
+ <option>Aggressive</option>
153
+ <option>Insane</option>
154
+ </select>
155
+ </div>
156
+ <div>
157
+ <label class="block text-sm font-medium text-gray-300 mb-1">Scan Type</label>
158
+ <select class="w-full bg-gray-700 border border-gray-600 rounded-md px-3 py-2 text-sm">
159
+ <option>Full Audit</option>
160
+ <option selected>Quick Scan</option>
161
+ <option>Web App Scan</option>
162
+ <option>Network Scan</option>
163
+ <option>Exploit Scan</option>
164
+ </select>
165
+ </div>
166
+ <button class="w-full bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded-md text-sm font-medium transition duration-150 ease-in-out">
167
+ <i class="fas fa-play mr-2"></i> Start Scan
168
+ </button>
169
+ </div>
170
+ </div>
171
+
172
+ <!-- Quick Tools -->
173
+ <div class="bg-gray-800 p-4 rounded-lg shadow">
174
+ <h3 class="text-lg font-medium mb-4">Quick Tools</h3>
175
+ <div class="grid grid-cols-2 gap-2">
176
+ <button class="bg-gray-700 hover:bg-gray-600 text-white py-2 px-3 rounded-md text-xs font-medium transition duration-150 ease-in-out">
177
+ <i class="fas fa-network-wired mr-1"></i> Ping
178
+ </button>
179
+ <button class="bg-gray-700 hover:bg-gray-600 text-white py-2 px-3 rounded-md text-xs font-medium transition duration-150 ease-in-out">
180
+ <i class="fas fa-route mr-1"></i> Traceroute
181
+ </button>
182
+ <button class="bg-gray-700 hover:bg-gray-600 text-white py-2 px-3 rounded-md text-xs font-medium transition duration-150 ease-in-out">
183
+ <i class="fas fa-search mr-1"></i> Nmap
184
+ </button>
185
+ <button class="bg-gray-700 hover:bg-gray-600 text-white py-2 px-3 rounded-md text-xs font-medium transition duration-150 ease-in-out">
186
+ <i class="fas fa-lock mr-1"></i> SSL Test
187
+ </button>
188
+ <button class="bg-gray-700 hover:bg-gray-600 text-white py-2 px-3 rounded-md text-xs font-medium transition duration-150 ease-in-out">
189
+ <i class="fas fa-code mr-1"></i> SQLi
190
+ </button>
191
+ <button class="bg-gray-700 hover:bg-gray-600 text-white py-2 px-3 rounded-md text-xs font-medium transition duration-150 ease-in-out">
192
+ <i class="fas fa-terminal mr-1"></i> Exploit
193
+ </button>
194
+ </div>
195
+ </div>
196
+
197
+ <!-- Scan Status -->
198
+ <div class="bg-gray-800 p-4 rounded-lg shadow">
199
+ <h3 class="text-lg font-medium mb-4">Scan Status</h3>
200
+ <div class="space-y-4">
201
+ <div>
202
+ <div class="flex justify-between text-sm mb-1">
203
+ <span>Phase 1: Reconnaissance</span>
204
+ <span class="text-green-500"><i class="fas fa-check-circle"></i> Complete</span>
205
+ </div>
206
+ <div class="w-full bg-gray-700 rounded-full h-1.5">
207
+ <div class="bg-green-500 h-1.5 rounded-full" style="width: 100%"></div>
208
+ </div>
209
+ </div>
210
+ <div>
211
+ <div class="flex justify-between text-sm mb-1">
212
+ <span>Phase 2: Scanning</span>
213
+ <span class="text-yellow-500"><i class="fas fa-spinner fa-spin"></i> In Progress</span>
214
+ </div>
215
+ <div class="w-full bg-gray-700 rounded-full h-1.5">
216
+ <div class="bg-yellow-500 h-1.5 rounded-full" style="width: 45%"></div>
217
+ </div>
218
+ </div>
219
+ <div>
220
+ <div class="flex justify-between text-sm mb-1">
221
+ <span>Phase 3: Gaining Access</span>
222
+ <span class="text-gray-400">Pending</span>
223
+ </div>
224
+ <div class="w-full bg-gray-700 rounded-full h-1.5">
225
+ <div class="bg-gray-500 h-1.5 rounded-full" style="width: 0%"></div>
226
+ </div>
227
+ </div>
228
+ <div>
229
+ <div class="flex justify-between text-sm mb-1">
230
+ <span>Phase 4: Maintaining Access</span>
231
+ <span class="text-gray-400">Pending</span>
232
+ </div>
233
+ <div class="w-full bg-gray-700 rounded-full h-1.5">
234
+ <div class="bg-gray-500 h-1.5 rounded-full" style="width: 0%"></div>
235
+ </div>
236
+ </div>
237
+ <div>
238
+ <div class="flex justify-between text-sm mb-1">
239
+ <span>Phase 5: Covering Tracks</span>
240
+ <span class="text-gray-400">Pending</span>
241
+ </div>
242
+ <div class="w-full bg-gray-700 rounded-full h-1.5">
243
+ <div class="bg-gray-500 h-1.5 rounded-full" style="width: 0%"></div>
244
+ </div>
245
+ </div>
246
+ </div>
247
+ </div>
248
+ </div>
249
+
250
+ <!-- Main Panel -->
251
+ <div class="w-full md:w-3/4 space-y-6">
252
+ <!-- Terminal Interface -->
253
+ <div class="bg-gray-800 p-4 rounded-lg shadow">
254
+ <div class="flex justify-between items-center mb-4">
255
+ <h3 class="text-lg font-medium">Terminal Interface</h3>
256
+ <div class="flex space-x-2">
257
+ <button class="bg-gray-700 hover:bg-gray-600 text-white p-1 rounded-md text-xs">
258
+ <i class="fas fa-copy"></i>
259
+ </button>
260
+ <button class="bg-gray-700 hover:bg-gray-600 text-white p-1 rounded-md text-xs">
261
+ <i class="fas fa-expand"></i>
262
+ </button>
263
+ <button class="bg-gray-700 hover:bg-gray-600 text-white p-1 rounded-md text-xs">
264
+ <i class="fas fa-terminal"></i>
265
+ </button>
266
+ </div>
267
+ </div>
268
+ <div class="terminal p-4 text-green-400 text-sm" id="terminal-output">
269
+ <div class="mb-2">IPTF AbuAliAQ June 2025 WebApp v1.0.0</div>
270
+ <div class="mb-2">Initializing modules...</div>
271
+ <div class="mb-2">Loading 300+ pentesting tools...</div>
272
+ <div class="mb-2">[✓] Python tools loaded (127 tools)</div>
273
+ <div class="mb-2">[✓] Perl tools loaded (42 tools)</div>
274
+ <div class="mb-2">[✓] Ruby tools loaded (68 tools)</div>
275
+ <div class="mb-2">[✓] GoLang tools loaded (73 tools)</div>
276
+ <div class="mb-2">Connecting to CVE database...</div>
277
+ <div class="mb-2">[✓] CVE database connected (latest update: 2025-06-15)</div>
278
+ <div class="mb-2">Checking for updates...</div>
279
+ <div class="mb-2">[✓] All tools up to date</div>
280
+ <div class="mb-2">System ready for penetration testing</div>
281
+ <div class="mb-2">Type 'help' for available commands</div>
282
+ <div class="flex items-center">
283
+ <span class="text-green-500 mr-2">root@iptf:~#</span>
284
+ <input type="text" class="terminal-input" id="terminal-input" autofocus>
285
+ </div>
286
+ </div>
287
+ </div>
288
+
289
+ <!-- Visualization Panel -->
290
+ <div class="bg-gray-800 p-4 rounded-lg shadow">
291
+ <div class="flex justify-between items-center mb-4">
292
+ <h3 class="text-lg font-medium">Network Visualization</h3>
293
+ <div class="flex space-x-2">
294
+ <button class="bg-gray-700 hover:bg-gray-600 text-white p-1 rounded-md text-xs">
295
+ <i class="fas fa-sync-alt"></i>
296
+ </button>
297
+ <button class="bg-gray-700 hover:bg-gray-600 text-white p-1 rounded-md text-xs">
298
+ <i class="fas fa-download"></i>
299
+ </button>
300
+ </div>
301
+ </div>
302
+ <div class="visualization-canvas" id="network-visualization">
303
+ <!-- Network nodes will be dynamically added here -->
304
+ </div>
305
+ </div>
306
+
307
+ <!-- Tool Categories -->
308
+ <div class="bg-gray-800 p-4 rounded-lg shadow">
309
+ <h3 class="text-lg font-medium mb-4">Tool Categories</h3>
310
+ <div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4">
311
+ <!-- Reconnaissance -->
312
+ <div class="tool-card bg-gray-700 p-4 rounded-lg shadow transition duration-150 ease-in-out cursor-pointer hover:border-green-500 border border-gray-600">
313
+ <div class="flex items-center mb-2">
314
+ <div class="bg-green-900 text-green-400 p-2 rounded-full mr-3">
315
+ <i class="fas fa-binoculars"></i>
316
+ </div>
317
+ <h4 class="font-medium">Reconnaissance</h4>
318
+ </div>
319
+ <p class="text-xs text-gray-400">45 tools for information gathering</p>
320
+ </div>
321
+
322
+ <!-- Scanning -->
323
+ <div class="tool-card bg-gray-700 p-4 rounded-lg shadow transition duration-150 ease-in-out cursor-pointer hover:border-yellow-500 border border-gray-600">
324
+ <div class="flex items-center mb-2">
325
+ <div class="bg-yellow-900 text-yellow-400 p-2 rounded-full mr-3">
326
+ <i class="fas fa-search"></i>
327
+ </div>
328
+ <h4 class="font-medium">Scanning</h4>
329
+ </div>
330
+ <p class="text-xs text-gray-400">62 tools for network scanning</p>
331
+ </div>
332
+
333
+ <!-- Gaining Access -->
334
+ <div class="tool-card bg-gray-700 p-4 rounded-lg shadow transition duration-150 ease-in-out cursor-pointer hover:border-red-500 border border-gray-600">
335
+ <div class="flex items-center mb-2">
336
+ <div class="bg-red-900 text-red-400 p-2 rounded-full mr-3">
337
+ <i class="fas fa-lock-open"></i>
338
+ </div>
339
+ <h4 class="font-medium">Gaining Access</h4>
340
+ </div>
341
+ <p class="text-xs text-gray-400">78 tools for exploitation</p>
342
+ </div>
343
+
344
+ <!-- Maintaining Access -->
345
+ <div class="tool-card bg-gray-700 p-4 rounded-lg shadow transition duration-150 ease-in-out cursor-pointer hover:border-purple-500 border border-gray-600">
346
+ <div class="flex items-center mb-2">
347
+ <div class="bg-purple-900 text-purple-400 p-2 rounded-full mr-3">
348
+ <i class="fas fa-user-shield"></i>
349
+ </div>
350
+ <h4 class="font-medium">Maintaining Access</h4>
351
+ </div>
352
+ <p class="text-xs text-gray-400">32 tools for persistence</p>
353
+ </div>
354
+
355
+ <!-- Covering Tracks -->
356
+ <div class="tool-card bg-gray-700 p-4 rounded-lg shadow transition duration-150 ease-in-out cursor-pointer hover:border-blue-500 border border-gray-600">
357
+ <div class="flex items-center mb-2">
358
+ <div class="bg-blue-900 text-blue-400 p-2 rounded-full mr-3">
359
+ <i class="fas fa-eraser"></i>
360
+ </div>
361
+ <h4 class="font-medium">Covering Tracks</h4>
362
+ </div>
363
+ <p class="text-xs text-gray-400">28 tools for stealth</p>
364
+ </div>
365
+
366
+ <!-- Reporting -->
367
+ <div class="tool-card bg-gray-700 p-4 rounded-lg shadow transition duration-150 ease-in-out cursor-pointer hover:border-indigo-500 border border-gray-600">
368
+ <div class="flex items-center mb-2">
369
+ <div class="bg-indigo-900 text-indigo-400 p-2 rounded-full mr-3">
370
+ <i class="fas fa-file-alt"></i>
371
+ </div>
372
+ <h4 class="font-medium">Reporting</h4>
373
+ </div>
374
+ <p class="text-xs text-gray-400">15 tools for documentation</p>
375
+ </div>
376
+
377
+ <!-- Web App Testing -->
378
+ <div class="tool-card bg-gray-700 p-4 rounded-lg shadow transition duration-150 ease-in-out cursor-pointer hover:border-pink-500 border border-gray-600">
379
+ <div class="flex items-center mb-2">
380
+ <div class="bg-pink-900 text-pink-400 p-2 rounded-full mr-3">
381
+ <i class="fas fa-globe"></i>
382
+ </div>
383
+ <h4 class="font-medium">Web App Testing</h4>
384
+ </div>
385
+ <p class="text-xs text-gray-400">56 tools for web security</p>
386
+ </div>
387
+
388
+ <!-- Wireless Testing -->
389
+ <div class="tool-card bg-gray-700 p-4 rounded-lg shadow transition duration-150 ease-in-out cursor-pointer hover:border-orange-500 border border-gray-600">
390
+ <div class="flex items-center mb-2">
391
+ <div class="bg-orange-900 text-orange-400 p-2 rounded-full mr-3">
392
+ <i class="fas fa-wifi"></i>
393
+ </div>
394
+ <h4 class="font-medium">Wireless Testing</h4>
395
+ </div>
396
+ <p class="text-xs text-gray-400">34 tools for wireless security</p>
397
+ </div>
398
+ </div>
399
+ </div>
400
+ </div>
401
+ </div>
402
+ </div>
403
+
404
+ <!-- Footer -->
405
+ <footer class="bg-gray-800 mt-12">
406
+ <div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
407
+ <div class="flex flex-col md:flex-row justify-between items-center">
408
+ <div class="flex items-center">
409
+ <span class="text-green-500 font-bold text-lg mr-2">IPTF</span>
410
+ <span class="text-gray-400 text-sm">AbuAliAQ June 2025 WebApp</span>
411
+ </div>
412
+ <div class="mt-4 md:mt-0">
413
+ <span class="text-gray-400 text-sm">Version 1.0.0</span>
414
+ <span class="mx-2 text-gray-600">|</span>
415
+ <span class="text-gray-400 text-sm">Last Update: 2025-06-15</span>
416
+ <span class="mx-2 text-gray-600">|</span>
417
+ <span class="text-gray-400 text-sm">CVE DB: 2025-06-15</span>
418
+ </div>
419
+ </div>
420
+ </div>
421
+ </footer>
422
+
423
+ <script>
424
+ // Terminal functionality
425
+ const terminalInput = document.getElementById('terminal-input');
426
+ const terminalOutput = document.getElementById('terminal-output');
427
+
428
+ terminalInput.addEventListener('keypress', function(e) {
429
+ if (e.key === 'Enter') {
430
+ const command = terminalInput.value.trim();
431
+ terminalInput.value = '';
432
+
433
+ // Add the command to output
434
+ const commandLine = document.createElement('div');
435
+ commandLine.className = 'flex items-center mb-2';
436
+ commandLine.innerHTML = `
437
+ <span class="text-green-500 mr-2">root@iptf:~#</span>
438
+ <span>${command}</span>
439
+ `;
440
+ terminalOutput.appendChild(commandLine);
441
+
442
+ // Process command
443
+ processCommand(command);
444
+
445
+ // Scroll to bottom
446
+ terminalOutput.scrollTop = terminalOutput.scrollHeight;
447
+ }
448
+ });
449
+
450
+ function processCommand(command) {
451
+ let response = '';
452
+
453
+ if (command === 'help') {
454
+ response = `
455
+ <div class="mb-2">Available commands:</div>
456
+ <div class="grid grid-cols-2 gap-2 text-xs mb-2">
457
+ <div><span class="text-green-500">scan</span> - Start a network scan</div>
458
+ <div><span class="text-green-500">exploit</span> - Run exploit modules</div>
459
+ <div><span class="text-green-500">cve-search</span> - Search CVE database</div>
460
+ <div><span class="text-green-500">tools</span> - List available tools</div>
461
+ <div><span class="text-green-500">update</span> - Update all tools</div>
462
+ <div><span class="text-green-500">clear</span> - Clear terminal</div>
463
+ <div><span class="text-green-500">exit</span> - Exit the application</div>
464
+ </div>
465
+ `;
466
+ }
467
+ else if (command === 'scan') {
468
+ response = `
469
+ <div class="mb-2">Starting network scan...</div>
470
+ <div class="mb-2">[+] Scanning target: 192.168.1.1</div>
471
+ <div class="mb-2">[+] Port range: 1-1000</div>
472
+ <div class="mb-2">[+] Using Nmap with aggressive timing</div>
473
+ <div class="mb-2">[+] Discovered open ports:</div>
474
+ <div class="ml-4 mb-2">
475
+ <div>22/tcp open ssh</div>
476
+ <div>80/tcp open http</div>
477
+ <div>443/tcp open https</div>
478
+ <div>8080/tcp open http-proxy</div>
479
+ </div>
480
+ <div class="mb-2">[+] Scan completed in 12.45 seconds</div>
481
+ `;
482
+ simulateNetworkVisualization();
483
+ }
484
+ else if (command === 'exploit') {
485
+ response = `
486
+ <div class="mb-2">Available exploit modules:</div>
487
+ <div class="grid grid-cols-2 gap-2 text-xs mb-2">
488
+ <div><span class="text-green-500">exploit/webapp/wordpress</span> - WordPress vulnerabilities</div>
489
+ <div><span class="text-green-500">exploit/linux/ssh</span> - SSH vulnerabilities</div>
490
+ <div><span class="text-green-500">exploit/windows/smb</span> - SMB vulnerabilities</div>
491
+ <div><span class="text-green-500">exploit/multi/http</span> - HTTP vulnerabilities</div>
492
+ </div>
493
+ <div class="mb-2">Use 'exploit &lt;module&gt;' to run specific exploit</div>
494
+ `;
495
+ }
496
+ else if (command === 'cve-search') {
497
+ response = `
498
+ <div class="mb-2">CVE Database Search (latest: 2025-06-15)</div>
499
+ <div class="mb-2">Usage: cve-search [keyword]</div>
500
+ <div class="mb-2">Example: cve-search apache</div>
501
+ `;
502
+ }
503
+ else if (command === 'tools') {
504
+ response = `
505
+ <div class="mb-2">Available tools (300+):</div>
506
+ <div class="grid grid-cols-2 gap-2 text-xs mb-2">
507
+ <div><span class="text-green-500">nmap</span> - Network scanner</div>
508
+ <div><span class="text-green-500">metasploit</span> - Exploitation framework</div>
509
+ <div><span class="text-green-500">sqlmap</span> - SQL injection tool</div>
510
+ <div><span class="text-green-500">burpsuite</span> - Web app testing</div>
511
+ <div><span class="text-green-500">wireshark</span> - Network analyzer</div>
512
+ <div><span class="text-green-500">john</span> - Password cracker</div>
513
+ <div><span class="text-green-500">aircrack-ng</span> - Wireless testing</div>
514
+ <div><span class="text-green-500">hydra</span> - Login cracker</div>
515
+ </div>
516
+ `;
517
+ }
518
+ else if (command === 'update') {
519
+ response = `
520
+ <div class="mb-2">Starting tool update process...</div>
521
+ <div class="mb-2">[+] Checking for updates...</div>
522
+ <div class="mb-2">[+] Updating Python tools (127 tools)</div>
523
+ <div class="w-full bg-gray-700 rounded-full h-1.5 mb-2">
524
+ <div class="bg-blue-500 h-1.5 rounded-full progress-bar" id="python-progress"></div>
525
+ </div>
526
+ <div class="mb-2">[+] Updating Perl tools (42 tools)</div>
527
+ <div class="w-full bg-gray-700 rounded-full h-1.5 mb-2">
528
+ <div class="bg-blue-500 h-1.5 rounded-full progress-bar" id="perl-progress"></div>
529
+ </div>
530
+ <div class="mb-2">[+] Updating Ruby tools (68 tools)</div>
531
+ <div class="w-full bg-gray-700 rounded-full h-1.5 mb-2">
532
+ <div class="bg-blue-500 h-1.5 rounded-full progress-bar" id="ruby-progress"></div>
533
+ </div>
534
+ <div class="mb-2">[+] Updating GoLang tools (73 tools)</div>
535
+ <div class="w-full bg-gray-700 rounded-full h-1.5 mb-2">
536
+ <div class="bg-blue-500 h-1.5 rounded-full progress-bar" id="go-progress"></div>
537
+ </div>
538
+ <div class="mb-2">[+] Updating CVE database...</div>
539
+ <div class="w-full bg-gray-700 rounded-full h-1.5 mb-2">
540
+ <div class="bg-blue-500 h-1.5 rounded-full progress-bar" id="cve-progress"></div>
541
+ </div>
542
+ <div class="mb-2" id="update-complete">[+] All tools up to date</div>
543
+ `;
544
+
545
+ // Simulate progress bars
546
+ setTimeout(() => {
547
+ document.getElementById('python-progress').style.width = '100%';
548
+ }, 500);
549
+
550
+ setTimeout(() => {
551
+ document.getElementById('perl-progress').style.width = '100%';
552
+ }, 1000);
553
+
554
+ setTimeout(() => {
555
+ document.getElementById('ruby-progress').style.width = '100%';
556
+ }, 1500);
557
+
558
+ setTimeout(() => {
559
+ document.getElementById('go-progress').style.width = '100%';
560
+ }, 2000);
561
+
562
+ setTimeout(() => {
563
+ document.getElementById('cve-progress').style.width = '100%';
564
+ document.getElementById('update-complete').innerHTML = '[✓] All tools and databases successfully updated';
565
+ document.getElementById('update-complete').className = 'mb-2 text-green-500';
566
+ }, 2500);
567
+ }
568
+ else if (command === 'clear') {
569
+ terminalOutput.innerHTML = `
570
+ <div class="mb-2">IPTF AbuAliAQ June 2025 WebApp v1.0.0</div>
571
+ <div class="mb-2">System ready for penetration testing</div>
572
+ <div class="mb-2">Type 'help' for available commands</div>
573
+ <div class="flex items-center">
574
+ <span class="text-green-500 mr-2">root@iptf:~#</span>
575
+ <input type="text" class="terminal-input" id="terminal-input" autofocus>
576
+ </div>
577
+ `;
578
+ terminalInput.focus();
579
+ return;
580
+ }
581
+ else if (command === 'exit') {
582
+ response = `
583
+ <div class="mb-2">Logging out...</div>
584
+ <div class="mb-2">Session terminated</div>
585
+ `;
586
+ setTimeout(() => {
587
+ window.location.href = 'login.html';
588
+ }, 1000);
589
+ }
590
+ else if (command) {
591
+ response = `<div class="mb-2 text-red-500">Command not found: ${command}</div>`;
592
+ }
593
+
594
+ if (response) {
595
+ const responseDiv = document.createElement('div');
596
+ responseDiv.innerHTML = response;
597
+ terminalOutput.appendChild(responseDiv);
598
+
599
+ // Add new input line
600
+ const newInputLine = document.createElement('div');
601
+ newInputLine.className = 'flex items-center';
602
+ newInputLine.innerHTML = `
603
+ <span class="text-green-500 mr-2">root@iptf:~#</span>
604
+ <input type="text" class="terminal-input" id="terminal-input" autofocus>
605
+ `;
606
+ terminalOutput.appendChild(newInputLine);
607
+
608
+ // Focus on new input
609
+ terminalInput.focus();
610
+ }
611
+ }
612
+
613
+ // Network visualization simulation
614
+ function simulateNetworkVisualization() {
615
+ const visualization = document.getElementById('network-visualization');
616
+ visualization.innerHTML = '';
617
+
618
+ // Create nodes
619
+ const nodes = [
620
+ { id: 'gateway', name: 'Gateway', x: 50, y: 50, color: '#4CAF50' },
621
+ { id: 'target', name: 'Target', x: 300, y: 200, color: '#F44336' },
622
+ { id: 'router1', name: 'Router 1', x: 150, y: 150, color: '#2196F3' },
623
+ { id: 'switch1', name: 'Switch 1', x: 250, y: 100, color: '#9C27B0' },
624
+ { id: 'client1', name: 'Client 1', x: 200, y: 250, color: '#FF9800' },
625
+ { id: 'client2', name: 'Client 2', x: 350, y: 150, color: '#FF9800' }
626
+ ];
627
+
628
+ // Create connections
629
+ const connections = [
630
+ { from: 'gateway', to: 'router1' },
631
+ { from: 'router1', to: 'switch1' },
632
+ { from: 'router1', to: 'client1' },
633
+ { from: 'switch1', to: 'target' },
634
+ { from: 'switch1', to: 'client2' }
635
+ ];
636
+
637
+ // Draw connections first (so they appear behind nodes)
638
+ connections.forEach(conn => {
639
+ const fromNode = nodes.find(n => n.id === conn.from);
640
+ const toNode = nodes.find(n => n.id === conn.to);
641
+
642
+ if (fromNode && toNode) {
643
+ const line = document.createElement('div');
644
+ line.className = 'connection';
645
+
646
+ // Calculate line position and length
647
+ const length = Math.sqrt(Math.pow(toNode.x - fromNode.x, 2) + Math.pow(toNode.y - fromNode.y, 2));
648
+ const angle = Math.atan2(toNode.y - fromNode.y, toNode.x - fromNode.x) * 180 / Math.PI;
649
+
650
+ line.style.width = `${length}px`;
651
+ line.style.left = `${fromNode.x}px`;
652
+ line.style.top = `${fromNode.y}px`;
653
+ line.style.transform = `rotate(${angle}deg)`;
654
+
655
+ visualization.appendChild(line);
656
+ }
657
+ });
658
+
659
+ // Draw nodes
660
+ nodes.forEach(node => {
661
+ const nodeDiv = document.createElement('div');
662
+ nodeDiv.className = 'node';
663
+ nodeDiv.style.left = `${node.x - 40}px`;
664
+ nodeDiv.style.top = `${node.y - 40}px`;
665
+ nodeDiv.style.backgroundColor = node.color;
666
+ nodeDiv.innerHTML = `
667
+ <div class="text-center">
668
+ <div class="text-xs">${node.name}</div>
669
+ </div>
670
+ `;
671
+
672
+ visualization.appendChild(nodeDiv);
673
+ });
674
+
675
+ // Add scanning animation to target node
676
+ setTimeout(() => {
677
+ const targetNode = visualization.querySelector('.node:nth-child(6)');
678
+ targetNode.classList.add('scanning');
679
+
680
+ setTimeout(() => {
681
+ targetNode.classList.remove('scanning');
682
+ targetNode.style.boxShadow = '0 0 15px #F44336';
683
+
684
+ // Add vulnerabilities found indicator
685
+ const vulnIndicator = document.createElement('div');
686
+ vulnIndicator.className = 'absolute -top-2 -right-2 bg-red-500 text-white text-xs rounded-full h-6 w-6 flex items-center justify-center';
687
+ vulnIndicator.textContent = '3';
688
+ targetNode.appendChild(vulnIndicator);
689
+ }, 2000);
690
+ }, 500);
691
+ }
692
+
693
+ // Initialize with some network visualization
694
+ setTimeout(() => {
695
+ simulateNetworkVisualization();
696
+ }, 1000);
697
+ </script>
698
+ <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=abuali1973/iptf" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
699
+ </html>