Add 3 files
Browse files- README.md +6 -4
- index.html +571 -19
- prompts.txt +0 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: pink
|
| 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: dws2
|
| 3 |
+
emoji: 🐳
|
| 4 |
colorFrom: pink
|
| 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,571 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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=device-width, initial-scale=1.0">
|
| 6 |
+
<title>NeonScraper | Dark Web Explorer</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 |
+
<script>
|
| 10 |
+
tailwind.config = {
|
| 11 |
+
theme: {
|
| 12 |
+
extend: {
|
| 13 |
+
colors: {
|
| 14 |
+
neon: {
|
| 15 |
+
blue: '#00f2ff',
|
| 16 |
+
purple: '#9d00ff',
|
| 17 |
+
pink: '#ff00f2',
|
| 18 |
+
green: '#00ff9d'
|
| 19 |
+
},
|
| 20 |
+
dark: {
|
| 21 |
+
900: '#0a0a0a',
|
| 22 |
+
800: '#1a1a1a',
|
| 23 |
+
700: '#2a2a2a',
|
| 24 |
+
600: '#3a3a3a'
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
fontFamily: {
|
| 28 |
+
'sans': ['Inter', 'ui-sans-serif', 'system-ui'],
|
| 29 |
+
'mono': ['Fira Code', 'ui-monospace', 'SFMono-Regular']
|
| 30 |
+
}
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
}
|
| 34 |
+
</script>
|
| 35 |
+
<style>
|
| 36 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Fira+Code:wght@400;500&display=swap');
|
| 37 |
+
|
| 38 |
+
body {
|
| 39 |
+
background-color: #0a0a0a;
|
| 40 |
+
color: #e5e5e5;
|
| 41 |
+
font-family: 'Inter', sans-serif;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.neon-glow {
|
| 45 |
+
box-shadow: 0 0 10px rgba(157, 0, 255, 0.7),
|
| 46 |
+
0 0 20px rgba(157, 0, 255, 0.5),
|
| 47 |
+
0 0 30px rgba(157, 0, 255, 0.3);
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.neon-text {
|
| 51 |
+
text-shadow: 0 0 5px rgba(157, 0, 255, 0.7),
|
| 52 |
+
0 0 10px rgba(157, 0, 255, 0.5);
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.input-glow:focus {
|
| 56 |
+
box-shadow: 0 0 5px rgba(0, 242, 255, 0.7),
|
| 57 |
+
0 0 10px rgba(0, 242, 255, 0.5);
|
| 58 |
+
border-color: rgba(0, 242, 255, 0.5);
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.tor-status {
|
| 62 |
+
animation: pulse 2s infinite;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
@keyframes pulse {
|
| 66 |
+
0% { opacity: 1; }
|
| 67 |
+
50% { opacity: 0.7; }
|
| 68 |
+
100% { opacity: 1; }
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
.result-card {
|
| 72 |
+
transition: all 0.3s ease;
|
| 73 |
+
border-left: 3px solid transparent;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
.result-card:hover {
|
| 77 |
+
transform: translateY(-2px);
|
| 78 |
+
border-left: 3px solid #9d00ff;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
.loader {
|
| 82 |
+
border: 3px solid rgba(157, 0, 255, 0.3);
|
| 83 |
+
border-top: 3px solid #9d00ff;
|
| 84 |
+
border-radius: 50%;
|
| 85 |
+
animation: spin 1s linear infinite;
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
@keyframes spin {
|
| 89 |
+
0% { transform: rotate(0deg); }
|
| 90 |
+
100% { transform: rotate(360deg); }
|
| 91 |
+
}
|
| 92 |
+
</style>
|
| 93 |
+
</head>
|
| 94 |
+
<body class="min-h-screen bg-dark-900">
|
| 95 |
+
<div class="container mx-auto px-4 py-8 max-w-6xl">
|
| 96 |
+
<!-- Header -->
|
| 97 |
+
<header class="flex items-center justify-between mb-12">
|
| 98 |
+
<div class="flex items-center space-x-3">
|
| 99 |
+
<div class="w-10 h-10 rounded-full bg-gradient-to-br from-neon-blue to-neon-purple flex items-center justify-center neon-glow">
|
| 100 |
+
<i class="fas fa-robot text-white text-xl"></i>
|
| 101 |
+
</div>
|
| 102 |
+
<h1 class="text-2xl font-bold text-white neon-text">Neon<span class="text-neon-purple">Scraper</span></h1>
|
| 103 |
+
</div>
|
| 104 |
+
<div class="flex items-center space-x-4">
|
| 105 |
+
<button id="torCheckBtn" class="px-4 py-2 bg-dark-700 hover:bg-dark-600 rounded-lg flex items-center space-x-2 transition-colors">
|
| 106 |
+
<span class="text-sm font-medium">Check Tor Connection</span>
|
| 107 |
+
<i class="fas fa-shield-alt"></i>
|
| 108 |
+
</button>
|
| 109 |
+
<div id="torStatus" class="hidden px-3 py-1 rounded-full text-xs font-medium flex items-center space-x-1">
|
| 110 |
+
<span class="w-2 h-2 rounded-full"></span>
|
| 111 |
+
<span>Status</span>
|
| 112 |
+
</div>
|
| 113 |
+
</div>
|
| 114 |
+
</header>
|
| 115 |
+
|
| 116 |
+
<!-- Main Content -->
|
| 117 |
+
<main>
|
| 118 |
+
<div class="bg-dark-800 rounded-xl p-6 shadow-lg mb-8 neon-glow">
|
| 119 |
+
<div class="flex flex-col md:flex-row md:items-end justify-between mb-6">
|
| 120 |
+
<div class="mb-4 md:mb-0">
|
| 121 |
+
<h2 class="text-xl font-bold mb-2">Dark Web Explorer</h2>
|
| 122 |
+
<p class="text-gray-400 text-sm">Enter a .onion URL or search term to begin scraping</p>
|
| 123 |
+
</div>
|
| 124 |
+
<div class="flex space-x-3">
|
| 125 |
+
<button id="settingsBtn" class="px-3 py-2 bg-dark-700 hover:bg-dark-600 rounded-lg">
|
| 126 |
+
<i class="fas fa-cog"></i>
|
| 127 |
+
</button>
|
| 128 |
+
<button id="helpBtn" class="px-3 py-2 bg-dark-700 hover:bg-dark-600 rounded-lg">
|
| 129 |
+
<i class="fas fa-question-circle"></i>
|
| 130 |
+
</button>
|
| 131 |
+
</div>
|
| 132 |
+
</div>
|
| 133 |
+
|
| 134 |
+
<div class="relative">
|
| 135 |
+
<div class="flex">
|
| 136 |
+
<input id="searchInput" type="text" placeholder="Enter .onion URL or search term..."
|
| 137 |
+
class="input-glow flex-1 px-4 py-3 bg-dark-700 border border-dark-600 rounded-l-lg focus:outline-none focus:border-neon-blue transition-colors">
|
| 138 |
+
<button id="searchBtn" class="px-6 py-3 bg-gradient-to-r from-neon-purple to-neon-blue text-white font-medium rounded-r-lg hover:opacity-90 transition-opacity">
|
| 139 |
+
<i class="fas fa-search mr-2"></i> Search
|
| 140 |
+
</button>
|
| 141 |
+
</div>
|
| 142 |
+
<div class="mt-2 flex items-center space-x-4 text-xs text-gray-400">
|
| 143 |
+
<div class="flex items-center space-x-1">
|
| 144 |
+
<i class="fas fa-lock"></i>
|
| 145 |
+
<span>End-to-end encrypted</span>
|
| 146 |
+
</div>
|
| 147 |
+
<div class="flex items-center space-x-1">
|
| 148 |
+
<i class="fas fa-user-secret"></i>
|
| 149 |
+
<span>No logs kept</span>
|
| 150 |
+
</div>
|
| 151 |
+
</div>
|
| 152 |
+
</div>
|
| 153 |
+
</div>
|
| 154 |
+
|
| 155 |
+
<!-- Tor Connection Required Warning -->
|
| 156 |
+
<div id="torWarning" class="bg-dark-800 border-l-4 border-neon-purple rounded-lg p-4 mb-8 hidden">
|
| 157 |
+
<div class="flex items-start">
|
| 158 |
+
<div class="flex-shrink-0 pt-1">
|
| 159 |
+
<i class="fas fa-exclamation-triangle text-neon-purple text-xl"></i>
|
| 160 |
+
</div>
|
| 161 |
+
<div class="ml-3">
|
| 162 |
+
<h3 class="text-lg font-medium text-white">Tor Connection Required</h3>
|
| 163 |
+
<div class="mt-2 text-sm text-gray-300">
|
| 164 |
+
<p>You must be connected to the Tor network to use this service. Please check your Tor connection and try again.</p>
|
| 165 |
+
</div>
|
| 166 |
+
<div class="mt-4">
|
| 167 |
+
<a href="https://www.torproject.org/download/" target="_blank" class="inline-flex items-center px-3 py-2 bg-neon-purple/20 border border-neon-purple rounded-md text-sm font-medium text-neon-purple hover:bg-neon-purple/30">
|
| 168 |
+
<i class="fas fa-download mr-2"></i> Download Tor Browser
|
| 169 |
+
</a>
|
| 170 |
+
</div>
|
| 171 |
+
</div>
|
| 172 |
+
</div>
|
| 173 |
+
</div>
|
| 174 |
+
|
| 175 |
+
<!-- Results Section -->
|
| 176 |
+
<div id="resultsSection" class="hidden">
|
| 177 |
+
<div class="flex items-center justify-between mb-4">
|
| 178 |
+
<h3 class="text-lg font-medium">Search Results</h3>
|
| 179 |
+
<div class="text-sm text-gray-400">
|
| 180 |
+
<span id="resultCount">0</span> results found
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
|
| 184 |
+
<div id="resultsContainer" class="space-y-4">
|
| 185 |
+
<!-- Results will be inserted here -->
|
| 186 |
+
</div>
|
| 187 |
+
|
| 188 |
+
<div id="loadingIndicator" class="hidden py-12 flex flex-col items-center justify-center">
|
| 189 |
+
<div class="loader w-10 h-10 mb-4"></div>
|
| 190 |
+
<p class="text-neon-blue">Scraping the dark web...</p>
|
| 191 |
+
<p class="text-xs text-gray-400 mt-2">This may take some time depending on the site</p>
|
| 192 |
+
</div>
|
| 193 |
+
|
| 194 |
+
<div id="noResults" class="hidden py-12 text-center">
|
| 195 |
+
<i class="fas fa-search text-4xl text-gray-500 mb-4"></i>
|
| 196 |
+
<h4 class="text-lg font-medium text-gray-300">No results found</h4>
|
| 197 |
+
<p class="text-gray-500 mt-2">Try a different search term or URL</p>
|
| 198 |
+
</div>
|
| 199 |
+
</div>
|
| 200 |
+
|
| 201 |
+
<!-- Sample Result (hidden by default) -->
|
| 202 |
+
<div id="sampleResult" class="hidden">
|
| 203 |
+
<div class="result-card bg-dark-800 rounded-lg p-4 hover:bg-dark-700 transition-colors">
|
| 204 |
+
<div class="flex items-start justify-between">
|
| 205 |
+
<div>
|
| 206 |
+
<h4 class="font-medium text-white mb-1">Example Result</h4>
|
| 207 |
+
<p class="text-xs text-neon-blue mb-2">http://example.onion</p>
|
| 208 |
+
<p class="text-sm text-gray-300 line-clamp-2">This is an example result that would show a preview of the scraped content from the dark web. The actual content would be replaced with real data when scraping occurs.</p>
|
| 209 |
+
</div>
|
| 210 |
+
<div class="flex space-x-2">
|
| 211 |
+
<button class="p-1 text-gray-400 hover:text-neon-blue">
|
| 212 |
+
<i class="fas fa-external-link-alt"></i>
|
| 213 |
+
</button>
|
| 214 |
+
<button class="p-1 text-gray-400 hover:text-neon-purple">
|
| 215 |
+
<i class="fas fa-bookmark"></i>
|
| 216 |
+
</button>
|
| 217 |
+
</div>
|
| 218 |
+
</div>
|
| 219 |
+
<div class="mt-3 pt-2 border-t border-dark-700 flex items-center justify-between">
|
| 220 |
+
<div class="flex space-x-3 text-xs text-gray-400">
|
| 221 |
+
<span class="flex items-center space-x-1">
|
| 222 |
+
<i class="fas fa-calendar-alt"></i>
|
| 223 |
+
<span>2023-07-15</span>
|
| 224 |
+
</span>
|
| 225 |
+
<span class="flex items-center space-x-1">
|
| 226 |
+
<i class="fas fa-tag"></i>
|
| 227 |
+
<span>Marketplace</span>
|
| 228 |
+
</span>
|
| 229 |
+
</div>
|
| 230 |
+
<div class="text-xs text-neon-green">
|
| 231 |
+
<span class="px-2 py-1 bg-neon-green/10 rounded">Verified</span>
|
| 232 |
+
</div>
|
| 233 |
+
</div>
|
| 234 |
+
</div>
|
| 235 |
+
</div>
|
| 236 |
+
</main>
|
| 237 |
+
|
| 238 |
+
<!-- Footer -->
|
| 239 |
+
<footer class="mt-16 pt-8 border-t border-dark-700 text-center text-gray-500 text-sm">
|
| 240 |
+
<div class="flex flex-col md:flex-row justify-center items-center space-y-2 md:space-y-0 md:space-x-6">
|
| 241 |
+
<a href="#" class="hover:text-neon-purple transition-colors">Terms of Service</a>
|
| 242 |
+
<a href="#" class="hover:text-neon-purple transition-colors">Privacy Policy</a>
|
| 243 |
+
<a href="#" class="hover:text-neon-purple transition-colors">Disclaimer</a>
|
| 244 |
+
<a href="#" class="hover:text-neon-purple transition-colors">Contact</a>
|
| 245 |
+
</div>
|
| 246 |
+
<p class="mt-4">© 2023 NeonScraper. All rights reserved.</p>
|
| 247 |
+
<p class="mt-2 text-xs text-gray-600">This is a demonstration only. Use responsibly and legally.</p>
|
| 248 |
+
</footer>
|
| 249 |
+
</div>
|
| 250 |
+
|
| 251 |
+
<!-- Settings Modal -->
|
| 252 |
+
<div id="settingsModal" class="fixed inset-0 bg-black bg-opacity-70 flex items-center justify-center z-50 hidden">
|
| 253 |
+
<div class="bg-dark-800 rounded-xl p-6 w-full max-w-md neon-glow">
|
| 254 |
+
<div class="flex items-center justify-between mb-6">
|
| 255 |
+
<h3 class="text-xl font-bold">Settings</h3>
|
| 256 |
+
<button id="closeSettingsBtn" class="text-gray-400 hover:text-white">
|
| 257 |
+
<i class="fas fa-times"></i>
|
| 258 |
+
</button>
|
| 259 |
+
</div>
|
| 260 |
+
|
| 261 |
+
<div class="space-y-6">
|
| 262 |
+
<div>
|
| 263 |
+
<h4 class="font-medium mb-3">Scraping Options</h4>
|
| 264 |
+
<div class="space-y-3">
|
| 265 |
+
<label class="flex items-center space-x-3">
|
| 266 |
+
<input type="checkbox" class="form-checkbox rounded bg-dark-700 border-dark-600 text-neon-purple">
|
| 267 |
+
<span>Enable JavaScript rendering</span>
|
| 268 |
+
</label>
|
| 269 |
+
<label class="flex items-center space-x-3">
|
| 270 |
+
<input type="checkbox" class="form-checkbox rounded bg-dark-700 border-dark-600 text-neon-purple" checked>
|
| 271 |
+
<span>Follow redirects</span>
|
| 272 |
+
</label>
|
| 273 |
+
<label class="flex items-center space-x-3">
|
| 274 |
+
<input type="checkbox" class="form-checkbox rounded bg-dark-700 border-dark-600 text-neon-purple">
|
| 275 |
+
<span>Download media files</span>
|
| 276 |
+
</label>
|
| 277 |
+
</div>
|
| 278 |
+
</div>
|
| 279 |
+
|
| 280 |
+
<div>
|
| 281 |
+
<h4 class="font-medium mb-3">Privacy Options</h4>
|
| 282 |
+
<div class="space-y-3">
|
| 283 |
+
<label class="flex items-center space-x-3">
|
| 284 |
+
<input type="checkbox" class="form-checkbox rounded bg-dark-700 border-dark-600 text-neon-purple" checked>
|
| 285 |
+
<span>Clear search history on exit</span>
|
| 286 |
+
</label>
|
| 287 |
+
<label class="flex items-center space-x-3">
|
| 288 |
+
<input type="checkbox" class="form-checkbox rounded bg-dark-700 border-dark-600 text-neon-purple">
|
| 289 |
+
<span>Use random user agents</span>
|
| 290 |
+
</label>
|
| 291 |
+
</div>
|
| 292 |
+
</div>
|
| 293 |
+
|
| 294 |
+
<div>
|
| 295 |
+
<h4 class="font-medium mb-2">Tor Proxy Settings</h4>
|
| 296 |
+
<div class="space-y-2">
|
| 297 |
+
<div>
|
| 298 |
+
<label class="block text-sm text-gray-400 mb-1">Host</label>
|
| 299 |
+
<input type="text" value="127.0.0.1" class="w-full px-3 py-2 bg-dark-700 border border-dark-600 rounded focus:outline-none focus:border-neon-blue">
|
| 300 |
+
</div>
|
| 301 |
+
<div>
|
| 302 |
+
<label class="block text-sm text-gray-400 mb-1">Port</label>
|
| 303 |
+
<input type="text" value="9050" class="w-full px-3 py-2 bg-dark-700 border border-dark-600 rounded focus:outline-none focus:border-neon-blue">
|
| 304 |
+
</div>
|
| 305 |
+
</div>
|
| 306 |
+
</div>
|
| 307 |
+
</div>
|
| 308 |
+
|
| 309 |
+
<div class="mt-8 flex justify-end space-x-3">
|
| 310 |
+
<button id="cancelSettingsBtn" class="px-4 py-2 bg-dark-700 hover:bg-dark-600 rounded-lg">
|
| 311 |
+
Cancel
|
| 312 |
+
</button>
|
| 313 |
+
<button id="saveSettingsBtn" class="px-4 py-2 bg-neon-purple hover:bg-neon-purple/90 rounded-lg">
|
| 314 |
+
Save Settings
|
| 315 |
+
</button>
|
| 316 |
+
</div>
|
| 317 |
+
</div>
|
| 318 |
+
</div>
|
| 319 |
+
|
| 320 |
+
<!-- Help Modal -->
|
| 321 |
+
<div id="helpModal" class="fixed inset-0 bg-black bg-opacity-70 flex items-center justify-center z-50 hidden">
|
| 322 |
+
<div class="bg-dark-800 rounded-xl p-6 w-full max-w-2xl neon-glow">
|
| 323 |
+
<div class="flex items-center justify-between mb-6">
|
| 324 |
+
<h3 class="text-xl font-bold">Help & Information</h3>
|
| 325 |
+
<button id="closeHelpBtn" class="text-gray-400 hover:text-white">
|
| 326 |
+
<i class="fas fa-times"></i>
|
| 327 |
+
</button>
|
| 328 |
+
</div>
|
| 329 |
+
|
| 330 |
+
<div class="space-y-6">
|
| 331 |
+
<div>
|
| 332 |
+
<h4 class="font-medium mb-3 text-neon-blue">Getting Started</h4>
|
| 333 |
+
<p class="text-gray-300 mb-3">NeonScraper allows you to safely explore and scrape content from the dark web through the Tor network.</p>
|
| 334 |
+
<ol class="list-decimal list-inside space-y-2 text-gray-300">
|
| 335 |
+
<li>Ensure you're connected to Tor (check status in top right)</li>
|
| 336 |
+
<li>Enter a .onion URL or search term in the input field</li>
|
| 337 |
+
<li>Click "Search" to begin scraping</li>
|
| 338 |
+
<li>View results and interact with them as needed</li>
|
| 339 |
+
</ol>
|
| 340 |
+
</div>
|
| 341 |
+
|
| 342 |
+
<div>
|
| 343 |
+
<h4 class="font-medium mb-3 text-neon-blue">Safety Guidelines</h4>
|
| 344 |
+
<ul class="list-disc list-inside space-y-2 text-gray-300">
|
| 345 |
+
<li>Never enter personal information</li>
|
| 346 |
+
<li>Don't download files unless you trust the source</li>
|
| 347 |
+
<li>Be aware that some sites may contain illegal content</li>
|
| 348 |
+
<li>Use VPN for additional anonymity if desired</li>
|
| 349 |
+
<li>This tool is for research purposes only</li>
|
| 350 |
+
</ul>
|
| 351 |
+
</div>
|
| 352 |
+
|
| 353 |
+
<div>
|
| 354 |
+
<h4 class="font-medium mb-3 text-neon-blue">Frequently Asked Questions</h4>
|
| 355 |
+
<div class="space-y-4">
|
| 356 |
+
<div>
|
| 357 |
+
<h5 class="font-medium text-gray-300">Why do I need Tor?</h5>
|
| 358 |
+
<p class="text-gray-400 text-sm mt-1">Tor is required to access .onion sites which are only available on the dark web. It also provides anonymity for your searches.</p>
|
| 359 |
+
</div>
|
| 360 |
+
<div>
|
| 361 |
+
<h5 class="font-medium text-gray-300">Is this legal?</h5>
|
| 362 |
+
<p class="text-gray-400 text-sm mt-1">Accessing the dark web itself is legal in most countries, but the legality depends on what you do with it. Always comply with local laws.</p>
|
| 363 |
+
</div>
|
| 364 |
+
<div>
|
| 365 |
+
<h5 class="font-medium text-gray-300">How are results verified?</h5>
|
| 366 |
+
<p class="text-gray-400 text-sm mt-1">Verified results come from known, reputable sources that have been vetted by our community.</p>
|
| 367 |
+
</div>
|
| 368 |
+
</div>
|
| 369 |
+
</div>
|
| 370 |
+
</div>
|
| 371 |
+
|
| 372 |
+
<div class="mt-8 flex justify-end">
|
| 373 |
+
<button id="closeHelpBtn2" class="px-4 py-2 bg-neon-purple hover:bg-neon-purple/90 rounded-lg">
|
| 374 |
+
Got it!
|
| 375 |
+
</button>
|
| 376 |
+
</div>
|
| 377 |
+
</div>
|
| 378 |
+
</div>
|
| 379 |
+
|
| 380 |
+
<script>
|
| 381 |
+
// DOM Elements
|
| 382 |
+
const torCheckBtn = document.getElementById('torCheckBtn');
|
| 383 |
+
const torStatus = document.getElementById('torStatus');
|
| 384 |
+
const torWarning = document.getElementById('torWarning');
|
| 385 |
+
const searchBtn = document.getElementById('searchBtn');
|
| 386 |
+
const searchInput = document.getElementById('searchInput');
|
| 387 |
+
const resultsSection = document.getElementById('resultsSection');
|
| 388 |
+
const resultsContainer = document.getElementById('resultsContainer');
|
| 389 |
+
const loadingIndicator = document.getElementById('loadingIndicator');
|
| 390 |
+
const noResults = document.getElementById('noResults');
|
| 391 |
+
const resultCount = document.getElementById('resultCount');
|
| 392 |
+
const settingsBtn = document.getElementById('settingsBtn');
|
| 393 |
+
const helpBtn = document.getElementById('helpBtn');
|
| 394 |
+
const settingsModal = document.getElementById('settingsModal');
|
| 395 |
+
const helpModal = document.getElementById('helpModal');
|
| 396 |
+
const closeSettingsBtn = document.getElementById('closeSettingsBtn');
|
| 397 |
+
const closeHelpBtn = document.getElementById('closeHelpBtn');
|
| 398 |
+
const closeHelpBtn2 = document.getElementById('closeHelpBtn2');
|
| 399 |
+
const cancelSettingsBtn = document.getElementById('cancelSettingsBtn');
|
| 400 |
+
const saveSettingsBtn = document.getElementById('saveSettingsBtn');
|
| 401 |
+
|
| 402 |
+
// State
|
| 403 |
+
let isTorConnected = false;
|
| 404 |
+
let searchInProgress = false;
|
| 405 |
+
|
| 406 |
+
// Event Listeners
|
| 407 |
+
torCheckBtn.addEventListener('click', checkTorConnection);
|
| 408 |
+
searchBtn.addEventListener('click', startSearch);
|
| 409 |
+
searchInput.addEventListener('keypress', function(e) {
|
| 410 |
+
if (e.key === 'Enter') startSearch();
|
| 411 |
+
});
|
| 412 |
+
settingsBtn.addEventListener('click', () => settingsModal.classList.remove('hidden'));
|
| 413 |
+
helpBtn.addEventListener('click', () => helpModal.classList.remove('hidden'));
|
| 414 |
+
closeSettingsBtn.addEventListener('click', () => settingsModal.classList.add('hidden'));
|
| 415 |
+
closeHelpBtn.addEventListener('click', () => helpModal.classList.add('hidden'));
|
| 416 |
+
closeHelpBtn2.addEventListener('click', () => helpModal.classList.add('hidden'));
|
| 417 |
+
cancelSettingsBtn.addEventListener('click', () => settingsModal.classList.add('hidden'));
|
| 418 |
+
saveSettingsBtn.addEventListener('click', () => {
|
| 419 |
+
settingsModal.classList.add('hidden');
|
| 420 |
+
// In a real app, you would save settings here
|
| 421 |
+
});
|
| 422 |
+
|
| 423 |
+
// Functions
|
| 424 |
+
function checkTorConnection() {
|
| 425 |
+
// In a real app, this would make an API call to check Tor status
|
| 426 |
+
// For demo purposes, we'll simulate it with a random result
|
| 427 |
+
|
| 428 |
+
torCheckBtn.disabled = true;
|
| 429 |
+
torCheckBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Checking...';
|
| 430 |
+
|
| 431 |
+
// Simulate network delay
|
| 432 |
+
setTimeout(() => {
|
| 433 |
+
// Randomly determine if Tor is connected (70% chance for demo)
|
| 434 |
+
isTorConnected = Math.random() > 0.3;
|
| 435 |
+
|
| 436 |
+
if (isTorConnected) {
|
| 437 |
+
torStatus.className = 'px-3 py-1 rounded-full text-xs font-medium flex items-center space-x-1 bg-neon-green/20 text-neon-green';
|
| 438 |
+
torStatus.innerHTML = '<span class="w-2 h-2 rounded-full bg-neon-green"></span><span>Tor Connected</span>';
|
| 439 |
+
torWarning.classList.add('hidden');
|
| 440 |
+
} else {
|
| 441 |
+
torStatus.className = 'px-3 py-1 rounded-full text-xs font-medium flex items-center space-x-1 bg-red-500/20 text-red-500';
|
| 442 |
+
torStatus.innerHTML = '<span class="w-2 h-2 rounded-full bg-red-500"></span><span>Tor Disconnected</span>';
|
| 443 |
+
torWarning.classList.remove('hidden');
|
| 444 |
+
}
|
| 445 |
+
|
| 446 |
+
torStatus.classList.remove('hidden');
|
| 447 |
+
torCheckBtn.disabled = false;
|
| 448 |
+
torCheckBtn.innerHTML = '<span class="text-sm font-medium">Check Tor Connection</span><i class="fas fa-shield-alt ml-2"></i>';
|
| 449 |
+
}, 1500);
|
| 450 |
+
}
|
| 451 |
+
|
| 452 |
+
function startSearch() {
|
| 453 |
+
if (searchInProgress) return;
|
| 454 |
+
|
| 455 |
+
if (!isTorConnected) {
|
| 456 |
+
torWarning.classList.remove('hidden');
|
| 457 |
+
return;
|
| 458 |
+
}
|
| 459 |
+
|
| 460 |
+
const query = searchInput.value.trim();
|
| 461 |
+
if (!query) return;
|
| 462 |
+
|
| 463 |
+
// Show loading state
|
| 464 |
+
searchInProgress = true;
|
| 465 |
+
resultsSection.classList.remove('hidden');
|
| 466 |
+
loadingIndicator.classList.remove('hidden');
|
| 467 |
+
noResults.classList.add('hidden');
|
| 468 |
+
resultsContainer.innerHTML = '';
|
| 469 |
+
resultCount.textContent = '0';
|
| 470 |
+
searchBtn.disabled = true;
|
| 471 |
+
searchBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Searching';
|
| 472 |
+
|
| 473 |
+
// Simulate scraping delay
|
| 474 |
+
setTimeout(() => {
|
| 475 |
+
// Generate random number of results (0-15)
|
| 476 |
+
const resultCountNum = Math.floor(Math.random() * 16);
|
| 477 |
+
resultCount.textContent = resultCountNum;
|
| 478 |
+
|
| 479 |
+
if (resultCountNum === 0) {
|
| 480 |
+
noResults.classList.remove('hidden');
|
| 481 |
+
} else {
|
| 482 |
+
// Add sample results
|
| 483 |
+
for (let i = 0; i < resultCountNum; i++) {
|
| 484 |
+
const result = document.createElement('div');
|
| 485 |
+
result.className = 'result-card bg-dark-800 rounded-lg p-4 hover:bg-dark-700 transition-colors';
|
| 486 |
+
result.innerHTML = `
|
| 487 |
+
<div class="flex items-start justify-between">
|
| 488 |
+
<div>
|
| 489 |
+
<h4 class="font-medium text-white mb-1">${generateRandomTitle()}</h4>
|
| 490 |
+
<p class="text-xs text-neon-blue mb-2">${generateRandomOnionUrl()}</p>
|
| 491 |
+
<p class="text-sm text-gray-300 line-clamp-2">${generateRandomContent()}</p>
|
| 492 |
+
</div>
|
| 493 |
+
<div class="flex space-x-2">
|
| 494 |
+
<button class="p-1 text-gray-400 hover:text-neon-blue">
|
| 495 |
+
<i class="fas fa-external-link-alt"></i>
|
| 496 |
+
</button>
|
| 497 |
+
<button class="p-1 text-gray-400 hover:text-neon-purple">
|
| 498 |
+
<i class="fas fa-bookmark"></i>
|
| 499 |
+
</button>
|
| 500 |
+
</div>
|
| 501 |
+
</div>
|
| 502 |
+
<div class="mt-3 pt-2 border-t border-dark-700 flex items-center justify-between">
|
| 503 |
+
<div class="flex space-x-3 text-xs text-gray-400">
|
| 504 |
+
<span class="flex items-center space-x-1">
|
| 505 |
+
<i class="fas fa-calendar-alt"></i>
|
| 506 |
+
<span>${getRandomDate()}</span>
|
| 507 |
+
</span>
|
| 508 |
+
<span class="flex items-center space-x-1">
|
| 509 |
+
<i class="fas fa-tag"></i>
|
| 510 |
+
<span>${getRandomTag()}</span>
|
| 511 |
+
</span>
|
| 512 |
+
</div>
|
| 513 |
+
${Math.random() > 0.7 ? '<div class="text-xs text-neon-green"><span class="px-2 py-1 bg-neon-green/10 rounded">Verified</span></div>' : ''}
|
| 514 |
+
</div>
|
| 515 |
+
`;
|
| 516 |
+
resultsContainer.appendChild(result);
|
| 517 |
+
}
|
| 518 |
+
}
|
| 519 |
+
|
| 520 |
+
loadingIndicator.classList.add('hidden');
|
| 521 |
+
searchInProgress = false;
|
| 522 |
+
searchBtn.disabled = false;
|
| 523 |
+
searchBtn.innerHTML = '<i class="fas fa-search mr-2"></i> Search';
|
| 524 |
+
}, 3000);
|
| 525 |
+
}
|
| 526 |
+
|
| 527 |
+
// Helper functions for demo data
|
| 528 |
+
function generateRandomTitle() {
|
| 529 |
+
const prefixes = ['Dark', 'Hidden', 'Secret', 'Private', 'Anonymous', 'Secure'];
|
| 530 |
+
const nouns = ['Market', 'Forum', 'Library', 'Archive', 'Hub', 'Network', 'Service'];
|
| 531 |
+
return `${prefixes[Math.floor(Math.random() * prefixes.length)]} ${nouns[Math.floor(Math.random() * nouns.length)]}`;
|
| 532 |
+
}
|
| 533 |
+
|
| 534 |
+
function generateRandomOnionUrl() {
|
| 535 |
+
const chars = 'abcdefghijklmnopqrstuvwxyz234567';
|
| 536 |
+
let url = 'http://';
|
| 537 |
+
for (let i = 0; i < 16; i++) {
|
| 538 |
+
url += chars[Math.floor(Math.random() * chars.length)];
|
| 539 |
+
}
|
| 540 |
+
return url + '.onion';
|
| 541 |
+
}
|
| 542 |
+
|
| 543 |
+
function generateRandomContent() {
|
| 544 |
+
const sentences = [
|
| 545 |
+
"This is a sample result from the dark web. The content would vary depending on the site being scraped.",
|
| 546 |
+
"Marketplace offering various goods and services. Use with caution and verify all transactions.",
|
| 547 |
+
"Discussion forum covering topics from technology to privacy and security.",
|
| 548 |
+
"Archive of documents and information not available on the regular internet.",
|
| 549 |
+
"Service providing anonymous communication channels for secure messaging.",
|
| 550 |
+
"Repository of tools and resources for maintaining online privacy and anonymity."
|
| 551 |
+
];
|
| 552 |
+
return sentences[Math.floor(Math.random() * sentences.length)];
|
| 553 |
+
}
|
| 554 |
+
|
| 555 |
+
function getRandomDate() {
|
| 556 |
+
const start = new Date(2022, 0, 1);
|
| 557 |
+
const end = new Date();
|
| 558 |
+
const date = new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime()));
|
| 559 |
+
return date.toISOString().split('T')[0];
|
| 560 |
+
}
|
| 561 |
+
|
| 562 |
+
function getRandomTag() {
|
| 563 |
+
const tags = ['Marketplace', 'Forum', 'Library', 'Service', 'Blog', 'News'];
|
| 564 |
+
return tags[Math.floor(Math.random() * tags.length)];
|
| 565 |
+
}
|
| 566 |
+
|
| 567 |
+
// Initialize with Tor check
|
| 568 |
+
checkTorConnection();
|
| 569 |
+
</script>
|
| 570 |
+
<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=flitrx/dws2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 571 |
+
</html>
|
prompts.txt
ADDED
|
File without changes
|