{"id":46920,"date":"2010-05-17T10:27:55","date_gmt":"2010-05-17T10:27:55","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/simple-obfuscation\/"},"modified":"2010-06-07T05:06:06","modified_gmt":"2010-06-07T05:06:06","slug":"simple-obfuscation","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/simple-obfuscation\/","author":5797678,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1","stable_tag":"trunk","tested":"2.9.2","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"Simple Obfuscation","header_author":"obaq","header_description":"","assets_banners_color":"","last_updated":"2010-06-07 05:06:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/obaqblog.blogspot.com\/2010\/06\/simple-obfuscation-plugin-for-wordpress.html","header_author_uri":"http:\/\/obaqblog.blogspot.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":540,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.1":"<ul>\n<li>upload unzipped files to the plugin folder.<\/li>\n<\/ul>","1.0.1":"<ul>\n<li>upload new form.php<\/li>\n<\/ul>","1.0":"<ul>\n<li>1.0 is the beginning of the version.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1444463","resolution":"1","location":"plugin"}},"screenshots":{"1":"screenshot-1.png: a form for obfuscation."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1759,24306,1736,11181,662,1929,1178,1216,556,7853],"plugin_category":[54],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-46920","plugin","type-plugin","status-closed","hentry","plugin_tags-function","plugin_tags-intellectual-property","plugin_tags-minify","plugin_tags-obfuscate","plugin_tags-php","plugin_tags-protect","plugin_tags-protection","plugin_tags-script","plugin_tags-shrink","plugin_tags-variable","plugin_category-security-and-spam-protection","plugin_committers-obaq"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/simple-obfuscation.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-obfuscation\/trunk\/screenshot-1.png?rev=1444463","caption":"screenshot-1.png: a form for obfuscation."}],"raw_content":"<!--section=description-->\n<p>This plugin can create a form which can obfuscate php scripts. It also can shrink or minify the script to a certain degree. Obfuscation of scripts is not a perfect protection for your precious php creations but it can greatly discourage the others to read and steal them. Please visit the below site for the details: http:\/\/obaqblog.blogspot.com\/2010\/06\/simple-obfuscation-plugin-for-wordpress.html<\/p>\n <p>*Now added a feature only removing redundant spaces and returns.<\/p>\n\n<!--section=installation-->\n<p>Extract all folder and files and upload the 'simple-obfuscation' folder and its contents to '\/wp-content\/plugins\/'.<\/p>\n <p>Go to the 'Plugins' menu of your admin area and activate the plugin. Insert a code, '[SO]form[\/SO]' into your posts or pages.<\/p>\n\n<!--section=faq-->\n<h4>How to insert a form into a post or page?<\/h4>\n <p>Please kindly insert a code, '[SO]form[\/SO]' into your posts or pages.<\/p>\n <h4>Form description<\/h4>\n <p>Please paste your code into the text area under 'Paste your code:' and check on the options('obfuscate variables', 'obfuscate functions', 'shrink the code') and fill up for the exclusion if any. Clieck 'Obfuscate' buttton and the results will be shown in the text area under 'Obfuscated Code:'. It can obfuscate variables with more than 1 character for the name(e.g. '$ab' could be converted to $v1129520943_46 or similar but not for '$a'). This form is suitable for obfuscation of a stand-alone php script but not for library files which needs to be referenced by other separated php files(sorry, it's a 'Simple Obfuscation'...) You need to test if the script is working fine after obfuscation, especially after shrunken. Please be aware that shrinking may remove spaces too much!<\/p>\n <h4>Examples<\/h4>\n <p>(1) The below simple script:<\/p>\n <p>$text = 'Test'; $array = array(\"a\", \"b\", \"c\", \"d\", \"e\");<\/p>\n <p>for($index = 0 ; $index &lt; 10 ; $index++){     echo $text.\":\"; } echo \"<br \/>\"; foreach($array as $value){     echo $value.\", \"; }<\/p>\n <p>can be obfuscated into like;<\/p>\n <p>$v432838838_4 = 'Test'; $v1604189502_3 = array(\"a\", \"b\", \"c\", \"d\", \"e\");<\/p>\n <p>for($v382730639_2 = 0 ; $v382730639_2 &lt; 10 ; $v382730639_2++){     echo $v432838838_4.\":\"; } echo \"<br \/>\"; foreach($v1604189502_3 as $v892177487_1){     echo $v892177487_1.\", \"; }<\/p>\n <p>(2) The below script with a function:<\/p>\n <p>$text = 'Test'; $array = array(\"a\", \"b\", \"c\", \"d\", \"e\");<\/p>\n <p>for($index = 0 ; $index &lt; 10 ; $index++){     echo $text.\":check:\".(checkString($text)?\"TRUE\":\"FALSE\").\", \"; } echo \"<br \/>\\n\"; foreach($array as $value){     echo $value.\" check:\".(checkString($value)?\"TRUE\":\"FALSE\").\", \"; } function checkString($string){     $check = false;     if(strtolower($string)==\"d\"){         $check = true;     }     return $check; }<\/p>\n <p>can be obfuscated into like;<\/p>\n <p>$v743447587_6 = 'Test'; $v2085202983_5 = array(\"a\", \"b\", \"c\", \"d\", \"e\");<\/p>\n <p>for($v1862510657_3 = 0 ; $v1862510657_3 &lt; 10 ; $v1862510657_3++){     echo $v743447587_6.\":check:\".(f334710346_0($v743447587_6)?\"TRUE\":\"FALSE\").\", \"; } echo \"<br \/>\\n\"; foreach($v2085202983_5 as $v1384627986_2){     echo $v1384627986_2.\" check:\".(f334710346_0($v1384627986_2)?\"TRUE\":\"FALSE\").\", \"; } function f334710346_0($v1492934660_1){     $v315044774_4 = false;     if(strtolower($v1492934660_1)==\"d\"){         $v315044774_4 = true;     }     return $v315044774_4; }<\/p>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n <ul>\n<li>added a feature to remove redundant spaces and returns only.<\/li>\n<\/ul>\n <p>= 1.0.1 * minor fix<\/p>\n <h4>1.0<\/h4>\n <ul>\n<li>1.0 is the beginning of the version.<\/li>\n<\/ul>","raw_excerpt":"This plugin can create a form which can obfuscate php scripts. It also can shrink or minify the script to a certain degree.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/46920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=46920"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/obaq"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=46920"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=46920"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=46920"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=46920"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=46920"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=46920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}