[DBTech] DragonByte Security

[DBTech] DragonByte Security [Paid] 5.0.0

No permission to buy ($14.95)

DragonByte Tech

Well-known member
DragonByte Tech submitted a new resource:

[DBTech] DragonByte Security - Improve your forum's security

DragonByte keeps a watchful eye over your forum even when you are not there, and has the capability to alert you of any suspicious activity.

Uses
DragonByte is the ideal product for forums that are concerned about security, or wish to be alerted when something suspicious happens. Featuring multiple "Security Watchers" such as Failed Logins and Failed AdminCP Logins, you can set up different "tiers" of actions to be taken when certain thresholds are met. For example, if...

Read more about this resource...
 
Just trying to install this one, and it's flagging the following:

1512111177685.webp

I've re-uploaded the files, and still getting the same error.
 
That’s fine, it’s because of the way the files are generated during the download. Just ignore it :)


Fillip

Then we have show lot of error from File health check ? I am still are not understand that why not XF 2 release in seperatly without mixing with XF1 files? When we are using XF 2 then why need upload XF1 files for eating server space? If File health check show me error then how to understanding that error or not ? If this then we are not interested using this type add-on anymore.

PvBm9LrVRyixcFxBaBNlMw.png
 
Then we have show lot of error from File health check ? I am still are not understand that why not XF 2 release in seperatly without mixing with XF1 files?
As I explained @ our site, the XF1 and XF2 versions are bundled because the XF2 version is a free update.

I'm not sure I understand why this is such a huge problem for you. The only way we could have released the XF2 version separately using our current infrastructure would be if we decided to charge for the XF2 version.

If any of our customers reading this thread would rather be charged for the XF2 version so that the XF1 files are not included in the download, feel free to click "Like" on this post. If we get enough likes, we'll change our policy and charge separately for the XF2 versions.


Fillip
 
Just as a quick update, I've investigated the hashes.json build method @ our site. I've updated it to exclude the /library/ folder (the XF1 files), and resolved an issue where it included folders in the list of hashes.

There should now be no more file health check issues :)


Fillip
 
Getting lot of server error log about MySQL query error [1406]: Data too long for column 'username' at row 1 src/XF/Db/AbstractStatement.php:212


Code:
XF\Db\Exception: MySQL query error [1406]: Data too long for column 'username' at row 1 src/XF/Db/AbstractStatement.php:212

Generated by: Unknown account Jan 8, 2018 at 9:43 PM

Stack trace

INSERT  INTO `xf_dbtech_security_adminstrikes` (`username`, `userid`, `ipaddress`, `dateline`) VALUES (?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL query err...', 1406, '22001')
#1 src/XF/Db/Mysqli/Statement.php(69): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1406, '22001')
#2 src/XF/Db/AbstractAdapter.php(74): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(150): XF\Db\AbstractAdapter->query('INSERT  INTO `x...', Array)
#4 src/addons/DBTech/Security/XF/Service/User/Login.php(134): XF\Db\AbstractAdapter->insert('xf_dbtech_secur...', Array)
#5 src/XF/Service/User/Login.php(107): DBTech\Security\XF\Service\User\Login->recordFailedAttempt()
#6 src/XF/Pub/Controller/Login.php(69): XF\Service\User\Login->validate('', NULL)
#7 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Login->actionLogin(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Login', 'Login', 'html', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Login), NULL)
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(12) "/login/login"
  ["referrer"] => string(33) "/login/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["login"] => string(54) "vernell.shimizu9@gallargo6.fashionwomenaccessories.com"
    ["password"] => string(8) "********"
    ["remember"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
 
@DragonByte Tech Getting lot of error log about XF\Db\Exception: MySQL query error [1406]: Data too long for column 'username' at row 1 src/XF/Db/AbstractStatement.php:212, What the fix for this issue?
 
It will happen if someone tries to login to the AdminCP with an invalid user name that is too long to be a real user name. Keep an eye on future release notes :)


Fillip
 
It will happen if someone tries to login to the AdminCP with an invalid user name that is too long to be a real user name. Keep an eye on future release notes :)


Fillip

OK Wait for this update. Does this error log from your add-on?

Code:
Error: Call to undefined method XF\Db\Mysqli\Adapter::fetchCol() src/addons/DBTech/Security/XF/ControllerPlugin/Login.php:58

Generated by: shak Jan 21, 2018 at 11:52 PM

Stack trace

#0 src/XF/Pub/Controller/Register.php(124): DBTech\Security\XF\ControllerPlugin\Login->completeLogin(Object(Datio\AllowedEmails\XF\Entity\User), true)
#1 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Register->actionConnectedAccount(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'ConnectedAccoun...', 'html', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Register), NULL)
#3 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#5 src/XF.php(328): XF\App->run()
#6 index.php(13): XF::runApp('XF\\Pub\\App')
#7 {main}

