![]() |
Seems to be a really good hack. Installing :)
|
bad ass hack...works with 2.2.5 :)
|
well maybe not.....i tried logging into a account with a fake pass and all says is Showing record of 1 to 0 of 0
|
]Admin CP -> Login Failures -> View -> List all failed logins ->
Code:
Database error in vBulletin Control Panel 2.2.4: 2) Why does it point to "http://www.mysite.com/forum/forum"? Can u see it? Forum stays 2 times... :( I have done everything after instruction and double checked it... :( |
]I have also tried to run this query:
Code:
CREATE TABLE mpc.loginlog ( Code:
Error |
Btw....
Axel, Couldn't you also include one additional field similar to the others below the next section of the member.php? The part where it says cookie login? I mean in order to log people returning to the boards who are browsing with cookies? I'm installing PPN's hack now, and making your modifications, Axel. I will let you all know how it works out. |
[QUOTE]Originally posted by Axel Foley
In this way I can log TWO TYPES of FAILED LOGINS, and all the successful logins too. I added two fields to the database. |
thats an unusual error for the table, its there but its not there for vB? What version of php and mysql are you running?
|
]Server Type
Linux / PHP v4.1.2-hostdemon Safe Mode MySQL v3.23.36 vBB 2.2.4 ( https://vborg.vbsupport.ru/showthrea...604#post241604 ) = (my problem, this thread, post 44) |
edit
|
][QUOTE]Originally posted by GOD-Dblade
edit |
To everyone who uses this hack:
This is the first time I've done anything like this, so I don't know the proper prodecure. I have taken PPN's hack, and Axel Foley's modification, and installed them on my boards. Since I am inherently lazy, I wanted quicklinks to all the most common fields you would look at. The stock loginlog.php script only has three options, view all, view recent, and view last 24 hours. I've modified the code to incorporate some additional features: https://vborg.vbsupport.ru/external/2002/04/1.jpg To be noted is that as the code stands now, all of my searches are returned by default as atime sorted descending (so that the most recent instances appear first in the list). This is something that can easily be remedied by removing the &direction=DESC modifiers on the quicklinks. The stock loginlog.php script defines a blank sort field to default to username, I simply changed it to atime. The search options down at the bottom have been modified from datefailed to atime (for the time sort function) since datefailed wasn't working for me. I haven't tested the pruning functions, so if anyone would like to, please let me know if I have screwed up anything in the process of doing this. Again, I would like to thank PPN and Axel for their hard work in getting this hack to not only function, but to be robustly featured as well. Thanks to both of you. As a final note, Axel: I am thinking about testing inserting yet another one of your hack fields after the cookie login, to try and see if that will work for logging people returning with cookies. |
[QUOTE]Originally posted by Axel Foley
Hi PPN, first of all, great hack. I needed a hack to log ALL the logins of my users, failed and successful ones. A few of my users have reported stolen passwords and I couldn't tell them WHEN during the week they logged on, but just the LAST login. So I was looking for a logging hack. I took yours and I made some modifications: PHP Code:
It works, now I only have to modify your control panel for the hack to query all the fields etc. The only thing that I don't like is that if users have set automatic login via cookies their successful logins aren't logged (haven't tried with unsuccessful logins via cookie). So I was thinking about DISABLING automatic login via cookies, just to have complete control over the logins. We have had a supermoderator whose pw was stolen by an admin of a 2.0.3 vB forum. I'm very angry so I want to extend the logging features of vB in order to prevent this from happening. I hope you like these ideas, you could also make it an option WHAT TO LOG (failure, successful and both). Could you also give me a hint on the BEST way to disable the automatic login via cookie for ALL my users, prevent them from changing that option and to delete the cookie? Thanks man, you've made a great job and if you make these modifications your hack will be GREAT. Like an OS event logging system. ;) |
[QUOTE]Originally posted by trainer
how do i add this? what do i have to change in the database? |
Those instructions for adding the fields will work in MyPHPAdmin but they won't work of course if you wanted to add the fields via a MYSQL Query. I tried figuring out what the query command would be and couldn't figure it out. Probably an insert into command though.
To give credit where credit is due. This has become a great hack with the added modifications. The passwords are right out in the open now with this hack. Despite 2.2.5's encryption. This is because we are looking at what is entered as a password and logging it regardless the success of the login or not. Needed addition is still the cookie logon modification. Once that is done you can pretty much build a query to find anything out about the logon sequence. If anyone can post that mod I would appreciate it. Chazman Attched are the modifications by Axel, and James .. Thanks PPN |
]( https://vborg.vbsupport.ru/showthrea...604#post241604 ) = (my problem, this thread, post 44) :(
|
lol, I feel mightily clueless at the moment. I followed the instructions in the zip to a T (several times, actually) and I keep coming up with a blank screen when I click either option under Failed Logins.
I'm running vb 2.2.5 with the .php3 extensions. (The extension doesn't matter, does it?) Help would be much appreciated. |
Actually I think it matters a great deal. PHP3 and PHP (4) don't mix. These pages and links were written in PHP4
Chazman You might get them to work with some manual mods though. You would have to start by replacing every php with a php3. I am just guessing. I didn't write these so I couldn't tell you for sure. |
[QUOTE]Originally posted by chazman
Needed addition is still the cookie logon modification. Once that is done you can pretty much build a query to find anything out about the logon sequence. Chazman |
my last 24 hour login query from the quicklink is not working correctly. There might be something wrong with that quicklink in James' Mod.
Anyone else notice this. Anyone else using this? chazman |
I'm trying to keep my database lean... I want to clear the failed attempts when the login is successful.. I keep getting "parse errors" any help here would be hot.
I've modified Axel Foley's code for successful logins to: // HACK: Login Log (Successful login) $DB_site->query("DELETE FROM loginlog WHERE userid='$user[userid]'"); // HACK: Login Log (Successful login) Thanks in advance for the help. [edit]: corrected spelling mistakes [edit]: :ermm: I was missing the "$" in "$DB_site". Problem solved. |
I'm runing 2.2.4, would this still work?
|
great hack.. Just installed on 2.2.6 and works great. Very easy to install... great instructions
Good hack! Thanks |
This works on 2.2.6 indeedy :D
|
Parse error: parse error in /home/www/shack/html/forums/member.php on line 110
I keep getting this error when I try to log out of my forums. Any ideas why Running php4 vB2.2.6 HM |
I am getting that error too.
|
[QUOTE]Originally posted by PPN
that would be my bad :D $DB_site->query("INSERT INTO loginlog (loginid, ip, username, password, userid, atime) VALUES ('','$ipaddress', '$username', '$password', '$user[userid]', '".time()."')"); should be $DB_site->query("INSERT INTO loginlog (loginid, ip, username, password, userid, atime) VALUES ('','$ipaddress', '".addslashes($username)."', '$password', '$user[userid]', '".time()."')"); |
Oops! (spoke too fast!)
"Houston, we have a problem!" Getting parse errors by the second ... I pasted this into the member.php: PHP Code:
PHP Code:
Anyone know why? |
[QUOTE]Originally posted by ModshackUK
Parse error: parse error in /home/www/shack/html/forums/member.php on line 110 I keep getting this error when I try to log out of my forums. Any ideas why Running php4 vB2.2.6 HM |
just a quick note: The hack works flawlessly in 2.2.9..
Very useful expecially for boards with paid membership.. Thx for sharing.. |
Installed. Thank you, Scott, this is a very nice hack..... works perfectly.
|
how to include the users email address in the log listings ?
also is it possible to have the script NOT log if there is a duplicate entry (otherwise you tend to get hundreds of each user) these two mods I'd really like on this great hack |
After light of another forum using members/mods passwords to access our forum i wondered if a addition could be added to this hack.
When there is a fail login could a email automatically be sent to the members email address quoting the password, time and ip address and a request link to change there password?? If not would it be possible to automatically email the member a new random password? This would give less chance to anyone trying to hack a members account and could resolve the issue we have at the moment. thanks Beams :D |
The IP for everyone is coming up as my own site's domain name.
Ideas? |
This would be great if the user that tried was trying to login, if he/she got a PM saying someone was trying to login with his/her username. Just so they know that they should do something about it, or whatever.
|
works perfect on 2.2.9 :P
|
I installed correctly and it works fine but a suggest....
I dislike the showing users password in the cp Why ?? Look at the user table in db the password are encrypted in md5 but not in your hack your table show password For an entire security you must delete all that repport to password in this hack before installing ... Anjoy whith this great hack |
Quote:
Fkin hypocrite STOP LOGGING YOUR MEMBERS PASSES BEAMER AND THEN BLAMING OTHER SITES WHEN YOU GET CAUGHT OUT. |
logging members for ellicit means eh beamer ?
tut tut tut ;) |
oh what have we here then umm
never been caught logging passwords as we don't do that unlike yourself ;) Not to worry im sure there will proof one day and find its way on to here as well so all can see, then lets see who shouts then mahahaha oh dear raptor u should know better then believe that sort of thing after all the crap they started with u i guess your forgetting the passed Beams :D |
All times are GMT. The time now is 03:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|