Hello members of this webmaster forum. If you're like me you probably hate running encrypted scripts on your website. One if the main reasons is they could contain unauthorised as shown in this thread - http://www.besthostingforums.com/showthread.php?t=10573

I've come to know a rather popular DDL script called DDL CMS is being used on most websites and people love it mainly of it's features but there's 1 thing, its encrypted. Meaning you can't remove or modify the code for it if you wanted to. I am going to show you how to unencrypt it. I would do it myself but i don't want to contribute to the warez scene as much as i want to contribute to the webmasters here. Here is how.

Tutorial:

Install DDL CMS on a test site.
I suggest editing the files 1 by 1 changing the encrypted code with the non encrypted code.
Look for an instance of:

Code: 
eval(cryptString('decrypt', $theString));
Replace it with:

Code: 
 $unencrypted = cryptString('decrypt', $theString);
 echo '<textarea>';
 echo $unencrypted ;
 echo '</textarea>';
Now run that file in your web browser and the unencrypted version will appear in a text area. Copy the code from the textarea and replace it with the code in the file (only the encrypted part such as $thesrting = xxxx).

Example:

Code: 
$theString = '1b0856a3393238f98d2bd8496eb2e53e91ca52ea16664a185c73f36fa61b994d17f6163520dc221a25533dae7089e09689cfe7ee6546b6bc80b7756b3eb92af8bd0ab3f80fc039aeb5178ab360f2c5d9bd03942144a71bfb14faade918f17b1119754756a165f669a038a41f795c48152e32aefafc241156aed3c46212636f069cf4af8b707f7a97415d705b08467868f105c57025408c51927611811d0ec523e4b49bddc2f8d0cf686c305ee9cc3c873b0237a228f58de3cdae5b9060892577fd9452dcd788ac1e10d7d2386a70f7de027fee7b9322d89c6938cb74e8e889eda2414782caeb88bc2b57573b2bcc51f29293994c6da20e7c9f1bbe38ddff1d89bd7e49d2faba37a6d44fe6ba913e6903c4dc1d01b2f6862d315931f646d791fa78d802125a62d5759123bcffc8f2c70d7aad68e28b48e17ac6d2452f38564a352e487779c0e47f17aa3d6e66648a026071e9bf87c3fbab00c0086f8d420b8494cc7f043dcc1db6e053e906c538572532304c718f28adda573c5a9d74dbc3afa05a3da07babc2b0befeb09b23fa54f713c69e010c051d7ca348592ccf792747b07a08a3ccaff3c392b0d05f7c7332cddebc32ca1d44421c9e961edb3461a280dfb8b75a64d91d2529c0b3922fd94b59a484eff64a268e8f12e738606629b1b35451774c32e57c3f744ee292e4b98601eb2e905db09fd266dca46ae6a7f4c4292af574d29f5cebae153b61e86ecf47f009f81c6084e5f4769d050f8206827dec3edc9becb6d537f5d6f9671d43ef6c78bf5a87f1d85c16881e08f9b105fe00771c875286ec119106adb464b160e62927f2f0edf34360acce3575aa0b5292c6a6f7869a669fa364b058ee3baa0bd20cb0defd40791eff7aabd4d156c115b6bc743abba0f8707b0d809ad2cb777b90f806a53de71284b55ff51b5d80179e089e61b15324318e4ee5053ca5ae22a760bc5243b68eb9e4212abc357cf054b0f663152b83f23d2b3dd761d5ad53ab6908d8f6304e3be8aa03052aab8cc88949d11bceb6d26256f5188ff2df033f0fda86410f6cb2a6369addbf600948ca25c44007f7e58be9f62d32eaa261e79c6585435366ea0b978e6286d2e5b0fc633f6c562413acd99c7676e4b1980c11ab982a4de12c6724de7924d0f85c79531e95b39b1abfb33049ab74fd545f616718a5d781cc3253c740cf184252baf76450a5ee24955f608a7f59fba7e428c152813054b905e2044d7ea0c16f259e84cb33daa858b343d488c0374ca36d30cb37de74e8395db8ccfbe9066694e4bd8a5bc22bf6664120f03d75c225929bcb3eb8ffc9cf6a8ac9b4835ac944c0ad80c32405e4a6486941d1af18e9e23582d4068f22dfbab1b709628f992e2676464c9fbb8f5963e9d22e98226b8727f4dbce80b8deea068b157c0422ed448db9c8208301af7a0d362433bbec75ac3aa62d8247f7c21f586f7e8a251bd37ac9cf2b4b737cf87447c28043ae96aa145ec71628d6711f2e1310c2d97664d398082527ac5ddb1380b584e54e6f0e75258e54d898f062c496f12a4eb6fcb3a4afca9d55ad562977961582cd16b929ffc7c77e971a5ffb14c8039f0a777667643e13fd306e0ab07cdcf784833f303f36d075cbc435c077dd700ebfced1f2941c0f7cafbce12d58873ddda899313f687d2f6438f7b53564307becb707d45f6dceaa053082f10eaa103c45a806bd8e139f24075eb66df66ca559be389cb5c5f51ea2af0eaac8cff39a6ce5446d84504fe49dc2d11255429d999c4176153e48321b3d2f46abe6238190596ead48cc7070c5a728e00eff0cbc37c9fdf88d3bc23417bdcc58568a3bcc5641775dfbbf9ff53fc9826ee0d7d1f90405d34eda02d2c59f834aff1a68197956d6bf86826d530157ab561deebe0f0b85471926d50cfe067ceb1b555ffe27de344e7ae71f3f8e5db2fe23b0294defdcc6fca60ff26f5e22415ef53ac1c32884a4b42426694445417dff900b1373e7f45ed853771f21a7c0a9bd1a684e0d17121bef40bb540469c926ef7c73c759d8703c1efab29d41cf2667bb52cbfc37f98c955fc2979a7cee4bac6cdd4bcedede6c19dfda9a29333e09c93bfa1a8d31b414629d2b19e58545079829b4280dd290a2b69cef3b1073801258a22fc005105e0c2c122f44abb291d9ab69804925ae7fdbcd30c958203b0e3881e2e725a9c004001822a48a4740393acc1ba385db5d485240792d3fe662fd8e3f5810dcb95187dd3efa6a6de77f025847c96508b05e2c143a054517d5b25378c7be6dc0cf700e7e2acca410b227e6b7269f5ab9bc1337a914fa4936023b23377263539ce68e41bbb1d41ddea3648771818c171a61c8a29ebc263b3a24288179087f897729a2c07263c94bb2fb30e13317ac349e92002e1377cd0b9c8fc6ba55a4e4754911f1f6cba9d088e569d6e94c16d722b609325280458172c5ae708cf458fdb528e5f1f9127f30390503c6bff616312a615322821d86853e476e4cfc5567a9f7bf2fd203051093658af9747d525aa9f289484633aef35c94ed19cec12e34052a394991db5b341b9e49c6270b9ec5526737ac300586e69ff6cee4d965b411c75f6f09d24ade8b1545f14a1edd24f11b1e010258641dda72d8e26604d9782330d6fc56643eb77b0c1cf268e5cfaa9eefd41a528c1305db59d4f184ea3abe9d4edfec61f4fcab376dfeceaf88b63712594aa71c94cde76e53479fee780f2c6b07ee42d9e8c7f28e851020ad86221de36783b68c3e548e6fe1fd775690042c9598b8a24d5675e9b5b0b32a855468d934aa398817d899ee896e9202e98b42ad32a3b3618fb32ec10c89af29a681704bd39c124f6cab6b7ab33445a8a18c20f4bc5485e4dd9bbf3681e7e6865de0965132b42d30b74478f388812ab45db3f9698662c015494a5513f819936aae1da9cda47d64f960c2b0fb7ec795a0cf214084be6a29bd093c37dc10ee0e489ef5c3e929c2055982910dae42e0f25ae6aaea6806e9602f912922ef6867bb61e63552e425649ad3d6e73b504ff1ed0a100c4e0efb320767ef03b9851e94de56a224faaba6a665ccbd88fb420111de6e49fd04c0be52f53647462a0b087d274c313f548324c0b4a5bdc51bccf0ec81bf7e0b7e94fefbe2b6f0806f667ef48162a01d7751aa2df1e6b9deddf2e2eb5b73b95e7bf644d9988891670f7acb5e5fb679e3f2ea04a764748e23d534601ae959e02144c513f0f2f86e233c376a74a9df38ae9ff1b4e52363b8ca6f391983784b50182d1f9940f0318fe4555f596d1b11eb7cc42695105692de8f4e62aa48e6864a56269b4ab852ba7c8ab97a637c0504eee4b40f432af786687882bd6c02f095d53c5ea602d06ab52f5499bc6c30e7cf69fb9250ac53daf0b06be4e743f65f38114853bce041f378b82377d1a319d62b3c2d0004c7d742b91f98fb421539bca2fd3b182e6fa491c436870e607ab2584210500a9ae6e94f75ee36699c19c4396b4005c2d6b5b1d2669db210a0d9d1ee8cf23eae07e2b42aa0cbd528b031fcd2e45b32eec188ea3290a311e7a69a4a3f43aa2e254064ab576f8eb424155a61c848de81e2457951cd9242a6c856575e3100ae65b3fd43a625419ddfd1617aa9bef921ee5854dec423167ebb913b9e832d201ab83721ecb43845c7752255334abbff149a7ddd110ceb01a6e4de4a98f5a964e9db3cd540f1501809297416934052574a2ec666be7068447c23842b75c270b9d93d3c092839cbdb33b3dbf51fc08bf89c79bb3a12fe6197078e482e41dff7833ad8f07a273f2d6adaa72127b68346f222b62d3391653ced45834d7d97b1d1e377eb21748feae267825e46bc1cc787327b9d0689385d2832cb78a32b6cd59aee9072c54864b3f855f490c4a60a9f1a7bf6b7f040d1fdaa0b09babf6abc62d3ed232f844c72d53fe367b884e5d0f4aa891eef0938fd4490b454b2c48bf2e907a9f45032097dd493af6adade426cf28919cfe549da850defa906e6b099873cfd0320cfd11347b5e1ab28532ad50e8b26334dafcd6ac99683e59e4d40893aeb8403b2e6c1456abaaf5151ed3bfbb6eb38b430676c0e05518157c47b75798e55e9b048963b3306bda2c43eb1ee60609176a195550f79b302e0a1708fa9918a552b919e13089f1dd809229254f12a7f753e6eb3a6cc375dd71f93094b';
eval(cryptString('decrypt', $theString));
Will Become:

