vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Failed Login Logging (https://vborg.vbsupport.ru/showthread.php?t=32639)

Scott MacVicar 11-23-2001 10:00 PM

This is a hack that was suggested by paulomt1, all it does is log failed logins and stores them in a table. An admin can then look at the failed logins in the admin panel, searching based on ip, username, password or date. They can also prune the old logs to save space.

You will be required to create a table this can be done via phpmyAdmin or the hack by Firefly which allows you to run queries via the admin panel. You then have to edit member.php to add the query to insert the failed login information and /admin/index.php to add the links to the loginlog.php file.

Updated 25th November 2001 @ 22:15

Added additions suggested by Mike to the file. Instructions on how to upgrade from the pervious version of this hack is included within install.txt, you will need to run 2 sql queries to adjust the table, adjust the line in member.php and upload loginlog.php again to complete the upgrade.

Scott

paulomt1 11-24-2001 03:24 PM

U are a great programmer, thank you very match for your help.

Best Regards,

Scott MacVicar 11-24-2001 03:27 PM

The only problem you would have is if you removed the gettemplate part from the bit you edited in member.php.

paulomt1 11-24-2001 03:38 PM

Ok, now is working very good, thanks to you.

Best Regards
paulomt1

paulomt1 11-24-2001 03:49 PM

If vbulletin.org had the hack "rate member" I would give you 5 stars :)


B.R
paulomt1

Psychdrone 11-24-2001 03:52 PM

I don't really see the need for this hack....?

Nut yes he is a great programmer, If I could rate you, you would get 6 stars in my book!

paulomt1 11-24-2001 04:01 PM

[QUOTE]Originally posted by Psychdrone
I don't really see the need for this hack....?



Nut yes he is a great programmer, If I could rate you, you would get 6 stars in my book!

Scott MacVicar 11-24-2001 04:08 PM

Psychdrone >
it logs all failed logins, so for example if you have someone that keeps trying to login as one of the admin usernames you will know his IP and can ban him from the boards hence stopping it. Its also good to see how many times people get their password wrong, someone could be trying to brute force a members username or password. I've implemented this hack as I think it would be intresting to see how many failed logins there would be as vBulletin doesn't log any of these occurences.

Ruth 11-24-2001 04:30 PM

great hack PPN, what can i change in the code to log even the correct logins?

thanks

cfscfs 11-24-2001 04:50 PM

Works great for me, Thanks
:D


All times are GMT. The time now is 10:02 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
  • Page Generation 0.01051 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete