Current location: Hot Scripts Forums » Programming Languages » PHP » Encoded php-files??


Encoded php-files??

Reply
  #1 (permalink)  
Old 05-10-04, 08:42 PM
Guldstrand Guldstrand is offline
Newbie Coder
 
Join Date: Jun 2003
Location: Sweden
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Question Encoded php-files??

I´ve downloaded a php script from the net, but some of the files where encoded.

Does anyone know how i can open this files so i can do some changes and stuff??
__________________
I´m learning php so please be patient with me!
That i don´t allready know, i really want to learn..
Reply With Quote
  #2 (permalink)  
Old 05-10-04, 09:16 PM
nekeno12 nekeno12 is offline
Wannabe Coder
 
Join Date: May 2004
Location: CO
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
What do you mean encoded?

Post some source please.
Reply With Quote
  #3 (permalink)  
Old 05-10-04, 09:26 PM
Guldstrand Guldstrand is offline
Newbie Coder
 
Join Date: Jun 2003
Location: Sweden
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by nekeno12
What do you mean encoded?

Post some source please.
Here is some code from the "index.php":
Code:
<?php //0029e
if(!extension_loaded('ionCube Loader')){$_ln='/ioncube/ioncube_loader_'.strtolower(substr(php_uname(),0,3)).'_'.substr(phpversion(),0,3).'.so';$_rd=str_repeat('/..',substr_count($_id=realpath(ini_get('extension_dir')),'/')).dirname(__FILE__).'/';$_i=strlen($_rd);while($_i--){if($_rd[$_i]=='/'){$_lp=substr($_rd,0,$_i).$_ln;if(file_exists($_id.$_lp)){$_ln=$_lp;break;}}}@dl($_ln);}if(function_exists('_il_exec')){return _il_exec();}die('The file <b>'.__FILE__.'</b> has been encoded with the <a href="http://ioncube.com/encoder/">ionCube PHP Encoder</a> and requires the free <a href="http://ioncube.com/loader/">ionCube PHP Loader</a> to be installed.');

?>
ƒ(¼?ÿ,»•#Ö·í*D
__________________
I´m learning php so please be patient with me!
That i don´t allready know, i really want to learn..
Reply With Quote
  #4 (permalink)  
Old 05-10-04, 09:33 PM
nekeno12 nekeno12 is offline
Wannabe Coder
 
Join Date: May 2004
Location: CO
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
I don't know where you got this code, but the first php line is valid code.

I have no clue what that last line is. Possible zipped or code from a compiled executable. It's not PHP though.
Reply With Quote
  #5 (permalink)  
Old 05-10-04, 09:48 PM
Guldstrand Guldstrand is offline
Newbie Coder
 
Join Date: Jun 2003
Location: Sweden
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by nekeno12
I don't know where you got this code, but the first php line is valid code.

I have no clue what that last line is. Possible zipped or code from a compiled executable. It's not PHP though.
That code is from a php-file called "index.php"
It´s a affiliate script called "Php Affiliate Pro".
__________________
I´m learning php so please be patient with me!
That i don´t allready know, i really want to learn..
Reply With Quote
  #6 (permalink)  
Old 05-11-04, 11:26 AM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
the file is encoded with ionCube !
which is a programme that encode PHP scripts to protect them..
which means that you can't edit this script! because its author chose to not show the source to anyone !
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]
Reply With Quote
  #7 (permalink)  
Old 05-12-04, 02:23 AM
Guldstrand Guldstrand is offline
Newbie Coder
 
Join Date: Jun 2003
Location: Sweden
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by NeverMind
the file is encoded with ionCube !
which is a programme that encode PHP scripts to protect them..
which means that you can't edit this script! because its author chose to not show the source to anyone !
Hmm, ok! So i can´t just download a program that can "decrypt" the files then??
__________________
I´m learning php so please be patient with me!
That i don´t allready know, i really want to learn..
Reply With Quote
  #8 (permalink)  
Old 05-12-04, 05:33 AM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
Quote:
Originally Posted by Guldstrand
Hmm, ok! So i can´t just download a program that can "decrypt" the files then??
nope, I don't think so..
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
create files in php banli PHP 3 10-31-08 09:49 PM
Attach files to your form mail using PHP OMID SOFT Script Requests 0 04-17-04 07:26 PM
PHP MySQL Huge files Targa Script Requests 0 02-29-04 12:39 PM
php files in a cgi-bin directory epic1231 PHP 7 12-31-03 03:42 PM
need help writing script to let user edit thier html or php files pinochio53 PHP 14 12-15-03 07:26 AM


All times are GMT -5. The time now is 10:32 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.