Code: 
echo '
<!-- BEGIN RIGHT SIDE -->
<td class="rightside" align="left" valign="top">';
 if($showSponsoredLinks == 1)
 {
  require($wwwRoot . 'edit/adblock3.php'); 
  echo '<BR><BR>';
 }
 echo '
<table border=0 cellspacing=0 cellpadding=0 width=790>';
 if($showSponsoredLinks == 1)
 {
  echo "<tr valign=top><td colspan=2 class=h4><h4>Sponsored Links:</h4></td><td colspan=3 class=h4fade></td></tr>";
      echo "
 <tr>
 <td width=50 align=left>  <b>Type</b></td>
 <td width='*' align=left>  <b>Download Name</b></td>
 <td width=120 align=center><b>Date</b></td>
 <td width=150 align=left> <b>Provider</b>  </td>
 <td width=30 align=right><b>Views</b></td>
 </tr>
 <tr><td colspan=5 height=10></td></tr>";
  require($wwwRoot . 'edit/extraxxxlines.php');
  echo "<tr><tr><td colspan=5 height=20></td></tr>";
 }
 echo "<tr valign=top><td colspan=2 class=h4><h4>$type Downloads:</h4></td><td colspan=3 class=h4fade></td></tr>";
 echo "
<tr>
<td width=50 align=left>  <b>Type</b></td>
<td width='*' align=left>  <b>Download Name</b></td>
<td width=120 align=center><b>Date</b></td>
<td width=150 align=left> <b>Provider</b>  </td>
<td width=30 align=right><b>Views</b></td>
</tr>
<tr><td colspan=5 height=10></td></tr>";
 while(list($id, $type, $title, $url, $sname, $surl, $date, $smail, $views) = mysql_fetch_row($ddl->get))
 {
  $snamet = $sname;
  $sname = substr($snamet, 0, 25);
  $title = str_replace(array("'", '"', ';', '#'), '', $title);
  $titlet = $title;
  $title=substr($titlet, 0, 60);
  if($type == 'XXX')
  {
   $type = 'Xxx';
  }
  echo "<tr onmouseover=\"this.style.backgroundColor='$hovercolor'; window.status='$title'; return true;\" onmouseout=\"this.style.backgroundColor=''; window.status=''\">
 <td align=left>  $type</td>
 <td align=left>  <a href=\"http://" . $cbusername . ".sharingzone.net?q=".$title."\" target=_blank><img src=\"skins/$skin/dl.gif\" height=11 width=11 alt=\"$keywords\" border=0></a> <a href=\"" . $site_url . "/free-xxx-direct-download-$id-$title.htm\" target=\"_blank\" title=\"Download $title\">$title</a> </td>
 <td align=center>$date</td>
 <td align=left> <a href=\"fwd.php?url=$surl\" target=\"_blank\">$sname</a>  </td>
 <td align=right>$views  </td>
 </tr>";
 }
 echo "<tr><td  colspan=5 height=25></td></tr>
