The Arcive of vBulletin Modifications Site. |
|
Details »»
|
||||||||||||||||||||||||||
Here's my version:
In sessions.php find this code: Code:
if (md5($loginpassword)!=$bbuserinfo[password]) {
Code:
$ipaddress=iif(getenv("REMOTE_ADDR")!="",getenv("REMOTE_ADDR"),$HTTP_HOST);
$iphostname = @gethostbyaddr($ipaddress);
$message="Someone is trying to login using your admin account!\n\nUsername he tried to use: $loginusername\nPassword he tried to use: $loginpassword (".md5($loginpassword)." in encryption)\n\nThe IP address is: $ipaddress\nThe host is: $iphostname";
mail($webmasteremail,"Warning: vBulletin Admin Login Tried",$message,"From: \"$bbtitle Admin CP\" <$webmasteremail>");
Quote:
Have fun. ![]() Show Your Support
|
||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Thanks flyfire
|
|
#3
|
|||
|
|||
|
just installed and tested fine
![]() be interesting to see how many people are sneaking around, the admin cp
|
|
#4
|
||||
|
||||
|
Lesane, it's FireFly, not FlyFire.
![]() Thanks. Just a note, if you test this and don't get an e-mail after 3 seconds, don't panic and scream it's not working. It probably takes a while for the e-mail to arrive.
|
|
#5
|
|||
|
|||
|
IS that possible use this code for admin centre? how? thanks
Code:
$ipaddress=iif(getenv("REMOTE_ADDR")!="",getenv("REMOTE_ADDR"),$HTTP_HOST);
$DB_site->query("INSERT INTO loginlog (id, ip, username, password, atime) VALUES ('','$ipaddress', '$username', '$password', '".time()."')");
|
|
#6
|
||||
|
||||
|
[QUOTE]Originally posted by FireFly
Lesane, it's FireFly, not FlyFire. ![]() Thanks. |
|
#7
|
|||
|
|||
|
It's great and working now.
Thank you, FireFly.
|
|
#8
|
||||
|
||||
|
THANX!! Great HACK!
|
|
#9
|
||||
|
||||
|
Another good one, Firefly!
|
|
#10
|
||||
|
||||
|
Excellent hack!!!
thanks firefly! |
![]() |
|
|