Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 132,630 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,069 people online right now. Registration is fast and FREE... Join Now!




Decode?

2 Pages V  1 2 >  
Reply to this topicStart new topic

Decode?

Swap_PHP
post 22 Dec, 2005 - 02:08 PM
Post #1


New D.I.C Head

*
Joined: 20 Dec, 2005
Posts: 8


My Contributions


CODE
eval(gzinflate(base64_decode('
DZZFruUIFkS3UrPKlAdmUnV1ysz4zJOWmfkZV99/BXGlODo3/vz3P3/+Ks90+FW/7VQN6bf8laV7SWD/K8p8Lspff/NFDPN7qDAO766Ep2/ DE39iKRiTqXClBDRoe9nhPD5DHQAOAATBRS7CiJcpFB2BubGIGaTG5+SsG0yCyEiqSLbBHhqqKelzrzx
IRrSnVH5QRxzUz1sM+puQL2XYfeF5eSkZumA5YsTGet3IKZPWTLazpL2Yp7yKAISM+8zT0UzY200bDBb
lHfd1hpcDhNOm97198U8/Maf6grmhpRHIpO6Damrmy/XclhPEWxo6eDD6HeP5ALYRNnHrEeEVRio8U+Fmvuu2U171MWdi/uoXSJXGNDWOc1Nb2R5mE85r2GpOlKXRpaqjNrAWmQkfokO/ZySGjlWQ8azG0GiwwBTaYs6NOUKWs3VLLpMmvoCQdHowKWKdsw7jWvpdZinzNjgSv/AaAdSOdS5pBGAPoKfx8fSPFjN+Ou9XokaKG7HBp/ 65d9WLngqa2i3i+TH07aYWUaCbtCoEFj0GE6hof9Lg5o5OpOIu6IDwuO0MPK2GixAox6wTbbQcg7OfRc
alHeU3wplz/OL12PlwyJiMdBVomg4e49N5UK2Y/ARwrLyWzbHLgS5DcppMgrJpNww5E617ecUiD516eOJzXQd+R1Hzh1KN2AuOhU/9nnsHFbsnjG4TdBeXKKH2jmnSOq1LLkpz6H0zO6mdJhA+bUnqZ8ouctgHdSl/OznNDYWfautt/ qIgVM+IAMtuMzouFg6KYjysie1yx6S+4d+cfkTqbKx2Q2BEHtvzDnuL0j+R2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DJdEDyuUZ7D1HMGGxatzC2R3axGSKFTaE5RAuFBGJQkyL0UWkvclAwFD
nBspwRKU2zBSxj8JSEu2wpkmUZMjC0ev4A6pXDG3gfpVPKYFL5XK87jY5IoIdevAt4q49QG/CsfbR272I5re4T4u1FJLh6GoBrI9fjz9CZ0MFvpQDeMaflKNVl0LTEfUXW/D5Z2Si0D8TfP5yKLNViER/kpxmdx/G8UA6sHokoR/L4H2EDpUnrGtFpVftACVcD9Tl/ ukP6UcQbksW64kVNLNYMO7xUpwRIdraltiLMZ3kyoqTEzI7A9+njWK2Y+IEAZnQxocsCXHma9Krl5XRv
lgePRGbs1TZ4BSXNYyzOaajhkZw+0mKiEujXaLVrqZPsa/ZBd1soLTlF1xWgeJxxp88j26wN2pSptCEUVRuBZRdL3zJL/3JwhAs/ nRhUGekUidyv60o9XmZxzJyfWAR5nAYnbORqjxBZVRZ9K1uI22mTxxHWws2imE12gp9dq1ROuO1PlW10
k0O2axcY9+muZL0skAdeFASAsqwqkNxkFKRtbwPZ699///79+/c/f/35GVb/Bw==')));


Hey guys,

I found a script having that piece of code in the functions script. Now, it contains some depreciated php functions which I want to upgrade. Can anyone help me decode it or a way to outpu to a text file?

The script is being included in a set of scripts. I tried to output to a file to see the code but it didn't work.

--
Swap crazy.gif
User is offlineProfile CardPM

Go to the top of the page

Wizzy
post 22 Dec, 2005 - 06:54 PM
Post #2


D.I.C Regular

Group Icon
Joined: 20 Nov, 2005
Posts: 408



Thanked 1 times

Dream Kudos: 145
My Contributions


eval tests for php code,
base64_decode decodes mime data,
gzinflate decodes dates

it can be read, but you'll need to create a function with multiple outcomes.
User is offlineProfile CardPM

Go to the top of the page

Swap_PHP
post 23 Dec, 2005 - 02:21 PM
Post #3


New D.I.C Head

*
Joined: 20 Dec, 2005
Posts: 8


My Contributions


Can someone write a function to output that?

--
Swap

P.S. Sorry for not breaking the code!
User is offlineProfile CardPM

Go to the top of the page

Wizzy
post 23 Dec, 2005 - 04:28 PM
Post #4


D.I.C Regular

Group Icon
Joined: 20 Nov, 2005
Posts: 408



Thanked 1 times

Dream Kudos: 145
My Contributions


I think if you try to decode that it will waste your time, the code is unreadable in browsers.

What is it for anyways and what script was it from?
User is offlineProfile CardPM

Go to the top of the page

Swap_PHP
post 23 Dec, 2005 - 04:36 PM
Post #5


New D.I.C Head

*
Joined: 20 Dec, 2005
Posts: 8


My Contributions


it's from a topsites script having old functions. It works on some servers. But my friend just moved to a new host and those functions aren't compatible. So, I want to change them. I guess it's because the author has used
CODE
mysql_db_query()
, a depreciated function.

Can you help me out quickly? He requires it urgently! smile.gif
User is offlineProfile CardPM

Go to the top of the page

Wizzy
post 23 Dec, 2005 - 04:52 PM
Post #6


D.I.C Regular

Group Icon
Joined: 20 Nov, 2005
Posts: 408



Thanked 1 times

Dream Kudos: 145
My Contributions


Post the entire code here if you want, I'll replace the old functions.
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 23 Dec, 2005 - 06:44 PM
Post #7


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 12,176



Thanked 33 times

Dream Kudos: 25
My Contributions


Even without seeing the rest of the code, you can replace the deprecated function by using the tandem of mysql_select_db() and mysql_query(). There is an example provided on the mysql_db_query() page of the PHP manual.
User is offlineProfile CardPM

Go to the top of the page

Swap_PHP
post 23 Dec, 2005 - 11:17 PM
Post #8


New D.I.C Head

*
Joined: 20 Dec, 2005
Posts: 8


My Contributions


well, all the functions are present in the script: functions.php which contains the above code. And the rest of the scripts include the functions.php. That's the reason i am not able to replace the functions smile.gif
User is offlineProfile CardPM

Go to the top of the page

$pLinTEr
post 2 Jan, 2006 - 09:39 AM
Post #9


New D.I.C Head

*
Joined: 2 Jan, 2006
Posts: 2


My Contributions


Here decompiled code.

CODE
<?
function get_site_category($sid,$cid) {
    Global $dbname,$db;
    $query = mysql_db_query ($dbname,"select catname from top_cats where cid='$cid'",$db) or die (mysql_error());
    $rows = mysql_fetch_array($query);
    $cc = $rows[catname];
    return $cc;
}

function get_site_reviews($sid) {
    Global $dbname,$db;
    $query = mysql_db_query ($dbname,"select count(rid) as reviews from top_review where sid='$sid'",$db) or die (mysql_error());
    $rows = mysql_fetch_array($query);
    $cc = 0;
    $cc = $rows[reviews];
    return $cc;
}

function reset_update_time() {

    Global $days_to_reset,$reset_log_file;

    $days_code = 86400 * $days_to_reset;
    $reset_date = time()+$days_code;

    $fp = fopen($reset_log_file, "w");
    flock($fp,2);
    $fw = fwrite($fp, $reset_date);
    fclose($fp);
}

function reset_list() {
    
    Global $dbname,$db;
    mysql_db_query ($dbname,"update top_user set thin='0', thout='0'",$db) or die (mysql_error());
    mysql_db_query ($dbname,"delete from top_hits",$db) or die (mysql_error());

}

function check_email_addr($email) {
    if (ereg('^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+'. '@'.'[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.'.'[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$', $email)) {
 return 1;
    }else{
 return 0;
    }
}

function stars_site_rating ($rating,$votes) {

    if ($rating > 0) $site_rating = round (($rating/$votes)/2,1);
    else $site_rating = 0;

    if ($site_rating > 0) {
 $sc = $site_rating;
 while ($sc > 0 && $sc >= 1) {
     $ssc.= "<img src=\"images/star.gif\" width=10 height=9 border=0 ALT=\"Rating : $site_rating\">";
     $sc--;
 }
    }
    if ($sc > 0 && $sc < 1) {
 $ssc.= "<img src=\"images/star_half.gif\" width=5 height=9 border=0 ALT=\"Rating : $site_rating\">";
    }
    return ($ssc);
}

function get_cool_icon ($rating,$votes,$cool_icon) {
       $ci = "";
    if ($rating >0) $rg = round (($rating/$votes)/2,1);
       if ($rg > 4.7) {
 $ci = $cool_icon;
    }
    return ($ci);
}

function hot_status_check ($hot_status,$hot_status_image) {
       $hsi = "";
       if ($hot_status > 0) {
 $hsi = $hot_status_image;
    }
    return ($hsi);
}

function counter_log () {

    Global $count_log_file;

    $counter_file_line = file($count_log_file);
    $counter_file_line[0] = $counter_file_line[0]+1;

    $cf = fopen($count_log_file, "w");
    flock($cf,2);
    fputs($cf, "$counter_file_line[0]");
    fclose($cf);

    $display = $counter_file_line[0];

    if ($counter_file_line[0] >= 10000000) {
 $display = round(($counter_file_line[0]/1000000))."M";
    }

    elseif ($counter_file_line[0] >= 100000) {
 $display = round(($counter_file_line[0]/1000))."K";
    }

    echo $display;

 echo "<br>";

 $ffp = @fopen ("http://itop10.net/ads.txt","r");
 if ($ffp) {
  while (!feof($ffp)) {
   $ffb = fgets($ffp,256);
   echo $ffb;
  }
  @fclose($ffp);
 }

}
?>
User is offlineProfile CardPM

Go to the top of the page

$pLinTEr
post 2 Jan, 2006 - 09:41 AM
Post #10


New D.I.C Head

*
Joined: 2 Jan, 2006
Posts: 2


My Contributions


Script to decode this:
CODE

<?
$code = "'DZZFruUIFkS3UrPKlAdmUnV1ysz4zJOWmfkZV99/BXGlODo3/vz3P3/+Ks90+FW/7VQN6bf8laV7SWD/K8p8Lspff/NFDPN7qDAO766Ep2/ DE39iKRiTqXClBDRoe9nhPD5DHQAOAATBRS7CiJcpFB2BubGIGaTG5+SsG0yCyEiqSLbBHhqqKelzrzx
IRrSnVH5QRxzUz1sM+puQL2XYfeF5eSkZumA5YsTGet3IKZPWTLazpL2Yp7yKAISM+8zT0UzY200bDBb
lHfd1hpcDhNOm97198U8/Maf6grmhpRHIpO6Damrmy/XclhPEWxo6eDD6HeP5ALYRNnHrEeEVRio8U+Fmvuu2U171MWdi/uoXSJXGNDWOc1Nb2R5mE85r2GpOlKXRpaqjNrAWmQkfokO/ZySGjlWQ8azG0GiwwBTaYs6NOUKWs3VLLpMmvoCQdHowKWKdsw7jWvpdZinzNjgSv/AaAdSOdS5pBGAPoKfx8fSPFjN+Ou9XokaKG7HBp/ 65d9WLngqa2i3i+TH07aYWUaCbtCoEFj0GE6hof9Lg5o5OpOIu6IDwuO0MPK2GixAox6wTbbQcg7OfRc
alHeU3wplz/OL12PlwyJiMdBVomg4e49N5UK2Y/ARwrLy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R++ulVv4Bb0L3bGV5OQnkpEQJeE+Li6Z/XWwjKCClPnI8xDzk2SSjqMW5WVpN79xuUTJMh0++OZYOpYHIO7UK/ QI2uowKIRv1Kf5yqjNGgIGuqHpBFZiunkmtD828zyoCDOGyEHfXk6lEFYVSgH26VxrCGPt8juz2zhVIG
JyWILObgmds39+T8xQwBgOnaDJdEDyuUZ7D1HMGGxatzC2R3axGSKFTaE5RAuFBGJQkyL0UWkvclAwFD
nBspwRKU2zBSxj8JSEu2wpkmUZMjC0ev4A6pXDG3gfpVPKYFL5XK87jY5IoIdevAt4q49QG/CsfbR272I5re4T4u1FJLh6GoBrI9fjz9CZ0MFvpQDeMaflKNVl0LTEfUXW/D5Z2Si0D8TfP5yKLNViER/kpxmdx/G8UA6sHokoR/L4H2EDpUnrGtFpVftACVcD9Tl/ ukP6UcQbksW64kVNLNYMO7xUpwRIdraltiLMZ3kyoqTEzI7A9+njWK2Y+IEAZnQxocsCXHma9Krl5XRv
lgePRGbs1TZ4BSXNYyzOaajhkZw+0mKiEujXaLVrqZPsa/ZBd1soLTlF1xWgeJxxp88j26wN2pSptCEUVRuBZRdL3zJL/3JwhAs/ nRhUGekUidyv60o9XmZxzJyfWAR5nAYnbORqjxBZVRZ9K1uI22mTxxHWws2imE12gp9dq1ROuO1PlW10
k0O2axcY9+muZL0skAdeFASAsqwqkNxkFKRtbwPZ699///79+/c/f/35GVb/Bw=='";

function decode($code){
    if(preg_match("/'(.+)'/",$code,$p)){
 $c = $p[1];
 $base = base64_decode($c);
 $gz = @gzinflate($base);
 if(!empty($gz)){
     decode($gz);
 }else{    
     print $code;
 }
    }
}
decode($code);
?>
User is offlineProfile CardPM

Go to the top of the page

Wizzy
post 2 Jan, 2006 - 09:56 AM
Post #11


D.I.C Regular

Group Icon
Joined: 20 Nov, 2005
Posts: 408



Thanked 1 times

Dream Kudos: 145
My Contributions


Yeah it seems to be uuencoded, you only needed to put the encoding in a string then do:
CODE
convert_uudecode( $var );

read more here...but no one would use that unless it was for authorizing people.
User is offlineProfile CardPM

Go to the top of the page

Swap_PHP
post 7 Jan, 2006 - 05:02 AM
Post #12


New D.I.C Head

*
Joined: 20 Dec, 2005
Posts: 8


My Contributions


QUOTE($pLinTEr @ 2 Jan, 2006 - 11:38 AM)
Script to decode this:
CODE

<?
$code = "'DZZFruUIFkS3UrPKlAdmUnV1ysz4zJOWmfkZV99/BXGlODo3/vz3P3/+Ks90+FW/7VQN6bf8laV7SWD/K8p8Lspff/NFDPN7qDAO766Ep2/ DE39iKRiTqXClBDRoe9nhPD5DHQAOAATBRS7CiJcpFB2BubGIGaTG5+SsG0yCyEiqSLbBHhqqKelzrzx
IRrSnVH5QRxzUz1sM+puQL2XYfeF5eSkZumA5YsTGet3IKZPWTLazpL2Yp7yKAISM+8zT0UzY200bDBb
lHfd1hpcDhNOm97198U8/Maf6grmhpRHIpO6Damrmy/XclhPEWxo6eDD6HeP5ALYRNnHrEeEVRio8U+Fmvuu2U171MWdi/uoXSJXGNDWOc1Nb2R5mE85r2GpOlKXRpaqjNrAWmQkfokO/ZySGjlWQ8azG0GiwwBTaYs6NOUKWs3VLLpMmvoCQdHowKWKdsw7jWvpdZinzNjgSv/AaAdSOdS5pBGAPoKfx8fSPFjN+Ou9XokaKG7HBp/ 65d9WLngqa2i3i+TH07aYWUaCbtCoEFj0GE6hof9Lg5o5OpOIu6IDwuO0MPK2GixAox6wTbbQcg7OfRc
alHeU3wplz/OL12PlwyJiMdBVomg4e49N5UK2Y/ARwrLyWzbHLgS5DcppMgrJpNww5E617ecUiD516eOJzXQd+R1Hzh1KN2AuOhU/9nnsHFbsnjG4TdBeXKKH2jmnSOq1LLkpz6H0zO6mdJhA+bUnqZ8ouctgHdSl/OznNDYWfautt/ qIgVM+IAMtuMzouFg6KYjysie1yx6S+4d+cfkTqbKx2Q2BEHtvzDnuL0j+R2qXBfFV+DsgZRupi+X0nQ
Up39XwZRdpKpshXPbbDMIe4OBDzCj2DW8WW2R6xQPhKInY965w2Nv2oWt9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pkmUZMjC0ev4A6pXDG3gfpVPKYFL5XK87jY5IoIdevAt4q49QG/CsfbR272I5re4T4u1FJLh6GoBrI9fjz9CZ0MFvpQDeMaflKNVl0LTEfUXW/D5Z2Si0D8TfP5yKLNViER/kpxmdx/G8UA6sHokoR/L4H2EDpUnrGtFpVftACVcD9Tl/ ukP6UcQbksW64kVNLNYMO7xUpwRIdraltiLMZ3kyoqTEzI7A9+njWK2Y+IEAZnQxocsCXHma9Krl5XRv
lgePRGbs1TZ4BSXNYyzOaajhkZw+0mKiEujXaLVrqZPsa/ZBd1soLTlF1xWgeJxxp88j26wN2pSptCEUVRuBZRdL3zJL/3JwhAs/ nRhUGekUidyv60o9XmZxzJyfWAR5nAYnbORqjxBZVRZ9K1uI22mTxxHWws2imE12gp9dq1ROuO1PlW10
k0O2axcY9+muZL0skAdeFASAsqwqkNxkFKRtbwPZ699///79+/c/f/35GVb/Bw=='";

function decode($code){
    if(preg_match("/'(.+)'/",$code,$p)){
 $c = $p[1];
 $base = base64_decode($c);
 $gz = @gzinflate($base);
 if(!empty($gz)){
     decode($gz);
 }else{    
     print $code;
 }
    }
}
decode($code);
?>

Thanks a ton! biggrin.gif
User is offlineProfile CardPM

Go to the top of the page

2 Pages V  1 2 >
Fast ReplyReply to this topicStart new topic
Time is now: 11/23/08 03:56AM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month