<tr valign=top><td colspan=2 class=h4><h4>Pages:</h4></td><td colspan=3 class=h4fade></td></tr>
<tr><td colspan=5>  <div class=\"pages\">";
 $type = $_GET['type']; 
 switch($type)
 {
  case 'App':
   $ddl->page('appspg-');
   break;
  case 'Game':
   $ddl->page('gamespg-');
   break;
  case 'Movie':
   $ddl->page('moviespg-');
   break;
  case 'Music':
   $ddl->page('musicpg-');
   break;
  case 'Other':
   $ddl->page('otherpg-');
   break;
  case 'Xxx':
   $ddl->page('xxxpg-');
   break;
  default:
   $ddl->page('page-');
   break;
 }
 echo '
</div>
</td></tr>
<tr><td  colspan=5 height=10></td></tr>
</table>
</td>
<!-- END RIGHT SIDE -->';
If you manage to unencrypt the script you may post it here. Please dont remove the guys copyright in the link because he obviously spent alot of time on this script and decided to release it for free. Show some gratitude. This will be all.
Brandon_R Reviewed by Brandon_R on . DDLCMS Unencrypted Hello members of this webmaster forum. If you're like me you probably hate running encrypted scripts on your website. One if the main reasons is they could contain unauthorised as shown in this thread - http://www.besthostingforums.com/showthread.php?t=10573 I've come to know a rather popular DDL script called DDL CMS is being used on most websites and people love it mainly of it's features but there's 1 thing, its encrypted. Meaning you can't remove or modify the code for it if you wanted Rating: 5