Php code obfuscator 2.0.0 is downloaded. how can this problem be solved?

Source: Internet
Author: User
Php code obfuscators 2.0.0 Download php code obfuscators 2.0.0 search for many JavaScript obfuscators on the Internet and the results are very good, but there is no obfuscation tool for PHP code. I have been entangled online for some time for obfuscation of PHP code. The obfuscation tools in foreign countries have also been debugged several times, so there is no support for Chinese. It took a while to traverse the php folder, analyze the features of the PHP code, and then download the character string obfuscation php code obfuscator 2.0.0.
Php obfuscator 2.0.0

You can search for many JavaScript obfuscators on the Internet, but there is no obfuscation tool for PHP code. I have been entangled online for some time for obfuscation of PHP code. The obfuscation tools in foreign countries have also been debugged several times, so there is no support for Chinese.

It took a while, from traversing the php folder to analyzing the features of PHP code, and then to string obfuscation, to write this simple PHP code obfuscation tool. The method is stupid, but the obfuscation effect is good. it can realize obfuscation of PHP variables, functions, classes and JS variables, functions, and classes, in addition, the PHP and JS and HTML mixed code is compressed into one line, which reduces the size of the PHP file and makes the PHP file code more difficult to understand.

The open source address of this method is:

Http://code.google.com/p/omcode/downloads/detail? Outputs & can = 2 & q = # makechanges

The version is php code obfuscator 2.0.0.

If you use this method or modify a part of the method, you can discuss it in QQ group 37304662 or comment on it later.

The usage is as follows:

/*
# Author: Xiaoxiang blog
# BLOG: http://blog.csdn.net/fkedwgwy
# QQ group: 37304662
# Open Source Address: http://code.google.com/p/omcode/
# This program uses a direct replacement method. Therefore, you should pay attention to the existence of PHP and JS functions and classes.
# The function of this program is to confuse PHP and JS variables, functions, and classes, making the obfuscated program hard to understand. And format the PHP and HTML mixed code as a line.
Usage:

// The location of the file to be confused
$ Mwww = './libwww1 ';
// Mixed file storage location
$ Mdir = './libwww2 ';
// Non-obfuscated php file
$ Notfile = array ('pinyin. php ');

// The variable to be replaced
$ Mreplase = array ('$ Select',' $ where ',);

// The function to be replaced
$ Mrefun = array ('seturl', 'Str _ check ');

// The class to be replaced
$ Mreclass = array ('uploadfile ');
*/

This tool compresses the verification code class as follows:

Width = $ width; $ this-> height = $ height; $ this-> codenum = $ codenum;} function _ RLMS_0d870567895d8b2c7f03b06828f3b3fef1584b () {$ this-> outFileHeader (); $ this-> createCode (); $ this-> createImage (); $ this-> _ extract (); $ this-> _ RLMS_a621b9026cade2311acceb3408dc75d3a95dcbfb6523 (); imagepng ($ this-> _ response 3b3bfb); imagedestroy ($ this-> _ bytes);} private function outFileHeader () {header ("Content-type: image/png");} private function createCode () {$ this-> checkcode = strtoupper (substr (md5 (rand (), 0, $ this-> codenum);} private function createImage () {$ this-> _ signature = @ Imagecreate ($ this-> width, $ this-> height); $ back = imagecolorallocate ($ this-> _ resize, 255,255,255 ); $ border = imagecolorallocate ($ this-> _ rectangle, 0); imagefilledrectangle ($ this-> _ rectangle, $ this-> w Idth-1, $ this-> height-1, $ back); imagerectangle ($ this-> _ rectangle, $ this-> width-1, $ this-> height-1, $ border);} private function _ rlms_616f711d9800a56e062ef34bbe09b5a98ddf87b656184174e2 () {for ($ _ timeout = 0; $ _ timeout 2d97c74 <= 200; $ _ hour ++) {$ this-> disturbColor = imagecolorallocate ($ this-> _ hour, rand (0,255), rand (0,255 ), rand (0,255); imagesetpixel ($ this-> _ blocks, rand (2,128), rand (), $ this-> disturbColor);} pri Vate function _ RLMS_a621b9026cade2311acceb3408dc75d3a95dcbfb6523 () {for ($ _ signature = 0; $ _ signature <= $ this-> codenum; $ _ signature ++) {$ bg_color = imagecolorallocate ($ this-> _ RLMS_fa747dcd2284a7eeb022a47e4493b9e9a9f7e93a311fb7a4 F76dcf062b4b2d3b3bfb, rand (0,255), rand (0,128), rand (0,255); $ _ rows = floor ($ this-> width/$ this-> codenum) * $ _ increment + 5; $ _ increment = rand (0, $ this-> height-15); imagechar ($ this-> _ RLMS_fa747dcd2284a7eeb0 Functions, rand (5, 8), $ _ blocks, $ _ blocks, $ this-> checkcode [$ _ blocks], $ bg_color) ;}} function _ destruct () {unset ($ this-> width, $ this-> height, $ this-> codenum) ;}}?>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.