Author | Message | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Anti-Brute Force shit fix for WebCP
| Since there isn't yet an official fix, you can use this quick garbage to correction in your webcp common.php file around line 375. You will also need to add a new table in your server database named "webcp" with the columns "userip, account, lastlogin, attempts". This allows 10 failed login attempts per 5 minutes, but you can change it or pretty it up with custom values in the config.php or whatever. This should reduce a machine code cracking to several months up to a year on any dictionary word password. $userip=$_SERVER['REMOTE_ADDR']; case 'login': $lastlogin = $currentlogin[0]['lastlogin'];
|
Re: Anti-Brute Force shit fix for WebCP
| Also there should be fix to account req packet..... --- Remember when is not an organization nor a fucking group , it's simply an idea that we believe in and live for. The priority of Remember when should come before oxygen , as oxygen is cosmetic even life itself is cosmetic,that's why offer our worthless lives to The "Remember when"
|
Re: Anti-Brute Force shit fix for WebCP
| I thought that was clamped via config in the official source, EE handles it slightly differently than EOSERV in that respect.
|
Re: Anti-Brute Force shit fix for WebCP
| Jesus christ use a pastebin or code tags or something. BTW this can be bypassed by spoofing a Client-IP or X-Forwarded-For header. You'll have to configure your webserver to drop the headers or take that out.
|
Re: Anti-Brute Force shit fix for WebCP
| Apollo posted: (6th Apr 2016, 12:23 am) I was not speaking about the login packet or the account creation one. I was speaking about the small packet that you includes only the id of the account you wanna create... i think clone doesn't have any limitation over that. Edit : sausage come on hes cleaning your shit. --- Remember when is not an organization nor a fucking group , it's simply an idea that we believe in and live for. The priority of Remember when should come before oxygen , as oxygen is cosmetic even life itself is cosmetic,that's why offer our worthless lives to The "Remember when"
|
Re: Anti-Brute Force shit fix for WebCP
| If I devote my day to rate-limiting things will you shut up about "Oh my god I can't make accounts with the same name as other accounts so exploitable"? Even if it was rate limited 100x slower you could still get a list of dictionary account names in only a few months.
|
Re: Anti-Brute Force shit fix for WebCP
| You never replied but here is the WebCP login rate limiting code being added: http://svn.eoserv.net/webcp?op=comp&compare[]=%2F@506&compare[]=%2F@513 It has been implemented on game.eoserv.net. Please leave my inbox in peace.
|
Re: Anti-Brute Force shit fix for WebCP
| Nice
|
Re: Anti-Brute Force shit fix for WebCP
| Heh. I like that IPv6 was thought of. Is anyone's WebCP even accessible via IPv6? --- Wish upon a star!
|
Re: Anti-Brute Force shit fix for WebCP
| Plasmastar posted: (6th Apr 2016, 02:40 pm) game.eoserv.net is. Slightly annoying since EO itself doesn't support IPv6, so you can't match up players and web users. |