The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Email notification if someone attempts to access your Admin CP Details »» | |||||||||||||||||||||||||||||
Email notification if someone attempts to access your Admin CP
Developer Last Online: May 2021
This is my version of the hack that Firefly released for VB2.
VB3's standard log of failed admincp login attempts is a nice feature.. but since you get no instant notification, by the time you check the log it could be too late. Also, the log doesn't show which passwords the potential intruder is trying... If someone is close to guessing my password I wanna know about it! What does it do? With this hack, when someone tries to login to your admincp or modcp you'll get an email that contains the username they tried, the password they tried, their ip address, hostname, # of strikes, referer, script, and the date & time of the attempt. It will look something like this: Quote:
Quote:
Update (1-4-05): A couple of users have expressed concern about this mod sending a plaintext password over http for all logins. This update (v1.1) addresses that concern by only sending the password for cplogins. To update just re-do the first step in the instructions for your vbulletin version (the first edit to adminfunctions.php). Or if you'd prefer that the attempted password not be sent at all simply skip the edits to adminfunctions.php. If you don't recieve an email when testing, make sure you have the webmaster email set in the admincp (vBulletin Options + Site Name / URL / Contact Details). Also, sometimes it takes a while for the email to arrive. So give it plenty of time before screaming "it doesn't work".. Still not working? Read this! Credits: Thanks to the original creator of this hack (Chen) for the idea, and thanks to Boofo for helping me test it. Show Your Support
|
Comments |
#12
|
|||
|
|||
Nice job. *clicks Install*
|
#13
|
||||
|
||||
Nice hack cheers
|
#14
|
|||
|
|||
Nice! Thanks, will be installing this one shortly!
|
#15
|
|||
|
|||
ok.. of course i have to be the idiot that can't get this to work :ermm:
I made the changes exactly as said in the text file. I then attempted to login 2 times with wrong password.. I have waited 10- 15 minutes for the e-mail to showup.. Is this long enough.. or should i wait longer? With the changes in place.. I am not getting any error messages or anything.. Thanks Dave |
#16
|
||||
|
||||
Quote:
For those who have already installed and want to add this feature.. In login.php find: Code:
$iphostname = @gethostbyaddr(IPADDRESS); Code:
if ($bbuserinfo[userid]>0) { $realname = "vBulletin has identified this user as: $bbuserinfo[username] \r\n"; } Code:
$message="Someone is trying to login to your admincp!\n\n $fusername $fpassword $fipaddress Host: $iphostname\r\n $fstrk $freferer $fscriptpath $fdate"; Code:
$message="Someone is trying to login to your admincp!\n\n $fusername $fpassword $fipaddress Host: $iphostname\r\n $fstrk $freferer $fscriptpath $fdate $realname"; |
#17
|
|||
|
|||
Thank you... works like a charm
|
#18
|
||||
|
||||
Quote:
Make sure you have the webmasters email set in your admincp (under options). Make sure you added the last bit of code in the instructions under both places. Try re-applying all of the code changes in login.php. Make sure your vbulletin mail system is working (run the test in the admin cp). Keep in mind, you only get an email when someone tries to login to your admincp or modcp... This has no effect on any of the regular login forms. |
#19
|
|||
|
|||
How do you install hacks?
|
#20
|
|||
|
|||
Fantastic idea!! thx
|
#21
|
|||
|
|||
[quoye]Hmm.. What version of vb are you using? Heres a few things to try:
Make sure you have the webmasters email set in your admincp (under options). Make sure you added the last bit of code in the instructions under both places. Try re-applying all of the code changes in login.php. Make sure your vbulletin mail system is working (run the test in the admin cp). Keep in mind, you only get an email when someone tries to login to your admincp or modcp... This has no effect on any of the regular login forms.[/quote] see i told you i was an idiot.. i never set the webmasters e-mail address in the control panel. I thought it was referring to the config.php one.. AWESOME!! Love .. thanks! Dave |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|