Ok first of all this has nothing to do with SERVER security...It is only for MuToolz security!!
Have problems with MuToolz hacking?You did anything to prevent hackers and they are still find your password(s)?
There's still be another way to prevent it!Yea let's get to work guys :)
This works with all versions of MuToolz!
Main Code
*Paste the code given below in mutoolz.tpl.php right below the <?PHP
*What it does?It checks the IP coming to view the site and check if it is going to be banned or accepted, then logged to a file log.. in the tmp folder.
*
ALLOWING AN IP ADDRESSOriginally Posted by LifeStealer
On every file in the modules folder is a modules that is used by mutoolz, u can just add this codes right below the <?PHP mark to accept an IP address...In this case we need to add it in modules/admin/index.php
Easy... just copy $ip[] = 'xx.xx.xx.xx'; replace the xx.xx.xx.xx with a real ip address. u can have as many ip as u want.
next.. the actual accept code:
Final should look like this...Originally Posted by LifeStealer
So you can the final code and you put it in modules/admin/index.php (copy and add it in the top of the index.php file) , so you can add any IP's and you are absolutely responsible for the IP you gave as accepted...for 100% secured you can give your server's IP or some IP that you know you will be the only that will have access from there ;)Originally Posted by LifeStealer
OK YOU ARE NOW READY :)
BANNING THE IP INSTEAD OF ACCEPTING:
Actually it is almost the same...(You must do the first step also)
Just replace the
withOriginally Posted by LifeStealer
And...it should look like this:Originally Posted by LifeStealer
Originally Posted by LifeStealer
Pretty easy right?
Now to customize your banning script...
Some people don't like the exit(); due it just causes a white screen.
so how about redirecting them to another page... something like the main page.. or google... or watever the suits ur fancy...
here is how..
just replace exit();
with
WE ARE DONE! :)Originally Posted by LifeStealer
Cool Things Right?
This Guide will help you stop that damn hackers once and for all...you just have to follow my instructions and be sure of the IP's you give as acceptable ;)
Any questions post them here...
Credits: LifeStealer


Reply With Quote


