[OzzModz] Security Lock Old Accounts

[OzzModz] Security Lock Old Accounts 2.1.0

No permission to download

Ozzy47

Well-known member
Ozzy47 submitted a new resource:

[OzzModz] Security Lock Old Accounts - Stop spammers from using breached accounts

Requirements:
XenForo 2.2+

Description:
This small addon will help you ward off the spammers using old accounts that have been breached. What this does is set the accounts security lock to "reset" which means the user will have to reset their password before they login. The way to reset the password is the standard XF reset password function, they will get an email with the password reset.

You can control the amount of days since the users last activity that the addon will...

Read more about this resource...
 
I’ll consider it, but that would kinda make the point of this useless. I mean just because a user is in group “X” doesn’t mean their password hasn’t been compromised or that someone is trying to access their old account.
Thanks for your reply.

We are getting this error very frequently. Do you have any ideas about what might be the cause?
 

Attachments

  • server-error-log.webp
    server-error-log.webp
    14.8 KB · Views: 33
Just came to report seeing the same issues on my site.

Code:
ErrorException: [E_WARNING] Attempt to read property "last_activity" on null src/addons/OzzModz/SecurityLock/XF/Service/User/Login.php:23
Generated by: Unknown account February 14, 2024 at 3:54 PM
Stack trace
#0 src/addons/OzzModz/SecurityLock/XF/Service/User/Login.php(23): XF::handlePhpError(2, '[E_WARNING] Att...', '/home/nginx/dom...', 23)
#1 src/addons/SV/PasswordTools/XF/Service/User/Login.php(19): OzzModz\SecurityLock\XF\Service\User\Login->validate('*****', Object(XF\Phrase))
#2 src/XF/Pub/Controller/Login.php(93): SV\PasswordTools\XF\Service\User\Login->validate('*****', Object(XF\Phrase))
#3 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Login->actionLogin(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Login', 'Login', Object(XF\Mvc\RouteMatch), Object(DigitalPoint\Cloudflare\XF\Pub\Controller\Login), NULL)
#5 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DigitalPoint\Cloudflare\XF\Pub\Controller\Login), NULL)
#6 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#8 src/XF.php(524): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}
Request state
array(4) {
  ["url"] => string(12) "/login/login"
  ["referrer"] => string(26) "https://z22se.co.uk/login/"
  ["_GET"] => array(1) {
    ["/login/login"] => string(0) ""
  }
  ["_POST"] => array(6) {
    ["_xfToken"] => string(8) "********"
    ["login"] => string(12) "MatthewEmpof"
    ["password"] => string(8) "********"
    ["remember"] => string(1) "1"
    ["_xfRedirect"] => string(26) "https://z22se.co.uk/login/"
    ["submit"] => string(0) ""
  }
}
 
Thanks for your reply.

We are getting this error very frequently. Do you have any ideas about what might be the cause?

same problem

Just came to report seeing the same issues on my site.

Code:
ErrorException: [E_WARNING] Attempt to read property "last_activity" on null src/addons/OzzModz/SecurityLock/XF/Service/User/Login.php:23
Generated by: Unknown account February 14, 2024 at 3:54 PM
Stack trace
#0 src/addons/OzzModz/SecurityLock/XF/Service/User/Login.php(23): XF::handlePhpError(2, '[E_WARNING] Att...', '/home/nginx/dom...', 23)
#1 src/addons/SV/PasswordTools/XF/Service/User/Login.php(19): OzzModz\SecurityLock\XF\Service\User\Login->validate('*****', Object(XF\Phrase))
#2 src/XF/Pub/Controller/Login.php(93): SV\PasswordTools\XF\Service\User\Login->validate('*****', Object(XF\Phrase))
#3 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Login->actionLogin(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Login', 'Login', Object(XF\Mvc\RouteMatch), Object(DigitalPoint\Cloudflare\XF\Pub\Controller\Login), NULL)
#5 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DigitalPoint\Cloudflare\XF\Pub\Controller\Login), NULL)
#6 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#8 src/XF.php(524): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}
Request state
array(4) {
  ["url"] => string(12) "/login/login"
  ["referrer"] => string(26) "https://z22se.co.uk/login/"
  ["_GET"] => array(1) {
    ["/login/login"] => string(0) ""
  }
  ["_POST"] => array(6) {
    ["_xfToken"] => string(8) "********"
    ["login"] => string(12) "MatthewEmpof"
    ["password"] => string(8) "********"
    ["remember"] => string(1) "1"
    ["_xfRedirect"] => string(26) "https://z22se.co.uk/login/"
    ["submit"] => string(0) ""
  }
}

Should be fixed in the latest version.
 
I changed the password of a very old user and tried to log in. It works just fine. His e-mail did not appear in the first message, but his e-mail appeared in the warnings he gave while browsing the forum. Well, that's enough..
 
  • ErrorException: [E_WARNING] Creating default object from empty value
  • src/addons/OzzModz/SecurityLock/XF/Service/User/Login.php:43
Code:
#0 src/addons/OzzModz/SecurityLock/XF/Service/User/Login.php(43): XF::handlePhpError(2, '[E_WARNING] Cre...', '/var/www/client...', 43, Array)
#1 src/addons/SV/SignupAbuseBlocking/XF/Service/User/Login.php(19): OzzModz\SecurityLock\XF\Service\User\Login->validate('*****', Object(XF\Phrase))
#2 src/XF/Pub/Controller/Login.php(96): SV\SignupAbuseBlocking\XF\Service\User\Login->validate('*****', Object(XF\Phrase))
#3 src/addons/DigitalPoint/Analytics/XF/Pub/Controller/Login.php(9): XF\Pub\Controller\Login->actionLogin()
#4 src/addons/OzzModz/Login/XF/Pub/Controller/Login.php(177): DigitalPoint\Analytics\XF\Pub\Controller\Login->actionLogin()
#5 src/XF/Mvc/Dispatcher.php(352): OzzModz\Login\XF\Pub\Controller\Login->actionLogin(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Login', 'Login', Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\XF\Pub\Controller\Login), NULL)
#7 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\XF\Pub\Controller\Login), NULL)
#8 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#10 src/XF.php(524): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}
 
Back
Top Bottom