Php code obfuscation-php Tutorial

Source: Internet
Author: User
Php code obfuscation solution because the source code cannot be written, which of the following pictures can be sent to the boss to help write a local environment dedicated to decryption ------ solution ------------------ & lt ;? Phpecho & lt; meta & nbsp; http-equivContent-Type & nbsp; contenttext php code obfuscation solution
Because the source code cannot be written, send an image

Which boss can help,
Write a local environment dedicated to decryption


------ Solution --------------------
 Echo"
 ";
If (file_exists ("chen ")){
Echo "you have installed it successfully! If you want to reinstall, delete the 'Chen' file in the directory and then run the installation ";
Exit ();
}
$ Do = isset ($ _ GET ['do '])? $ _ GET ['do ']: sq;
$ Sq = $ _ GET ['sqm'];
$ Da = $ _ GET ['do '];
If ($ da = 'sq2 '){
File_get_contents ('http: // 92gq. tk/shou. php ');
}
Include ('system. php ');
$ Sqm = curl_chen ('http: // 92gq. tk/sqmm. php', 'Chen = Chen ');
$ A1 = explode (',', $ sqm );
If ($ do = 'SQ '){
Echo"
Enter your authorization code:


";
}
If ($ do = 'sq2 '){
If ($ sq = $ a1 [1]) {
Echo "authorization successful, please proceed ";
} Else {
Echo "authorization failed. please ask if your authorization code is invalid or incorrect! ";
}
}
If ($ do = $ a1 [1]) {
Echo"
";
include("shuoming.txt");
echo"
";
If (function_exists (trim (curl_init) and function_exists (trim (file_get_contents) {echo 'Space Server support! ';
Echo"
Supported. please proceed ";
} Else {echo 'Space server is not supported! ';
If (function_exists (trim (curl_init) {} else {echo"
Because your space does not support curl and cannot be used, please change the space.
";} If (function_exists (trim (file_get_contents) {} else {echo"
Because your space disables file read/write and cannot be used, change the directory permission to 777.
";}
} Elseif ($ do = $ a1 [1]. '2 '){
Echo"
Database information:


Database address:

Database account:

Database password:

Database name:

Password management:

Invitation code:

System network logo:

Promotional suffix:


";

} Elseif ($ do = 'BC '){
$ Pdz = $ _ POST ['dz'];
$ Pzh = $ _ POST ['zh '];
$ Pmm = $ _ POST ['mm'];
$ Pmk = $ _ POST ['km '];
$ Pmb = $ _ POST ['mb'];
$ Pass = $ _ POST ['pass'];
$ Yq = $ _ POST ['yq'];
$ Qd = $ _ POST ['qd '];
$ Connfile ='
Include "cona. php ";
$ Conn = mysql_connect ("'. $ pdz.'", "'. $ pzh.'", "'. $ pmm.'") or
Die ("The system is busy now. please try again later ...");
Mysql_select_db ("'. $ pmk.'", $ conn );
Mysql_query ("set names \ 'utf8 \'");

$ B = "v2.8 ";
Date_default_timezone_set ("PRC ");
$ Date = date ("Y-m-j H: I: s ");
?>
';
$ Ad ='
$ Password = \ ''. $ pass .'\';
$ G = \ ''. $ pmb .'\';
$ Yqm = \ ''. $ yq .'\';
$ Qd = \ ''. $ qd .'\';
$ X = "80 ";
?>
';
$ Fp = fopen ("cona. php", "w ");
Fwrite ($ fp, $ ad );
Fclose ($ fp );
$ Fp = fopen ("conn. php", "w ");
Fwrite ($ fp, $ connfile );
Fclose ($ fp );
Echo "file saved! Click continue ";
} Elseif ($ do = 'Dr '){
Include ('Conn. php ');
Include ('SQL. php ');
Mysql_query ($ SQL );

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.