Request state

array(4) {
  ["url"] => string(38) "/register/connected-accounts/facebook/"
  ["referrer"] => string(36) "/register/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Uploaded a hotfix for that issue.


Fillip


One more issue in Find Users by IP Address. If Find Users by IP Address fields empty then not error showing, only blank page. Getting error with fill up the Find IP Addresses for User fields.

Code:
InvalidArgumentException: The value "Nirjon" is not a valid IP address. phar://src/addons/DBTech/Security/3rdParty/GeoIp2/geoip2.phar/vendor/maxmind-db/reader/src/MaxMind/Db/Reader.php:100

Generated by: Nirjon Jan 22, 2018 at 3:08 AM

Stack trace

#0 phar://src/addons/DBTech/Security/3rdParty/GeoIp2/geoip2.phar/src/Database/Reader.php(220): MaxMind\Db\Reader->get('Nirjon')
#1 phar://src/addons/DBTech/Security/3rdParty/GeoIp2/geoip2.phar/src/Database/Reader.php(193): GeoIp2\Database\Reader->getRecord('City', 'City', 'Nirjon')
#2 phar://src/addons/DBTech/Security/3rdParty/GeoIp2/geoip2.phar/src/Database/Reader.php(70): GeoIp2\Database\Reader->modelFor('City', 'City', 'Nirjon')
#3 src/addons/DBTech/Security/Model/GeoIp.php(77): GeoIp2\Database\Reader->city('Nirjon')
#4 src/addons/DBTech/Security/ActionAdmin/Search.php(183): DBTech\Security\Model\GeoIp->city('Nirjon')
#5 src/addons/DBTech/Security/Application/Core.php(173): DBTech\Security\ActionAdmin\Search->actionDoSearch()
#6 src/addons/DBTech/Security/Admin/Controller/Route.php(39): DBTech\Security\Application\Core->runAction('DBTech\\Security...')
#7 src/XF/Mvc/Dispatcher.php(249): DBTech\Security\Admin\Controller\Route->actionIndex(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('DBTech\\Security...', 'Index', 'html', Object(XF\Mvc\ParameterBag), 'dbtech_security', Object(DBTech\Security\Admin\Controller\Route), NULL)
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 admin.php(13): XF::runApp('XF\\Admin\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(33) "/admin.php?dbtech-security/search"
  ["referrer"] => string(59) "/admin.php?dbtech-security/search"
  ["_GET"] => array(1) {
    ["dbtech-security/search"] => string(0) ""
  }
  ["_POST"] => array(6) {
    ["action"] => string(9) "do-search"
    ["searchType"] => string(1) "1"
    ["ipaddress"] => string(6) "Nirjon"
    ["username"] => string(6) "Nirjon"
    ["depth"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}

Error from nav link.

0pKWzpUgTZSbVOfjoC66-w.png


Code:
Oops! We ran into some problems.
Controller DBTech\Security\ActionAdmin\Main could not be found.
 
Last edited:
@DragonByte Tech Does fixed above issue? Also getting Server error logs about MySQL statement prepare error [1146]: Table 'nuser_xendata.dbtech_security_compromisedlog' doesn't exist.

Code:
XF\Db\Exception: MySQL statement prepare error [1146]: Table 'nuser_xendata.dbtech_security_compromisedlog' doesn't exist src/XF/Db/AbstractStatement.php:212

Generated by: mashiurrahman Jan 25, 2018 at 3:31 PM

Stack trace

INSERT  INTO `dbtech_security_compromisedlog` (`userid`, `ipaddress`, `dateline`, `attemptedusernames`) VALUES (?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL statement...', 1146, '42S02')
#1 src/XF/Db/Mysqli/Statement.php(35): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1146, '42S02')
#2 src/XF/Db/Mysqli/Statement.php(46): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(74): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(150): XF\Db\AbstractAdapter->query('INSERT  INTO `d...', Array)
#5 src/addons/DBTech/Security/XF/ControllerPlugin/Login.php(67): XF\Db\AbstractAdapter->insert('dbtech_security...', Array)
#6 src/XF/Pub/Controller/Login.php(92): DBTech\Security\XF\ControllerPlugin\Login->completeLogin(Object(Datio\AllowedEmails\XF\Entity\User), true)
#7 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Login->actionLogin(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Login', 'Login', 'html', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Login), NULL)
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(12) "/login/login"
  ["referrer"] => string(32) "/help/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["login"] => string(18) "@yahoo.com"
    ["password"] => string(8) "********"
    ["remember"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
 
Back
Top Bottom