The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
vB3.5 Email notification if someone attempts to access your Admin or Mod CP Details »» | |||||||||||||||||||||||||||
vB3.5 Email notification if someone attempts to access your Admin or Mod CP
Developer Last Online: Jun 2012
vB3.5 Email notification if someone attempts to access your Admin or Mod CP
Version 1.0.1 (By Boofo) What does this modification do? When someone tries to login to your Admin CP or Mod CP, you will get an email that contains the username they tried, the password they tried, their IP address, hostname, number of strikes, referrer, script, and the date & time of the attempt. It also will now distinguish itself in the message subject between a failed Admin CP attempt and a failed Mode CP attempt, so you will know right off which CP they tried to login to. NOTE: To alleviate anyone getting upset about plain text passwords being transmitted from the server, the ONLY time a plain text password is sent, is when it is a failed login attempt. It is not stored on the server anywhere and no hashed passwords are ever revealed to anyone. I think it's good to know if anyone is getting close to what my CP password is so I can change it if necessary. Credits: Thanks to EvilLS1 for making the vB 3.0 version of this modification on which this update is based and released with permission. Version Information: Version 1.0.0 --Initial release Version 1.0.1 --Fixed user name being wrong on a user attempt. Installation overview: -------------------------------------- Files to edit: (2) --incudes/adminfunctions.php --login.php What it looks like in the Mod CP when an anonymous users tries to login: ----------------------------------------------------- Someone is trying to login to your Your Forums Mod CP! ----------------------------------------------------- Username tried: Ned Password tried: does this work? IP Address: 1.123.23.4 Host: 1-123-23-4.some.name.com Strikes: 4 out of 5 Referer: http://www.yoursite.com/forums/modcp/ Script: http://www.yoursite.com/forums/login.php Date & Time: Monday, September 26th, 2005 at 8:22:29 am ----------------------------------------------------- What it looks like in the Mod CP when a user from your site tries to login: ----------------------------------------------------- Someone is trying to login to your Your Forums Mod CP! ----------------------------------------------------- Username tried: Boofo Password tried: does this work? IP Address: 1.123.23.4 Host: 1-123-23-4.some.name.com Strikes: 4 out of 5 Referer: http://www.yoursite.com/forums/modcp/ Script: http://www.yoursite.com/forums/login.php Date & Time: Monday, September 26th, 2005 at 8:22:29 am ----------------------------------------------------- USER ATTEMPT: Your Forums has identified this registered user as: Boofo Show Your Support
|
Comments |
#122
|
|||
|
|||
It works in vB 3.6.0 as well. There was only a minor change in the instructions. In the 3.6.0 code they added ?do=login after login.php. Simply change the instructions for modifying adminfunctions.php as follows:
In incudes/adminfunctions.php Find: -------------------------------------- Code:
<form action="../login.php?do=login" method="post" name="loginform" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf); js_do_options(this)"> -------------------------------------- REPLACE it with: -------------------------------------- Code:
<?php if ($logintype=='cplogin' OR $logintype=='modcplogin') { echo '<form action="../login.php?do=login" method="post" name="loginform" onsubmit="document.forms.loginform.vbpassword.value=document.forms.loginform.vb_login_password.value; md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf); js_do_options(this)">'; } else { echo '<form action="../login.php?do=login" method="post" name="loginform" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf); js_do_options(this)">'; } ?> Find: -------------------------------------- Code:
<input type="hidden" name="vb_login_md5password_utf" value="" /> BELOW it add: -------------------------------------- Code:
<input type="hidden" name="vbpassword" value="" /> |
#123
|
||||
|
||||
thanks for the above information, I was just getting around to editing my previous hacks and that was one of my top questions!
the code to search for in the first edit is wrong, though. first edit, find this: Code:
<form action="../login.php?do=login" method="post" name="loginform" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf); js_do_options(this)"> |
#124
|
|||
|
|||
Thanks guys I have this working on vB360 now, although I had to put a "," at the end of this code on the login.php on line 83;
Code:
'postvars' => TYPE_STR, |
#125
|
|||
|
|||
Working fine in 3.6
|
#126
|
|||
|
|||
It works on 3.6.0
|
#127
|
||||
|
||||
Will this work in 3.5.3?
|
#128
|
||||
|
||||
*bump*
|
#129
|
|||
|
|||
Yes. I used it in 3.5.2, 3.5.3, 3.5.4, and now 3.6.0.
|
#130
|
||||
|
||||
rgr,Thank You
|
#131
|
||||
|
||||
works great in 3.6 without having to make any adjustments to directions thanks boofo
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|