Seven Swords deZender Green Version 1.2

by xloong on 2008-02-08 22:46:23

**Seven Swords deZender Green Edition is used to decrypt PHP files encrypted by Zend.**

1. Supports batch decryption.

2. Integrated with right-click decryption.

3. Supports partial custom parameters.

The core comes from: http://dll.newz.cc/dezend/

The integration of the right-click function was quite frustrating because I had never written something like this before. During the process, I encountered a strange issue: using the registry’s `%1` to pass the file path of the file to be decrypted works correctly if the program directory contains spaces. However, if there are no spaces in the directory path, it fails and truncates at the space. For example, for the file `C:\Documents and Settings\Administrator\桌面\test.php`, if the program's directory does not contain spaces, the path will be incorrectly passed as `C:\Documents`. Has anyone else encountered this issue? How do you solve it? My solution? Hehe... it's a bit crude. Check the code:

**Delphi Code**

```delphi

if pos(' ', ExpandFileName(paramstr(0))) < 1 then

MessageBox(0, 'Verification failed. The program directory must include a space.', 'Notice', 0);

```

Using the main program for batch decryption or single-file decryption does not have this problem. It supports paths with spaces and Chinese filenames. The reason I wrote this tool is that I needed this decryption program a few days ago. I downloaded a shell program, but it seemed not to support subdirectories, could not be placed on the desktop for use, and could not be integrated into the right-click menu, which is very important.

**Update on 20080125**

Updated to version 1.2 to resolve the issue of parameter passing errors. Thanks to gzlazy.

**Attachments:**

- dezender ver1.1.rar (1.2 MB, Download count: 341)

- dezender1.2.rar (1.21 MB, Download count: 3681)