Shifu-Hacks Blog

愚かさは博学ではない。

Archive for December, 2007

Running Delphi on Vista

Posted by compactwater on December29 2007

Fortunately, I have a new computer, unfortunately, it has Vista pre-installed.

First step, get rid of Anti-virus (this may not be necessary) McAfee will kill Delphi upon: Installation, Compiling, Debugging, and close it for renaming files- don’t understand why it’s so “evil”, but if you want Delphi, the Anti-virus has to go.
Download and run this: http://download.mcafee.com/products/licensed/cust_support_patches/MCPR.exe
You will be asked to restart your computer, do so. Check if it was completely removed, if not try the legendary Google to solve this part of the problem.

Second, goto your Delphi installation folder, and find Delphi32.exe in the bin folder. Right click=> Properties, and goto the compatibility tab. Check “Run this program in compatibility mode for:” and choose Windows XP SP 2. Also check “Run this program as an administrator”.

You can now use Delphi on Vista!
Tested with Borland Delphi 7 Enterprise Edition on Microsoft Windows Vista Home Premium.

Posted in General Programming | 16 Comments »

File Download Service (Proxy)

Posted by compactwater on December16 2007

This is not really a proxy, nor anywhere near as good. It can download one file at a time to your server from another server, so it can be accessed when the other server is unavailable (or blocked). This is meant for personal use, and should be passworded to prevent from misuse by someone who may want to harm your computer or server. The file comes with everything you will need and the downloader itself.

Readme.txt:
Place download.des in your cgi-bin (or it will not work), and the php files into a folder on your server. Be sure you have a folder named “down” (or what you may have changed it to) within that same folder, or the downloader will not work. You will also need to have php installed on your server. If you are running on Linux you will need to configure download.des to run with Wine.

In write.php change the password to whatever you like. Don’t use “.$’ in it. If write.php has troubles writing to down.ini, then you should replace \\down.ini with your drive letter (c:\down.ini). You can change where the files are downloaded to in download.php, though it will NOT make a new folder if the chosen directory does not currently exist.

When used, download.des will return a 500 error, but the program was still executed and the file downloaded.

Download FDS: Here

Posted in General Programming, Webmastering | 1 Comment »

Hash Gewalt 1.2

Posted by compactwater on December5 2007

Hash Gewalt is a console application used for cracking an MD5 hash. It runs using three parameters, executed through cmd in Windows, or with Wine in Linux. Example:
Gewalt.exe -hash /DictionarySize /HashLength
Gewalt.exe
7f138a09169b250e9dcb378140907378 /62 /3

Which would return “MD5” in the log file. All hashes are logged to “gewalt.ini” within the same directory as the application (It will goto x:\windows or x:\ if it is in System32). The Dictionary Size is how many characters Hash Gewalt will search through before it returns to the first character. 25 (0-25, meaning full 26) would search though the first 26 lowercase English alphabet letters.

Supported characters for dictionary size:

  • a b c d e f g h i //9
  • j k l m n o p q r s t u v w x //15
  • y z A B C D E F G H I J K L M N //16
  • O P Q R S T U V W X Y Z 0 1 2 3 //16
  • 4 5 6 7 8 9 (EN SPACE) //6 (line) 62 (basic)
  • ` ! @ # $ % ^ & * ( ) _ + ~ – //15
  • = [ ] \ | ; : ” < > ? , . / //15
  • € ƒ Š Œ Ž ‘ ’ “ ” ™ š œ ž Ÿ, ¡ ¢ //16
  • £ ¤ ¥ ¦ § ¨ © ª « » ¬ ® ¯ ° ² ³ //16
  • ´ µ ¶ ¹ ¼ ½ ¾ ¿ À Á Â Ã Ä Å Æ //15 (line) 70 at ¿ (medium)
  • Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö //16
  • × Ø Ù Ú Û Ü Þ ß à á â ã ä å æ ç //16
  • è é ê ë ì í î ï ð ñ ò ó ô õ ö ø //16
  • ù ú û ü ý þ ÿ //7 (line) 194 (advanced)

The more characters you use, the slower the cracking speed will be, though there is a higher possibility the hash will be found (only if it has less common characters). The hash size can be up to 64, although a hash of that length would take very long to crack. If the hash size is unknown, use ?, and Hash Gewalt will start from 1 to 24 until the hash is cracked. The application will automatically close when it has finished, check the log for the cracked hash. The cracking speed depends on your computer’s speed, and Hash Gewalt’s priority. Setting the priority higher will crack the hash faster, but will use much more processing power. Cracking can take from a few minutes to hours, leave the application running and it will eventually crack the hash.

To test it out, you can make an MD5 Hash.

Through CMD:
Hash Gewalt 1.2

Log file example:
Hash Gewalt 1.2 INI

Download it: From this place

Posted in General Programming | 6 Comments »