Spaces:
Running
Running
File size: 7,759 Bytes
51584a9 c38598a 51584a9 12bcf64 c38598a 12bcf64 51584a9 c38598a 51584a9 7318db9 c38598a 12bcf64 7318db9 12bcf64 51584a9 c38598a 3453b9b 12bcf64 c38598a 51584a9 c38598a 7318db9 c38598a 7318db9 c38598a 12bcf64 c38598a 51584a9 12bcf64 3453b9b 12bcf64 c38598a 12bcf64 7318db9 c38598a 51584a9 c38598a 12bcf64 c38598a 12bcf64 c38598a 12bcf64 c38598a 12bcf64 51584a9 c38598a 12bcf64 c38598a 51584a9 c38598a 12bcf64 c38598a 12bcf64 c38598a 51584a9 c38598a 12bcf64 c38598a 12bcf64 c38598a 12bcf64 3453b9b c38598a 3453b9b c38598a 12bcf64 51584a9 c38598a 7318db9 c38598a 12bcf64 c38598a 12bcf64 c38598a 12bcf64 51584a9 c38598a 51584a9 c38598a 12bcf64 3453b9b 51584a9 3453b9b c38598a 51584a9 c38598a 7318db9 c38598a 51584a9 c38598a 12bcf64 3453b9b c38598a 51584a9 c38598a 3453b9b c38598a 7318db9 c38598a 7318db9 c38598a 51584a9 c38598a 51584a9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flipper Zero Code Generator</title>
<style>
:root {
--primary: #00ff9d;
--dark: #1a1a1a;
--light: #f0f0f0;
--accent: #ff003c;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Courier New', monospace;
}
body {
background: var(--dark);
color: var(--light);
line-height: 1.6;
padding: 2rem;
}
.container {
max-width: 1000px;
margin: 0 auto;
}
h1 {
color: var(--primary);
text-align: center;
margin-bottom: 2rem;
text-shadow: 0 0 10px rgba(0,255,157,0.5);
}
.generator {
background: rgba(255,255,255,0.05);
padding: 2rem;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.form-group {
margin-bottom: 1.5rem;
}
label {
display: block;
margin-bottom: 0.5rem;
color: var(--primary);
}
select, input {
width: 100%;
padding: 0.75rem;
background: var(--dark);
border: 1px solid var(--primary);
color: var(--light);
border-radius: 5px;
outline: none;
}
select:focus, input:focus {
box-shadow: 0 0 10px rgba(0,255,157,0.3);
}
button {
background: var(--primary);
color: var(--dark);
padding: 1rem 2rem;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
transition: all 0.3s ease;
margin-top: 1rem;
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0,255,157,0.4);
}
.output {
margin-top: 2rem;
background: rgba(0,0,0,0.3);
padding: 1.5rem;
border-radius: 5px;
position: relative;
}
.code {
font-family: 'Courier New', monospace;
color: var(--primary);
white-space: pre-wrap;
}
.copy-btn {
position: absolute;
top: 10px;
right: 10px;
background: var(--accent);
color: var(--light);
padding: 0.5rem 1rem;
font-size: 0.8rem;
}
.matrix-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.1;
}
@media (max-width: 768px) {
body {
padding: 1rem;
}
}
</style>
</head>
<body>
<canvas class="matrix-bg" id="matrix"></canvas>
<div class="container">
<h1>π Flipper Zero Code Generator</h1>
<div class="generator">
<div class="form-group">
<label>Attack Type</label>
<select id="attackType">
<option value="wifi">WiFi Attack</option>
<option value="rfid">RFID Clone</option>
<option value="subghz">SubGHz Replay</option>
<option value="nfc">NFC Manipulation</option>
</select>
</div>
<div class="form-group">
<label>Target Protocol</label>
<select id="protocol">
<option value="wpa2">WPA2</option>
<option value="wpa3">WPA3</option>
<option value="wps">WPS</option>
<option value="wep">WEP (Legacy)</option>
</select>
</div>
<div class="form-group">
<label>Custom Parameters</label>
<input type="text" id="params" placeholder="Enter custom parameters">
</div>
<button onclick="generateCode()">Generate Code</button>
<div class="output" id="output" style="display: none;">
<button class="copy-btn" onclick="copyCode()">Copy</button>
<pre class="code" id="codeOutput"></pre>
</div>
</div>
</div>
<script>
// Matrix rain effect
const canvas = document.getElementById('matrix');
const ctx = canvas.getContext('2d');
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@#$%^&*';
const fontSize = 14;
const columns = canvas.width/fontSize;
const drops = [];
for(let x = 0; x < columns; x++) {
drops[x] = 1;
}
function drawMatrix() {
ctx.fillStyle = 'rgba(0, 0, 0, 0.05)';
ctx.fillRect(0, 0, canvas.width, canvas.height);
ctx.fillStyle = '#00ff9d';
ctx.font = fontSize + 'px monospace';
for(let i = 0; i < drops.length; i++) {
const text = chars[Math.floor(Math.random() * chars.length)];
ctx.fillText(text, i*fontSize, drops[i]*fontSize);
if(drops[i]*fontSize > canvas.height && Math.random() > 0.975)
drops[i] = 0;
drops[i]++;
}
}
setInterval(drawMatrix, 33);
// Code generation
function generateCode() {
const attackType = document.getElementById('attackType').value;
const protocol = document.getElementById('protocol').value;
const params = document.getElementById('params').value;
const codeTemplates = {
wifi: `Flipper Zero WiFi Attack Script
Protocol: ${protocol}
Parameters: ${params}
sub: ${protocol}_attack
while(true)
wifi_scan()
target_found = find_network("${params}")
if target_found
launch_attack("${protocol}", "${params}")
wait(1000)
end
end
`,
rfid: `Flipper Zero RFID Clone Script
Mode: Read & Emulate
Frequency: 125kHz
sub: clone_card
card_data = scan_rfid()
if card_data
save_data("${params}")
emulate(card_data)
end
`,
subghz: `Flipper Zero SubGHz Script
Frequency: 433.92MHz
Mode: Capture & Replay
sub: capture_signal
while(true)
signal = listen(433.92)
if signal_detected
save_signal("${params}")
replay_signal()
end
end
`,
nfc: `Flipper Zero NFC Script
Mode: Emulation
Type: NTAG215
sub: nfc_routine
card = scan_nfc()
if card
clone_uid("${params}")
emulate_tag()
end
`
};
const output = document.getElementById('output');
const codeOutput = document.getElementById('codeOutput');
output.style.display = 'block';
codeOutput.textContent = codeTemplates[attackType];
}
function copyCode() {
const codeOutput = document.getElementById('codeOutput');
navigator.clipboard.writeText(codeOutput.textContent);
const copyBtn = document.querySelector('.copy-btn');
copyBtn.textContent = 'Copied!';
setTimeout(() => {
copyBtn.textContent = 'Copy';
}, 2000);
}
</script>
</body>
</html> |