View Single Post
Old 03-31-2004, 06:35 AM  
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Anyone know a program to obfuscate (make unreadable) PHP scripts?

Something that can turn this

Code:
      $outurl = $tr_url["$this_tradeid"];
      update_nosend_cookie($this_tradeid);

      write_update("tr_out", $this_tradeid);
      $clicktype = "TRCLICK";
into this

Code:
$IopQlZ=$tr_url["$UjhjAh"];IUjuWuiKJgdkJZ($UjhjAh);JKSHueoJhjkh("tr_out",$UjhjAh);$oiAhZZ="TRCLICK";
I've just done a simple sed script to replace variable names, function names and also strip spaces, but it's pretty tedious to have to check for new elements and add them in manually.

Anyone know of anything that can do this automatically?
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote