Spaces:
Running
Running
Во-первых объясни как это всё работает во-вторых добавь взаимствование файлов такие как в сессии telegram в формате tdata и discord токены
Browse files- README.md +8 -5
- components/file-browser.js +116 -0
- components/footer.js +88 -0
- components/module-card.js +132 -0
- components/navbar.js +99 -0
- components/terminal.js +90 -0
- dashboard.html +118 -0
- index.html +78 -19
- script.js +60 -0
- style.css +13 -21
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: ShadowThief Prodigy 🕵️♂️
|
| 3 |
+
colorFrom: purple
|
| 4 |
+
colorTo: red
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
components/file-browser.js
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class FileBrowser extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
.file-browser {
|
| 7 |
+
background: rgba(15, 10, 31, 0.7);
|
| 8 |
+
border: 1px solid rgba(110, 64, 201, 0.3);
|
| 9 |
+
border-radius: 0.5rem;
|
| 10 |
+
padding: 1.5rem;
|
| 11 |
+
font-family: 'JetBrains Mono', monospace;
|
| 12 |
+
color: rgba(255, 255, 255, 0.8);
|
| 13 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
| 14 |
+
backdrop-filter: blur(5px);
|
| 15 |
+
max-height: 400px;
|
| 16 |
+
overflow-y: auto;
|
| 17 |
+
}
|
| 18 |
+
.browser-header {
|
| 19 |
+
display: flex;
|
| 20 |
+
justify-content: space-between;
|
| 21 |
+
margin-bottom: 1rem;
|
| 22 |
+
padding-bottom: 0.5rem;
|
| 23 |
+
border-bottom: 1px solid rgba(110, 64, 201, 0.2);
|
| 24 |
+
}
|
| 25 |
+
.browser-title {
|
| 26 |
+
font-weight: bold;
|
| 27 |
+
color: #6e40c9;
|
| 28 |
+
}
|
| 29 |
+
.refresh-btn {
|
| 30 |
+
background: rgba(110, 64, 201, 0.2);
|
| 31 |
+
color: #6e40c9;
|
| 32 |
+
border: none;
|
| 33 |
+
padding: 0.25rem 0.5rem;
|
| 34 |
+
border-radius: 0.25rem;
|
| 35 |
+
cursor: pointer;
|
| 36 |
+
font-size: 0.8rem;
|
| 37 |
+
}
|
| 38 |
+
.file-list {
|
| 39 |
+
list-style: none;
|
| 40 |
+
padding: 0;
|
| 41 |
+
margin: 0;
|
| 42 |
+
}
|
| 43 |
+
.file-item {
|
| 44 |
+
padding: 0.5rem;
|
| 45 |
+
border-radius: 0.25rem;
|
| 46 |
+
display: flex;
|
| 47 |
+
align-items: center;
|
| 48 |
+
gap: 0.5rem;
|
| 49 |
+
margin-bottom: 0.25rem;
|
| 50 |
+
}
|
| 51 |
+
.file-item:hover {
|
| 52 |
+
background: rgba(110, 64, 201, 0.1);
|
| 53 |
+
}
|
| 54 |
+
.file-icon {
|
| 55 |
+
color: #6e40c9;
|
| 56 |
+
}
|
| 57 |
+
.file-name {
|
| 58 |
+
flex-grow: 1;
|
| 59 |
+
}
|
| 60 |
+
.file-path {
|
| 61 |
+
font-size: 0.8rem;
|
| 62 |
+
color: rgba(255, 255, 255, 0.5);
|
| 63 |
+
}
|
| 64 |
+
.download-btn {
|
| 65 |
+
background: transparent;
|
| 66 |
+
border: none;
|
| 67 |
+
color: #6e40c9;
|
| 68 |
+
cursor: pointer;
|
| 69 |
+
}
|
| 70 |
+
</style>
|
| 71 |
+
<div class="file-browser">
|
| 72 |
+
<div class="browser-header">
|
| 73 |
+
<div class="browser-title">File Browser</div>
|
| 74 |
+
<button class="refresh-btn">
|
| 75 |
+
<i data-feather="refresh-cw"></i> Refresh
|
| 76 |
+
</button>
|
| 77 |
+
</div>
|
| 78 |
+
<ul class="file-list">
|
| 79 |
+
<li class="file-item">
|
| 80 |
+
<i data-feather="file-text" class="file-icon"></i>
|
| 81 |
+
<div class="file-name">telegram_session</div>
|
| 82 |
+
<div class="file-path">/home/user/.telegram/tdata</div>
|
| 83 |
+
<button class="download-btn">
|
| 84 |
+
<i data-feather="download"></i>
|
| 85 |
+
</button>
|
| 86 |
+
</li>
|
| 87 |
+
<li class="file-item">
|
| 88 |
+
<i data-feather="file-text" class="file-icon"></i>
|
| 89 |
+
<div class="file-name">discord_tokens</div>
|
| 90 |
+
<div class="file-path">/home/user/.config/discord/Local Storage</div>
|
| 91 |
+
<button class="download-btn">
|
| 92 |
+
<i data-feather="download"></i>
|
| 93 |
+
</button>
|
| 94 |
+
</li>
|
| 95 |
+
<li class="file-item">
|
| 96 |
+
<i data-feather="folder" class="file-icon"></i>
|
| 97 |
+
<div class="file-name">tdata</div>
|
| 98 |
+
<div class="file-path">/home/user/.TelegramDesktop/tdata</div>
|
| 99 |
+
<button class="download-btn">
|
| 100 |
+
<i data-feather="download"></i>
|
| 101 |
+
</button>
|
| 102 |
+
</li>
|
| 103 |
+
<li class="file-item">
|
| 104 |
+
<i data-feather="key" class="file-icon"></i>
|
| 105 |
+
<div class="file-name">discord_token.txt</div>
|
| 106 |
+
<div class="file-path">/home/user/.config/discord/tokens</div>
|
| 107 |
+
<button class="download-btn">
|
| 108 |
+
<i data-feather="download"></i>
|
| 109 |
+
</button>
|
| 110 |
+
</li>
|
| 111 |
+
</ul>
|
| 112 |
+
</div>
|
| 113 |
+
`;
|
| 114 |
+
}
|
| 115 |
+
}
|
| 116 |
+
customElements.define('file-browser', FileBrowser);
|
components/footer.js
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
footer {
|
| 7 |
+
background: rgba(15, 10, 31, 0.8);
|
| 8 |
+
color: rgba(255, 255, 255, 0.6);
|
| 9 |
+
padding: 2rem;
|
| 10 |
+
text-align: center;
|
| 11 |
+
font-family: 'JetBrains Mono', monospace;
|
| 12 |
+
font-size: 0.8rem;
|
| 13 |
+
border-top: 1px solid rgba(110, 64, 201, 0.2);
|
| 14 |
+
}
|
| 15 |
+
.footer-content {
|
| 16 |
+
max-width: 1200px;
|
| 17 |
+
margin: 0 auto;
|
| 18 |
+
display: grid;
|
| 19 |
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
| 20 |
+
gap: 2rem;
|
| 21 |
+
text-align: left;
|
| 22 |
+
}
|
| 23 |
+
.footer-section h3 {
|
| 24 |
+
color: white;
|
| 25 |
+
margin-bottom: 1rem;
|
| 26 |
+
font-size: 1rem;
|
| 27 |
+
}
|
| 28 |
+
.footer-links {
|
| 29 |
+
display: flex;
|
| 30 |
+
flex-direction: column;
|
| 31 |
+
gap: 0.5rem;
|
| 32 |
+
}
|
| 33 |
+
.footer-links a {
|
| 34 |
+
color: rgba(255, 255, 255, 0.6);
|
| 35 |
+
text-decoration: none;
|
| 36 |
+
transition: color 0.2s;
|
| 37 |
+
}
|
| 38 |
+
.footer-links a:hover {
|
| 39 |
+
color: white;
|
| 40 |
+
}
|
| 41 |
+
.copyright {
|
| 42 |
+
margin-top: 2rem;
|
| 43 |
+
padding-top: 1rem;
|
| 44 |
+
border-top: 1px solid rgba(110, 64, 201, 0.1);
|
| 45 |
+
}
|
| 46 |
+
</style>
|
| 47 |
+
<footer>
|
| 48 |
+
<div class="footer-content">
|
| 49 |
+
<div class="footer-section">
|
| 50 |
+
<h3>ShadowStealer</h3>
|
| 51 |
+
<p>Advanced penetration testing toolkit for ethical security professionals.</p>
|
| 52 |
+
</div>
|
| 53 |
+
<div class="footer-section">
|
| 54 |
+
<h3>Modules</h3>
|
| 55 |
+
<div class="footer-links">
|
| 56 |
+
<a href="#">Network Scanner</a>
|
| 57 |
+
<a href="#">Credential Harvester</a>
|
| 58 |
+
<a href="#">Firewall Bypass</a>
|
| 59 |
+
<a href="#">Data Exfiltration</a>
|
| 60 |
+
</div>
|
| 61 |
+
</div>
|
| 62 |
+
<div class="footer-section">
|
| 63 |
+
<h3>Resources</h3>
|
| 64 |
+
<div class="footer-links">
|
| 65 |
+
<a href="#">Documentation</a>
|
| 66 |
+
<a href="#">API Reference</a>
|
| 67 |
+
<a href="#">GitHub</a>
|
| 68 |
+
<a href="#">Blog</a>
|
| 69 |
+
</div>
|
| 70 |
+
</div>
|
| 71 |
+
<div class="footer-section">
|
| 72 |
+
<h3>Legal</h3>
|
| 73 |
+
<div class="footer-links">
|
| 74 |
+
<a href="#">License</a>
|
| 75 |
+
<a href="#">Terms of Service</a>
|
| 76 |
+
<a href="#">Privacy Policy</a>
|
| 77 |
+
<a href="#">Responsible Disclosure</a>
|
| 78 |
+
</div>
|
| 79 |
+
</div>
|
| 80 |
+
</div>
|
| 81 |
+
<div class="copyright">
|
| 82 |
+
© 2023 ShadowStealer. For educational purposes only.
|
| 83 |
+
</div>
|
| 84 |
+
</footer>
|
| 85 |
+
`;
|
| 86 |
+
}
|
| 87 |
+
}
|
| 88 |
+
customElements.define('custom-footer', CustomFooter);
|
components/module-card.js
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class ModuleCard extends HTMLElement {
|
| 2 |
+
static get observedAttributes() {
|
| 3 |
+
return ['title', 'icon', 'description', 'status', 'action'];
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
connectedCallback() {
|
| 7 |
+
this.attachShadow({ mode: 'open' });
|
| 8 |
+
this.render();
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
attributeChangedCallback(name, oldValue, newValue) {
|
| 12 |
+
if (oldValue !== newValue) {
|
| 13 |
+
this.render();
|
| 14 |
+
}
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
render() {
|
| 18 |
+
const title = this.getAttribute('title') || 'Module';
|
| 19 |
+
const icon = this.getAttribute('icon') || 'box';
|
| 20 |
+
const description = this.getAttribute('description') || 'No description provided';
|
| 21 |
+
const status = this.getAttribute('status') || 'inactive';
|
| 22 |
+
const action = this.getAttribute('action') || 'configure';
|
| 23 |
+
|
| 24 |
+
const statusColors = {
|
| 25 |
+
active: 'bg-green-500',
|
| 26 |
+
inactive: 'bg-gray-500',
|
| 27 |
+
ready: 'bg-blue-500',
|
| 28 |
+
error: 'bg-red-500'
|
| 29 |
+
};
|
| 30 |
+
|
| 31 |
+
const actionTexts = {
|
| 32 |
+
configure: 'Configure',
|
| 33 |
+
launch: 'Launch',
|
| 34 |
+
monitor: 'Monitor',
|
| 35 |
+
execute: 'Execute'
|
| 36 |
+
};
|
| 37 |
+
|
| 38 |
+
this.shadowRoot.innerHTML = `
|
| 39 |
+
<style>
|
| 40 |
+
.card {
|
| 41 |
+
background: rgba(15, 10, 31, 0.6);
|
| 42 |
+
border: 1px solid rgba(110, 64, 201, 0.2);
|
| 43 |
+
border-radius: 0.5rem;
|
| 44 |
+
padding: 1.5rem;
|
| 45 |
+
transition: all 0.3s;
|
| 46 |
+
height: 100%;
|
| 47 |
+
display: flex;
|
| 48 |
+
flex-direction: column;
|
| 49 |
+
}
|
| 50 |
+
.card:hover {
|
| 51 |
+
border-color: rgba(110, 64, 201, 0.5);
|
| 52 |
+
transform: translateY(-2px);
|
| 53 |
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
|
| 54 |
+
}
|
| 55 |
+
.card-header {
|
| 56 |
+
display: flex;
|
| 57 |
+
align-items: center;
|
| 58 |
+
gap: 1rem;
|
| 59 |
+
margin-bottom: 1rem;
|
| 60 |
+
}
|
| 61 |
+
.card-icon {
|
| 62 |
+
width: 2.5rem;
|
| 63 |
+
height: 2.5rem;
|
| 64 |
+
border-radius: 50%;
|
| 65 |
+
background: rgba(110, 64, 201, 0.2);
|
| 66 |
+
display: flex;
|
| 67 |
+
align-items: center;
|
| 68 |
+
justify-content: center;
|
| 69 |
+
color: #6e40c9;
|
| 70 |
+
}
|
| 71 |
+
.card-title {
|
| 72 |
+
font-size: 1.1rem;
|
| 73 |
+
font-weight: 600;
|
| 74 |
+
margin: 0;
|
| 75 |
+
}
|
| 76 |
+
.card-description {
|
| 77 |
+
color: rgba(255, 255, 255, 0.6);
|
| 78 |
+
font-size: 0.9rem;
|
| 79 |
+
margin-bottom: 1.5rem;
|
| 80 |
+
flex-grow: 1;
|
| 81 |
+
}
|
| 82 |
+
.card-footer {
|
| 83 |
+
display: flex;
|
| 84 |
+
align-items: center;
|
| 85 |
+
justify-content: space-between;
|
| 86 |
+
}
|
| 87 |
+
.status {
|
| 88 |
+
display: flex;
|
| 89 |
+
align-items: center;
|
| 90 |
+
gap: 0.5rem;
|
| 91 |
+
font-size: 0.8rem;
|
| 92 |
+
}
|
| 93 |
+
.status-dot {
|
| 94 |
+
width: 0.6rem;
|
| 95 |
+
height: 0.6rem;
|
| 96 |
+
border-radius: 50%;
|
| 97 |
+
}
|
| 98 |
+
.action-btn {
|
| 99 |
+
padding: 0.4rem 1rem;
|
| 100 |
+
border-radius: 0.25rem;
|
| 101 |
+
font-size: 0.8rem;
|
| 102 |
+
background: rgba(110, 64, 201, 0.2);
|
| 103 |
+
color: #6e40c9;
|
| 104 |
+
border: none;
|
| 105 |
+
cursor: pointer;
|
| 106 |
+
transition: all 0.2s;
|
| 107 |
+
}
|
| 108 |
+
.action-btn:hover {
|
| 109 |
+
background: rgba(110, 64, 201, 0.4);
|
| 110 |
+
}
|
| 111 |
+
</style>
|
| 112 |
+
<div class="card">
|
| 113 |
+
<div class="card-header">
|
| 114 |
+
<div class="card-icon">
|
| 115 |
+
<i data-feather="${icon}"></i>
|
| 116 |
+
</div>
|
| 117 |
+
<h3 class="card-title">${title}</h3>
|
| 118 |
+
</div>
|
| 119 |
+
<p class="card-description">${description}</p>
|
| 120 |
+
<div class="card-footer">
|
| 121 |
+
<div class="status">
|
| 122 |
+
<div class="status-dot ${statusColors[status]}"></div>
|
| 123 |
+
<span>${status.charAt(0).toUpperCase() + status.slice(1)}</span>
|
| 124 |
+
</div>
|
| 125 |
+
<button class="action-btn">${actionTexts[action]}</button>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
`;
|
| 129 |
+
feather.replace();
|
| 130 |
+
}
|
| 131 |
+
}
|
| 132 |
+
customElements.define('module-card', ModuleCard);
|
components/navbar.js
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
nav {
|
| 7 |
+
background: rgba(15, 10, 31, 0.8);
|
| 8 |
+
backdrop-filter: blur(10px);
|
| 9 |
+
padding: 1rem 2rem;
|
| 10 |
+
display: flex;
|
| 11 |
+
justify-content: space-between;
|
| 12 |
+
align-items: center;
|
| 13 |
+
border-bottom: 1px solid rgba(110, 64, 201, 0.2);
|
| 14 |
+
position: sticky;
|
| 15 |
+
top: 0;
|
| 16 |
+
z-index: 50;
|
| 17 |
+
}
|
| 18 |
+
.logo {
|
| 19 |
+
font-family: 'JetBrains Mono', monospace;
|
| 20 |
+
font-weight: 600;
|
| 21 |
+
font-size: 1.25rem;
|
| 22 |
+
color: white;
|
| 23 |
+
display: flex;
|
| 24 |
+
align-items: center;
|
| 25 |
+
gap: 0.5rem;
|
| 26 |
+
}
|
| 27 |
+
.logo span {
|
| 28 |
+
background: linear-gradient(90deg, #6e40c9, #4a3aff);
|
| 29 |
+
-webkit-background-clip: text;
|
| 30 |
+
background-clip: text;
|
| 31 |
+
color: transparent;
|
| 32 |
+
}
|
| 33 |
+
ul {
|
| 34 |
+
display: flex;
|
| 35 |
+
gap: 1.5rem;
|
| 36 |
+
list-style: none;
|
| 37 |
+
margin: 0;
|
| 38 |
+
padding: 0;
|
| 39 |
+
}
|
| 40 |
+
a {
|
| 41 |
+
color: rgba(255, 255, 255, 0.8);
|
| 42 |
+
text-decoration: none;
|
| 43 |
+
font-family: 'JetBrains Mono', monospace;
|
| 44 |
+
font-weight: 400;
|
| 45 |
+
font-size: 0.9rem;
|
| 46 |
+
transition: all 0.2s;
|
| 47 |
+
position: relative;
|
| 48 |
+
}
|
| 49 |
+
a:hover {
|
| 50 |
+
color: white;
|
| 51 |
+
}
|
| 52 |
+
a::after {
|
| 53 |
+
content: '';
|
| 54 |
+
position: absolute;
|
| 55 |
+
bottom: -4px;
|
| 56 |
+
left: 0;
|
| 57 |
+
width: 0;
|
| 58 |
+
height: 2px;
|
| 59 |
+
background: linear-gradient(90deg, #6e40c9, #4a3aff);
|
| 60 |
+
transition: width 0.3s;
|
| 61 |
+
}
|
| 62 |
+
a:hover::after {
|
| 63 |
+
width: 100%;
|
| 64 |
+
}
|
| 65 |
+
.mobile-menu-btn {
|
| 66 |
+
display: none;
|
| 67 |
+
background: none;
|
| 68 |
+
border: none;
|
| 69 |
+
color: white;
|
| 70 |
+
cursor: pointer;
|
| 71 |
+
}
|
| 72 |
+
@media (max-width: 768px) {
|
| 73 |
+
ul {
|
| 74 |
+
display: none;
|
| 75 |
+
}
|
| 76 |
+
.mobile-menu-btn {
|
| 77 |
+
display: block;
|
| 78 |
+
}
|
| 79 |
+
}
|
| 80 |
+
</style>
|
| 81 |
+
<nav>
|
| 82 |
+
<a href="/" class="logo">
|
| 83 |
+
<i data-feather="activity"></i>
|
| 84 |
+
<span>ShadowStealer</span>
|
| 85 |
+
</a>
|
| 86 |
+
<ul>
|
| 87 |
+
<li><a href="/dashboard.html">Dashboard</a></li>
|
| 88 |
+
<li><a href="/modules.html">Modules</a></li>
|
| 89 |
+
<li><a href="/docs.html">Documentation</a></li>
|
| 90 |
+
<li><a href="/community.html">Community</a></li>
|
| 91 |
+
</ul>
|
| 92 |
+
<button class="mobile-menu-btn">
|
| 93 |
+
<i data-feather="menu"></i>
|
| 94 |
+
</button>
|
| 95 |
+
</nav>
|
| 96 |
+
`;
|
| 97 |
+
}
|
| 98 |
+
}
|
| 99 |
+
customElements.define('custom-navbar', CustomNavbar);
|
components/terminal.js
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomTerminal extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
.terminal {
|
| 7 |
+
background: rgba(15, 10, 31, 0.7);
|
| 8 |
+
border: 1px solid rgba(110, 64, 201, 0.3);
|
| 9 |
+
border-radius: 0.5rem;
|
| 10 |
+
padding: 1.5rem;
|
| 11 |
+
font-family: 'JetBrains Mono', monospace;
|
| 12 |
+
color: rgba(255, 255, 255, 0.8);
|
| 13 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
| 14 |
+
backdrop-filter: blur(5px);
|
| 15 |
+
overflow: hidden;
|
| 16 |
+
}
|
| 17 |
+
.terminal-header {
|
| 18 |
+
display: flex;
|
| 19 |
+
gap: 0.5rem;
|
| 20 |
+
margin-bottom: 1rem;
|
| 21 |
+
}
|
| 22 |
+
.terminal-button {
|
| 23 |
+
width: 12px;
|
| 24 |
+
height: 12px;
|
| 25 |
+
border-radius: 50%;
|
| 26 |
+
}
|
| 27 |
+
.terminal-button:nth-child(1) {
|
| 28 |
+
background: #ff5f56;
|
| 29 |
+
}
|
| 30 |
+
.terminal-button:nth-child(2) {
|
| 31 |
+
background: #ffbd2e;
|
| 32 |
+
}
|
| 33 |
+
.terminal-button:nth-child(3) {
|
| 34 |
+
background: #27c93f;
|
| 35 |
+
}
|
| 36 |
+
.terminal-content {
|
| 37 |
+
font-size: 0.9rem;
|
| 38 |
+
line-height: 1.5;
|
| 39 |
+
}
|
| 40 |
+
.terminal-line {
|
| 41 |
+
margin-bottom: 0.5rem;
|
| 42 |
+
display: flex;
|
| 43 |
+
gap: 0.5rem;
|
| 44 |
+
}
|
| 45 |
+
.terminal-prompt {
|
| 46 |
+
color: #6e40c9;
|
| 47 |
+
font-weight: bold;
|
| 48 |
+
}
|
| 49 |
+
.terminal-command {
|
| 50 |
+
color: rgba(255, 255, 255, 0.9);
|
| 51 |
+
}
|
| 52 |
+
.terminal-response {
|
| 53 |
+
color: rgba(255, 255, 255, 0.6);
|
| 54 |
+
font-style: italic;
|
| 55 |
+
margin-left: 1.5rem;
|
| 56 |
+
margin-bottom: 0.5rem;
|
| 57 |
+
}
|
| 58 |
+
.typewriter {
|
| 59 |
+
min-height: 1em;
|
| 60 |
+
}
|
| 61 |
+
</style>
|
| 62 |
+
<div class="terminal glow">
|
| 63 |
+
<div class="terminal-header">
|
| 64 |
+
<div class="terminal-button"></div>
|
| 65 |
+
<div class="terminal-button"></div>
|
| 66 |
+
<div class="terminal-button"></div>
|
| 67 |
+
</div>
|
| 68 |
+
<div class="terminal-content">
|
| 69 |
+
<div class="terminal-line">
|
| 70 |
+
<span class="terminal-prompt">></span>
|
| 71 |
+
<span class="terminal-command">init shadowstealer --mode=stealth</span>
|
| 72 |
+
</div>
|
| 73 |
+
<div class="terminal-response">Initializing ShadowStealer v2.3.1 in stealth mode...</div>
|
| 74 |
+
|
| 75 |
+
<div class="terminal-line">
|
| 76 |
+
<span class="terminal-prompt">></span>
|
| 77 |
+
<span class="terminal-command">check dependencies</span>
|
| 78 |
+
</div>
|
| 79 |
+
<div class="terminal-response">All 17 dependencies verified [✓]</div>
|
| 80 |
+
|
| 81 |
+
<div class="terminal-line">
|
| 82 |
+
<span class="terminal-prompt">></span>
|
| 83 |
+
<span class="terminal-command typewriter"></span>
|
| 84 |
+
</div>
|
| 85 |
+
</div>
|
| 86 |
+
</div>
|
| 87 |
+
`;
|
| 88 |
+
}
|
| 89 |
+
}
|
| 90 |
+
customElements.define('custom-terminal', CustomTerminal);
|
dashboard.html
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en" class="dark">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Dashboard | ShadowStealer</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="components/navbar.js"></script>
|
| 12 |
+
<script src="components/footer.js"></script>
|
| 13 |
+
<script src="components/module-card.js"></script>
|
| 14 |
+
<script>
|
| 15 |
+
tailwind.config = {
|
| 16 |
+
darkMode: 'class',
|
| 17 |
+
theme: {
|
| 18 |
+
extend: {
|
| 19 |
+
colors: {
|
| 20 |
+
primary: '#6e40c9',
|
| 21 |
+
secondary: '#4a3aff',
|
| 22 |
+
dark: '#0f0a1f'
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
</script>
|
| 28 |
+
</head>
|
| 29 |
+
<body class="bg-dark text-gray-200 min-h-screen flex flex-col">
|
| 30 |
+
<custom-navbar></custom-navbar>
|
| 31 |
+
|
| 32 |
+
<main class="flex-grow container mx-auto px-4 py-8">
|
| 33 |
+
<div class="max-w-7xl mx-auto">
|
| 34 |
+
<div class="mb-8">
|
| 35 |
+
<h1 class="text-3xl font-bold">ShadowStealer Dashboard</h1>
|
| 36 |
+
<p class="text-gray-400">Active session: stealth-mode-42</p>
|
| 37 |
+
</div>
|
| 38 |
+
|
| 39 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 40 |
+
<module-card
|
| 41 |
+
title="Network Scanner"
|
| 42 |
+
icon="globe"
|
| 43 |
+
description="Scan and map network infrastructure with advanced detection"
|
| 44 |
+
status="active"
|
| 45 |
+
action="configure">
|
| 46 |
+
</module-card>
|
| 47 |
+
|
| 48 |
+
<module-card
|
| 49 |
+
title="Credential Harvester"
|
| 50 |
+
icon="key"
|
| 51 |
+
description="Extract and decrypt credentials from various sources"
|
| 52 |
+
status="inactive"
|
| 53 |
+
action="launch">
|
| 54 |
+
</module-card>
|
| 55 |
+
|
| 56 |
+
<module-card
|
| 57 |
+
title="Firewall Bypass"
|
| 58 |
+
icon="shield"
|
| 59 |
+
description="Identify and exploit firewall vulnerabilities"
|
| 60 |
+
status="active"
|
| 61 |
+
action="monitor">
|
| 62 |
+
</module-card>
|
| 63 |
+
|
| 64 |
+
<module-card
|
| 65 |
+
title="Data Exfiltration"
|
| 66 |
+
icon="download"
|
| 67 |
+
description="Silently extract and encrypt target data"
|
| 68 |
+
status="inactive"
|
| 69 |
+
action="configure">
|
| 70 |
+
</module-card>
|
| 71 |
+
|
| 72 |
+
<module-card
|
| 73 |
+
title="Persistence"
|
| 74 |
+
icon="anchor"
|
| 75 |
+
description="Maintain access to compromised systems"
|
| 76 |
+
status="inactive"
|
| 77 |
+
action="configure">
|
| 78 |
+
</module-card>
|
| 79 |
+
|
| 80 |
+
<module-card
|
| 81 |
+
title="Cleanup"
|
| 82 |
+
icon="trash-2"
|
| 83 |
+
description="Remove all traces of activity from target systems"
|
| 84 |
+
status="ready"
|
| 85 |
+
action="execute">
|
| 86 |
+
</module-card>
|
| 87 |
+
</div>
|
| 88 |
+
|
| 89 |
+
<div class="mt-12 grid grid-cols-1 lg:grid-cols-2 gap-6">
|
| 90 |
+
<file-browser></file-browser>
|
| 91 |
+
<div class="bg-dark p-6 rounded-lg border border-primary/20">
|
| 92 |
+
<h2 class="text-xl font-bold mb-4">Session Data Extractor</h2>
|
| 93 |
+
<p class="text-gray-400 mb-4">Extract Telegram tdata and Discord tokens from target systems</p>
|
| 94 |
+
<div class="space-y-4">
|
| 95 |
+
<div>
|
| 96 |
+
<label class="block text-sm font-medium mb-1">Telegram Path</label>
|
| 97 |
+
<input type="text" class="w-full bg-dark border border-primary/20 rounded px-3 py-2"
|
| 98 |
+
value="/home/user/.telegram/tdata" readonly>
|
| 99 |
+
</div>
|
| 100 |
+
<div>
|
| 101 |
+
<label class="block text-sm font-medium mb-1">Discord Path</label>
|
| 102 |
+
<input type="text" class="w-full bg-dark border border-primary/20 rounded px-3 py-2"
|
| 103 |
+
value="/home/user/.config/discord/Local Storage" readonly>
|
| 104 |
+
</div>
|
| 105 |
+
<button class="px-4 py-2 bg-primary hover:bg-primary/80 rounded font-medium">
|
| 106 |
+
Extract Session Data
|
| 107 |
+
</button>
|
| 108 |
+
</div>
|
| 109 |
+
</div>
|
| 110 |
+
</div>
|
| 111 |
+
</div>
|
| 112 |
+
</main>
|
| 113 |
+
<custom-footer></custom-footer>
|
| 114 |
+
<script src="components/file-browser.js"></script>
|
| 115 |
+
<script src="script.js"></script>
|
| 116 |
+
<script>feather.replace();</script>
|
| 117 |
+
</body>
|
| 118 |
+
</html>
|
index.html
CHANGED
|
@@ -1,19 +1,78 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en" class="dark">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>ShadowStealer | Data Extraction Suite</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
|
| 12 |
+
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
|
| 13 |
+
<script src="components/navbar.js"></script>
|
| 14 |
+
<script src="components/footer.js"></script>
|
| 15 |
+
<script src="components/terminal.js"></script>
|
| 16 |
+
<script>
|
| 17 |
+
tailwind.config = {
|
| 18 |
+
darkMode: 'class',
|
| 19 |
+
theme: {
|
| 20 |
+
extend: {
|
| 21 |
+
colors: {
|
| 22 |
+
primary: '#6e40c9',
|
| 23 |
+
secondary: '#4a3aff',
|
| 24 |
+
dark: '#0f0a1f'
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
}
|
| 28 |
+
}
|
| 29 |
+
</script>
|
| 30 |
+
</head>
|
| 31 |
+
<body class="bg-dark text-gray-200 min-h-screen flex flex-col">
|
| 32 |
+
<custom-navbar></custom-navbar>
|
| 33 |
+
|
| 34 |
+
<main class="flex-grow container mx-auto px-4 py-12">
|
| 35 |
+
<div id="vanta-bg" class="absolute top-0 left-0 w-full h-full -z-10"></div>
|
| 36 |
+
|
| 37 |
+
<div class="max-w-6xl mx-auto grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
|
| 38 |
+
<div class="space-y-8">
|
| 39 |
+
<h1 class="text-5xl font-bold bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">
|
| 40 |
+
Shadow<span class="text-white">Stealer</span>
|
| 41 |
+
</h1>
|
| 42 |
+
<p class="text-xl text-gray-300">
|
| 43 |
+
The ultimate toolkit for ethical penetration testing and system auditing.
|
| 44 |
+
<br>Operate in the shadows, leave no traces.
|
| 45 |
+
</p>
|
| 46 |
+
<div class="flex gap-4">
|
| 47 |
+
<a href="/dashboard.html" class="px-6 py-3 bg-primary hover:bg-primary/80 rounded-lg font-medium transition-all">
|
| 48 |
+
Launch Console
|
| 49 |
+
</a>
|
| 50 |
+
<a href="/docs.html" class="px-6 py-3 border border-primary text-primary hover:bg-primary/10 rounded-lg font-medium transition-all">
|
| 51 |
+
Documentation
|
| 52 |
+
</a>
|
| 53 |
+
</div>
|
| 54 |
+
</div>
|
| 55 |
+
|
| 56 |
+
<div class="relative">
|
| 57 |
+
<custom-terminal></custom-terminal>
|
| 58 |
+
</div>
|
| 59 |
+
</div>
|
| 60 |
+
</main>
|
| 61 |
+
|
| 62 |
+
<custom-footer></custom-footer>
|
| 63 |
+
|
| 64 |
+
<script src="script.js"></script>
|
| 65 |
+
<script>
|
| 66 |
+
feather.replace();
|
| 67 |
+
VANTA.NET({
|
| 68 |
+
el: "#vanta-bg",
|
| 69 |
+
color: 0x6e40c9,
|
| 70 |
+
backgroundColor: 0x0f0a1f,
|
| 71 |
+
points: 12,
|
| 72 |
+
maxDistance: 22,
|
| 73 |
+
spacing: 18
|
| 74 |
+
});
|
| 75 |
+
</script>
|
| 76 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 77 |
+
</body>
|
| 78 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 3 |
+
// File browser functionality
|
| 4 |
+
document.addEventListener('click', (e) => {
|
| 5 |
+
if (e.target.closest('.download-btn')) {
|
| 6 |
+
const fileItem = e.target.closest('.file-item');
|
| 7 |
+
const fileName = fileItem.querySelector('.file-name').textContent;
|
| 8 |
+
alert(`Downloading ${fileName}...`);
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
if (e.target.closest('.refresh-btn')) {
|
| 12 |
+
alert('Refreshing file browser...');
|
| 13 |
+
}
|
| 14 |
+
});
|
| 15 |
+
|
| 16 |
+
// Typewriter effect for terminal
|
| 17 |
+
const typewriterElements = document.querySelectorAll('.typewriter');
|
| 18 |
+
if (typewriterElements.length) {
|
| 19 |
+
const commands = [
|
| 20 |
+
'scan network --deep',
|
| 21 |
+
'extract credentials --silent',
|
| 22 |
+
'bypass firewall --stealth',
|
| 23 |
+
'exfiltrate data --encrypted'
|
| 24 |
+
];
|
| 25 |
+
|
| 26 |
+
let currentCommand = 0;
|
| 27 |
+
let currentChar = 0;
|
| 28 |
+
let isDeleting = false;
|
| 29 |
+
|
| 30 |
+
function typeWriter() {
|
| 31 |
+
const element = typewriterElements[0];
|
| 32 |
+
const fullCommand = '> ' + commands[currentCommand];
|
| 33 |
+
|
| 34 |
+
if (isDeleting) {
|
| 35 |
+
element.textContent = fullCommand.substring(0, currentChar - 1);
|
| 36 |
+
currentChar--;
|
| 37 |
+
|
| 38 |
+
if (currentChar === 2) {
|
| 39 |
+
isDeleting = false;
|
| 40 |
+
currentCommand = (currentCommand + 1) % commands.length;
|
| 41 |
+
setTimeout(typeWriter, 500);
|
| 42 |
+
} else {
|
| 43 |
+
setTimeout(typeWriter, 50);
|
| 44 |
+
}
|
| 45 |
+
} else {
|
| 46 |
+
element.textContent = fullCommand.substring(0, currentChar + 1);
|
| 47 |
+
currentChar++;
|
| 48 |
+
|
| 49 |
+
if (currentChar === fullCommand.length) {
|
| 50 |
+
isDeleting = true;
|
| 51 |
+
setTimeout(typeWriter, 1500);
|
| 52 |
+
} else {
|
| 53 |
+
setTimeout(typeWriter, 100);
|
| 54 |
+
}
|
| 55 |
+
}
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
setTimeout(typeWriter, 1000);
|
| 59 |
+
}
|
| 60 |
+
});
|
style.css
CHANGED
|
@@ -1,28 +1,20 @@
|
|
| 1 |
-
|
| 2 |
-
padding: 2rem;
|
| 3 |
-
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 4 |
-
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
.
|
| 27 |
-
|
| 28 |
-
}
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Roboto+Mono:wght@300;400;600&display=swap');
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
+
body {
|
| 4 |
+
font-family: 'Roboto Mono', monospace;
|
| 5 |
+
scroll-behavior: smooth;
|
| 6 |
}
|
| 7 |
|
| 8 |
+
.typewriter {
|
| 9 |
+
border-right: 0.15em solid #6e40c9;
|
| 10 |
+
animation: blink-caret 0.75s step-end infinite;
|
|
|
|
|
|
|
| 11 |
}
|
| 12 |
|
| 13 |
+
@keyframes blink-caret {
|
| 14 |
+
from, to { border-color: transparent }
|
| 15 |
+
50% { border-color: #6e40c9; }
|
|
|
|
|
|
|
|
|
|
| 16 |
}
|
| 17 |
|
| 18 |
+
.glow {
|
| 19 |
+
box-shadow: 0 0 15px rgba(110, 64, 201, 0.5);
|
| 20 |
+
}
|