![]() |
[SHARE] Prevent passwords bruteforcing
I know that some game passwords online checkers are exists now, so there a way to make this process slowly.
This is SQL Server side modification, already checked under SQL2005 EXPRESSS 1) you need to add table user_auth_log to lin2db Code:
USE [lin2db]2) You need to modify lin2db..ap_GPwd stored procedure: Code:
set ANSI_NULLS OFFSo, now rules are: 5 login tryes per 15 minutes and not less than 2 seconds between tryes. One more bad things exists with this code Change binary 16 string in value @pwd Code:
SELECT @pwd = 0xC3371572F8F9BF71A8D31A1EB2436D6P.S. If you have got hex fix (or other) to login two users with one char (for self clone, selling and dupe resources), please share it. Torune's patch is great, but ability for char cloning still exists. |
cypher's dll fixes cloning issues
|
thanks for the share. i think there is a setting that if someone is already logged and you try to login, it doesn't kick the first person. So that way the cloning or duping has to be impossible
|
Well as the title of this topic says..this should prevent "stealing" out players acc via bruteforce, there is no word about cloning.
|
Thanks a lot for sharing man.
|
So, today i check prevent system SQL table user_auth_log, and i think it works fine. But for now i see that bruteforce spot target to account web manager. Add similar block for it, is a nice idea.
if you dont know yet, lineage2 password hash system, is a fake, look there https://postpacific.loc-online.com/f...ead.php?t=4421 password la2hash passw950 0xB5394575C865BD7247DEF8F835AF8989 passw951 0xB5394575C865BD7247DEF8F835AF8989 passw952 0xB5394575C865BD7247DEF8F835AF8989 passw953 0xB5394575C865BD7247DEF8F835AF8989 passw954 0xB5394575C865BD7247DEF8F835AF8989 so bruteforcing is not so hard on several passwords Quote:
>cypher's dll fixes cloning issues Who can get a link to it? Forum search returns wrong matches :( |
Quote:
I'm not good in SQL , but this , in my mind , fixed problem with static @PWD... Decrypt password is easy , if I use , for example only small letter , it take about 3 minutes at my computer... This is more security, if randomise generate password every time. Code:
set ANSI_NULLS ON |
Why not make the built-in password you use when they fail the check really long, like 25-32 binary characters? It would be impossible for an L2 password hash to ever exceed 16 binary characters, afaik.
I'm not an SQL guru, and stored procedures are not my specialty, but if someone knows if making the hash extremely long would make it impossible to get access to an account after the 5 fails, let me know. It'd be safer than using the random password of 16 characters since that can still randomly match (tho extremely rare chance). |
There's a major flaw... if you know a persons account name you can spam login and basically lock their account.
I've created a real time logging feature that'll log not only account names, but will log ips. so it'll keep track of x failed logins in x minutes, and ban that ip for x amount of time. Ban by adding ip to BlockIPS.txt will use this in conjunction with https://postpacific.loc-online.com/f...t=BlockIPS.txt |
Quote:
Quote:
|
| All times are GMT. The time now is 16:24. |