vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - [OzzModz] Log Failed Login (https://vborg.vbsupport.ru/showthread.php?t=303802)

ozzy47 10-24-2013 10:00 PM

[OzzModz] Log Failed Login
 
Another mod brought to you by,
https://vborg.vbsupport.ru/external/2015/01/1.png

Here is a small modification you can use to log selected users IP's when there is a login failure.

It is a simple installation, upload the file, ozzmodz_failed_login_log.log, in the UPLOAD folder, to your forum root, then import the product XML, product-ozzmodz_log_fail_login_38

You can edit the options under the settings, OzzModz: Log Failed Login IP Settings

Complete Feature List
  • Option to disable the mod completely.
  • Option to change the name of the file, so you can make it unique to your site, keeps it out of prying eyes.
  • Option to set which userid's to log.
  • Option to set which usergroups to log.



Frequently Asked Questions.

Q. Why do I need such a thing, you ask?

A. If you feel your members accounts are trying to be accessed by unauthorized people, this will log the IP's when the person fails the login, usually due to a wrong password. You can get the IP's from the log and add them to your ban list. Also it was requester by 00pavan00 here, How to log ips of failed attempts?

Q. How do I view the log?

A. Navigate to the log file, in your forum root, via FTP, and view it from there.

Q. How do I clear the log entries?

A. You can clear the log by deleting the entries and saving.

Q. How do I read the log?

A. It will have the info in this format, Date, Time, Userid, Username, IP Address.


-------------------------------------------------------------------------------------------

If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!
-------------------------------------------------------------------------------------------

v1.0.0 Initial release.

ozzy47 10-24-2013 11:04 PM

Reserved.

00pavan00 10-25-2013 06:43 AM

Thanku very much :) Great helper .

00pavan00 10-25-2013 07:47 AM

Quote:

Originally Posted by ozzy47 (Post 2455972)
Reserved.

And one more think this plugin will not work if you enabled Send message to Admin if fail to login to admincp so disable it if you using this plugin.

A small suggesting to author is it possible to select our self to log ip or username what even we want as selected thanku.

OR

Make it as two text files one file will log all details another file will log only ips. Thanku. This is really helps when you guys get my situation thanku. :)

ozzy47 10-25-2013 08:51 AM

Quote:

Originally Posted by 00pavan00 (Post 2456054)
And one more think this plugin will not work if you enabled Send message to Admin if fail to login to admincp so disable it if you using this plugin.

Is that a mod or stock vBulletin? If it is a mod, what is the link to it.


Quote:

Originally Posted by 00pavan00 (Post 2456054)
A small suggesting to author is it possible to select our self to log ip or username what even we want as selected thanku.

OR

Make it as two text files one file will log all details another file will log only ips. Thanku. This is really helps when you guys get my situation thanku. :)

I can maybe see about these in a future update.

00pavan00 10-25-2013 09:12 AM

Here is the link
https://vborg.vbsupport.ru/showthread.php?t=229232

HTML Code:

fwrite($fp, vbdate($vbulletin->options['dateformat'] . ',' . $vbulletin->options['timeformat']) . ',' . $vbulletin->userinfo['userid'] . ',' . $vbulletin->db->escape_string($vbulletin->userinfo['username']) . ',' . IPADDRESS . "\r\n");
ANd in the above code what code i need to remove to log only ipaddress . becz i need to very urgently thanku. :)

ozzy47 10-25-2013 09:46 AM

Change that line to this.

Code:

fwrite($fp, (IPADDRESS . "\r\n"));


All times are GMT. The time now is 04:27 AM.

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.01101 seconds
  • Memory Usage 1,732KB
  • 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)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete