473,800 Members | 2,726 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Encoders

Hi there !

I am curretly looking for suitbale solutions for encoding PHP scripts
after developing a couple of comercial applications in PHP.

Has anybody made any experience with several encoders like IONCUBE,
SOURCEGUARDIAN, ZEND, etc... so far?

I just tested an evaluation copy of IONCUBE's php encoder which worked
pretty fine. Runtime decoding is really fast and easy to implement.
Has anybody some deeper insight into this issue?

Thanks
Jerry

Jul 17 '05 #1
6 3888

"Jerry" <ea*********@ly cos.com> wrote in message
news:ct******** *************** *********@4ax.c om...
Hi there !

I am curretly looking for suitbale solutions for encoding PHP scripts
after developing a couple of comercial applications in PHP.

Has anybody made any experience with several encoders like IONCUBE,
SOURCEGUARDIAN, ZEND, etc... so far?
You might consider
http://www.semdesigns.com/Products/O...bfuscator.html
I just tested an evaluation copy of IONCUBE's php encoder which worked
pretty fine. Runtime decoding is really fast and easy to implement.
Has anybody some deeper insight into this issue?


Ours doesn't have any runtime decoder at all; no need to change
the target server at all. But folks might rightfully accuse us of being
biased since we
are a vendor. So I'll otherwise stay mum on the topic, and let
the community have its say.

-- IDB

Jul 17 '05 #2
Hi Ira:

Many thanks for your tip. In fact I already came across your website
once. Please feel free to comment as much as you like. I am thankful
for every little bit of info I could get. I will be frank with you:

I have always been a little bit reluctant to use obfuscators since the
source code does not actually disappear and it should not be too
difficult to find the correct patterns and algorythms to map and
restore the scrambled code. One could possibly write a good piece of
code that would do exactly that.

Instead the e.g. ioncube encoder really encodes the scripts and
requires only one file (the "runtime-loader") to be uploaded along
with the encrypted scripts onto the server to make the scripts
executable. Since the scripts run as a compiled application they are
even faster than unencrypted PHP scripts. So, this seems an
interesting alternative to me.
Costs: Your obfuscator costs US$150.00. The ioncube encoder starts at
US$199.00 Personally, I find it's worth the difference.

What is your take on that?
Thank you for your help and opinion.

Jerry

P.S. NO, I'm in no way affilated with ioncube. It's just the software
which I had a chance to test so far. :-)
On Tue, 18 Nov 2003 16:53:21 -0600, "Ira Baxter"
<id******@semde signs.com> wrote:

"Jerry" <ea*********@ly cos.com> wrote in message
news:ct******* *************** **********@4ax. com...
Hi there !

I am curretly looking for suitbale solutions for encoding PHP scripts
after developing a couple of comercial applications in PHP.

Has anybody made any experience with several encoders like IONCUBE,
SOURCEGUARDIAN, ZEND, etc... so far?


You might consider
http://www.semdesigns.com/Products/O...bfuscator.html
I just tested an evaluation copy of IONCUBE's php encoder which worked
pretty fine. Runtime decoding is really fast and easy to implement.
Has anybody some deeper insight into this issue?


Ours doesn't have any runtime decoder at all; no need to change
the target server at all. But folks might rightfully accuse us of being
biased since we
are a vendor. So I'll otherwise stay mum on the topic, and let
the community have its say.

-- IDB


Jul 17 '05 #3
Jerry wrote:
I have always been a little bit reluctant to use obfuscators since the
source code does not actually disappear and it should not be too
difficult to find the correct patterns and algorythms to map and
restore the scrambled code. One could possibly write a good piece of
code that would do exactly that.


Same here. In fact, the first step for this process would be to use
something like:
http://www.tote-taste.de/X-Project/beautify/

Allowing the code to be easier to read and in a consistent format,
making it easier to write a script for the rest.

--
Justin Koivisto - sp**@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.

Jul 17 '05 #4
Jerry <ea*********@ly cos.com> wrote in message news:<ct******* *************** **********@4ax. com>...
Hi there !

I am curretly looking for suitbale solutions for encoding PHP scripts
after developing a couple of comercial applications in PHP.

Has anybody made any experience with several encoders like IONCUBE,
SOURCEGUARDIAN, ZEND, etc... so far?


Did you try http://pobs.mywalhalla.net/ ?

---
"One who mix sports and patriotism is a barbarian"
Email: rrjanbiah-at-Y!com
Jul 17 '05 #5
"Jerry" <ea*********@ly cos.com> wrote in message
news:t3******** *************** *********@4ax.c om...
I have always been a little bit reluctant to use obfuscators since the
source code does not actually disappear and it should not be too
difficult to find the correct patterns and algorythms to map and
restore the scrambled code. One could possibly write a good piece of
code that would do exactly that.
I don't know what you mean by "restore the scrambled code" after
obfuscation. The comments are gone, so no tool or person
can restore them without essentially simply guessing.
The identifier names are meaningless, and restoring them
to something sensible means you pretty have much have
to understand what the code is doing in order to choose
a good name.

So I don't think you can write a "tool" to do this at all.
(Another poster observed that you *can* use a tool
to reformat obfuscated text so its block structure is visible.
Our tool also can format and so can be used for that purpose too,
but the real value in the obfsucation is the removal of comments
and scrambling of names).

If you have a really small applicaiton, obfuscation won't "hide"
it very well. If you have a really big application, in our opinion,
the number of names that have to regenerated becomes pretty
daunting for would-be reverse-engineer.
Instead the e.g. ioncube encoder really encodes the scripts and
requires only one file (the "runtime-loader") to be uploaded along
with the encrypted scripts onto the server to make the scripts
executable. Since the scripts run as a compiled application they are
even faster than unencrypted PHP scripts. So, this seems an
interesting alternative to me.
"Encoding" the script doesn't prevent reverse engineering.
It just raises the effort level required to decode it.
(I'll cheerfully admit it raises it somewhat higher than
obfuscated source.)

Ultimately, if somebody wants to reverse engineer your code,
they can. So the real question is, what's enough protection?
Most people don't use a bank vault locks on their front door.
Deadbolts are good enough for the majority.
Costs: Your obfuscator costs US$150.00. The ioncube encoder starts at
US$199.00 Personally, I find it's worth the difference.
OK. Everybody makes their choice.

We chose to provide source obfuscation because while
you may have a customer for your PHP source code,
you can't always tell your customer what he must run on his server.
Of course, if your customer *wants* to run with a PHP compiler,
he can do that with obfuscated source, too, but now
it is his choice, not yours.
What is your take on that?
Thank you for your help and opinion.

Jerry

--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc. www.semdesigns.com
Jul 17 '05 #6

"Justin Koivisto" <sp**@koivi.com > wrote in message
news:m5******** *********@news7 .onvoy.net...
Jerry wrote:
I have always been a little bit reluctant to use obfuscators since the
source code does not actually disappear and it should not be too
difficult to find the correct patterns and algorythms to map and
restore the scrambled code. One could possibly write a good piece of
code that would do exactly that.


Same here. In fact, the first step for this process would be to use
something like:
http://www.tote-taste.de/X-Project/beautify/

Allowing the code to be easier to read and in a consistent format,
making it easier to write a script for the rest.


X-Project/beautify explicitly claims it doesn't work on
all code. If you used it on obfuscated code, and it damaged
it, you'd have a heck of time understanding the result.

If you insist on this, you could use:
http://www.semdesigns.com/Products/F...Formatter.html
This does work for all PHP constructs, by virtue of being
a full PHP parser.

Having made the code nicely indented, however, you still have to guess
at whatever comments were lost, and you still have to reinvent meaningful
names for all the variables and functions. For tiny programs, you
can probably do this. For a program with several hundred variables
(how big are yours?) this is actually an immense amount of work.

And you can't "automate" the reconstruction of the comments or
the variable names. So this doesn't strike me as a great
deal of help. YMMV.

--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc. www.semdesigns.com
Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
7410
by: David Williams | last post by:
Hello all. Anyone know of a free program I can use to encrypt my php code? I would like it to be secure as possible. i.e. not viewable from the web. Also, is there an html encryptor or will the php encryptor encrypt that, too? Thanks, David
1
1506
by: Posadas, Dennis | last post by:
Hi, Once you load the necessary language encoder into lib/encodings, is that all there is to using it ? I loaded the encoder eucgb2312_cn.py and pyc into lib/encodings but am still getting the error below... I ran something like this on the command line and this is what I got... >>> s = unicode('50e7', 'eucgb2312_cn')
4
7713
by: RCIC | last post by:
I want to upload a file to my website. I'd like to compress the file on upload so when I redisplay the file on a website it is as small possible. Is their an easy way to compress jpgs in .Net?
0
748
by: Chris Mcilvoy | last post by:
I am using code from http://support.microsoft.com/default.aspx?scid=kb;en- us;324790 to no avail. private static ImageCodecInfo GetEncoderInfo(String mimeType) { int j; ImageCodecInfo encoders;
1
12316
by: Maurice Mertens | last post by:
Hello, I'm having troubles with saving a tiff-file with a certain compression and colordepth. This is the code I use: ---------------------------------------------------------------------- private sub MakeTiff dim imgSource as new bitmap(strTifSourceFile)
6
2508
by: Chris D | last post by:
Hi, I have an application where a user uploads an image and I create two thumbnails. One a small image and the second is a larger image but still smaller then the original. I store these in SQL 2000 server. The quality of the small thumbnail is ok, but the quality of the larger image is terrible. I tried both Jpeg and Gif formats and there is no difference.
6
1745
by: Trint Smith | last post by:
How can I show image thumbnail?? thanks, Trint ..Net programmer trintsmith@hotmail.com *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
2
1269
by: Kim Bach Petersen | last post by:
Using asp.net, I'm generating bitmaps, that I stream either as gif- og jpg-images (se code below). In both cases, the image-quality is rather poor: http://dotnet.kensho.dk/scr_diagram.aspx?tal=12&jeg=3&fan=9&san=3&soc=7&kon=2&int=12&fol=5&img=gif http://dotnet.kensho.dk/scr_diagram.aspx?tal=12&jeg=3&fan=9&san=3&soc=7&kon=2&int=12&fol=5&img=jpg I would very much like to have clearer images, but I haven't been able to locate a property...
9
2485
by: Lie | last post by:
Why this generates AttributeError, then not? Python 2.5.2 (r252:60911, Apr 21 2008, 11:17:30) on linux2 Type "help", "copyright", "credits" or "license" for more information. Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'dom' <module 'xml.dom' from '/usr/lib/python2.5/xml/dom/__init__.pyc'>
0
10507
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10279
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10255
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10036
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6815
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5473
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4150
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3765
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2948
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.