Waar md5 hash maken?
Geplaatst: 05 nov 2005, 23:06
Is het verstandig deze mod toe te voegen. De url hieronder genoemd bestaat niet, waar kan ik nog meer een md5 genereren?
Code: Selecteer alles
By: Alex 'Killar' Riley
http://gamershaven.ath.cx
This isn't really a big mod, just a little hack that can be useful to hosting porviders or shared hosting.
To use, simply follow these instructions:
1. Install your phpBB first.
2. Goto http://bfl.rctek.com/tools/?tool=hasher and generate a few MD5 hashes. Use random letters and numbers to generate. Put a few on end and get a mega hash. The longer the string the more secure.
3. Save this hash somewhere where you can get to it in the future.
4. Open your config.php, and after "<?php" add
if ( !defined('Your hash goes here') )
{
die("Hacking attempt");
}
5. Download all of your phpBB files to your computer. It makes it easier to
edit the files.
6. In windows, do a search for 'IN_PHPBB' (ctrl+f while in a folder) in files
7. You will get a list of files, open each one and edit to these guidelines:
A. If the file contains:
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
Add this after it:
if ( !defined('Your hash here') )
{
die("Hacking attempt");
}
B. If the file contains:
define('IN_PHPBB', true);
Add after it:
define('Your hash here', true);
Please note that some files may contain both, so be sure to do a search.
8. Now save all of the files and upload, and you are done.
Note: If you add any hacks that bring in new files, perform step seven on them.
No hacker will get in unless he had eternity. I know this is very tedious and time consuming, but there will be no hacking on your message boards,
This could also be applied to any other php file as well.
Add this in every file that is included:
if ( !defined('Your hash here') )
{
die("Hacking attempt");
}
And this in every file that includes them:
define('Your hash here', true);
If you use this hack, please add credit for me somewhere, you don't have to, but we're running on the honor system here.