Support for Account Manager
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- daedalus
- Posts: 155
- Joined: Sun Mar 12, 2006 12:16 pm
Re: Support for Account Manager
Hi everyone,
I want to warn administrator than ACM can be under SQL injection issue. You should get the last update and enable log (don't forget to secure your log directory).
Remember : You mustn't give to the ACM a full access to your db just give access to account and account_data to prevent any change on the characters table for example. You shouldn't use account services for now.
I want to warn administrator than ACM can be under SQL injection issue. You should get the last update and enable log (don't forget to secure your log directory).
Remember : You mustn't give to the ACM a full access to your db just give access to account and account_data to prevent any change on the characters table for example. You shouldn't use account services for now.
Daedalus
- denser
- Posts: 1392
- Joined: Wed May 30, 2007 9:13 pm
- Location: Russia
- Contact:
Re: Support for Account Manager
yep, solved smtp. i change my MX settings and change provider ) google is awesome 
add strtolower while check login...allworks

add strtolower while check login...allworks
Tiger, once tasted human flesh, will want to taste it again
L2J - the place where glad to see you any time!
L2J - the place where glad to see you any time!
- daedalus
- Posts: 155
- Joined: Sun Mar 12, 2006 12:16 pm
Re: Support for Account Manager
@denser, good to know. Thanks for your language file
. Did you have any issue on your server ?

Daedalus
-
- Posts: 67
- Joined: Sun Sep 13, 2009 2:09 pm
- Location: Taiwan
- Contact:
Re: Support for Account Manager
Hello Daedalus
could you add a fuction to this Account Manager, that players can change they's birthday?
if 『characters』『 createTime』= 0 (1970/1/1 AM08:00:00)
can correct to anytime. Like 164808923000 (1975/3/23 PM08:15:23)
Thanks Your Account Manager
could you add a fuction to this Account Manager, that players can change they's birthday?
if 『characters』『 createTime』= 0 (1970/1/1 AM08:00:00)
can correct to anytime. Like 164808923000 (1975/3/23 PM08:15:23)
Thanks Your Account Manager
- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
Re: Support for Account Manager
with the latest version (152) of ACM, now I have this issue...
so, I've reverted to version (151) and is working fine.
Code: Select all
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\apache\htdocs\acm\classes\account.class.php on line 391 Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\apache\htdocs\acm\classes\account.class.php on line 391 Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\apache\htdocs\acm\classes\account.class.php on line 392 Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\apache\htdocs\acm\classes\account.class.php on line 392
- disorder35
- Posts: 700
- Joined: Sat Aug 01, 2009 3:29 pm
Re: Support for Account Manager
how do we set up acm to access only account and account_data.
So What?????
- denser
- Posts: 1392
- Joined: Wed May 30, 2007 9:13 pm
- Location: Russia
- Contact:
Re: Support for Account Manager
read first postdisorder35 wrote:how do we set up acm to access only account and account_data.

@daedalus, yes i have. trouble with register when use capital letters in login.
solved by add into the func strtolower() - no any bugs
Tiger, once tasted human flesh, will want to taste it again
L2J - the place where glad to see you any time!
L2J - the place where glad to see you any time!
-
- Posts: 6
- Joined: Fri Mar 05, 2010 1:33 am
Re: Support for Account Manager
Help me, please.
I tried to login and appears that:
Ive checked much mora than 5 times, the login and pass. I can enter the game, but i can´t login in the ACM system =(( What i have to do?
When i tried to retrieve a password, i receive that:
Thx, and sorry my bad english
I tried to login and appears that:
Code: Select all
Warning : SPAMMING AUTHENTICATION We were unable to verify your login. Either your login information was entered incorrectly, or the account system is currently unavailable.
When i tried to retrieve a password, i receive that:
Code: Select all
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Program Files (x86)\VertrigoServ\www\l2\account_manager\classes\account.class.php on line 391 Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\Program Files (x86)\VertrigoServ\www\l2pk\account_manager\classes\account.class.php on line 391 Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Program Files (x86)\VertrigoServ\www\l2\account_manager\classes\account.class.php on line 392 Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\Program Files (x86)\VertrigoServ\www\l2\account_manager\classes\account.class.php on line 392
- daedalus
- Posts: 155
- Joined: Sun Mar 12, 2006 12:16 pm
Re: Support for Account Manager
@all who have mysql_real_escape_string error, Yeah I've see fu.... dev environnement which have permanent sql connection. The last update should be okay 
@labman, Sorry, I don't have time to add your feature for know.
Another tips for improve your security is to set two different db one for login and the second for the game.

@labman, Sorry, I don't have time to add your feature for know.
Another tips for improve your security is to set two different db one for login and the second for the game.
Daedalus
- ThePhoenixBird
- L2j Inner Circle
- Posts: 1857
- Joined: Fri May 27, 2005 5:11 pm
Re: Support for Account Manager
I want to congratulate daedalus for his impressive work with the Account Manager and his hard work giving support for it to all the community.
Congratulations.
Congratulations.
-
- Posts: 6
- Joined: Fri Mar 05, 2010 1:33 am
Re: Support for Account Manager
Ok, im waiting for the new release ^^ very thx!!!!daedalus wrote:@all who have mysql_real_escape_string error, Yeah I've see fu.... dev environnement which have permanent sql connection. The last update should be okay
@labman, Sorry, I don't have time to add your feature for know.
Another tips for improve your security is to set two different db one for login and the second for the game.
Me too. Congratulations, good job!!!ThePhoenixBird wrote:I want to congratulate daedalus for his impressive work with the Account Manager and his hard work giving support for it to all the community.
Congratulations.
- daedalus
- Posts: 155
- Joined: Sun Mar 12, 2006 12:16 pm
Re: Support for Account Manager
@ThePhoenixBird,
Thx, but It's nothing compare to the java support side
@diegobh,
Release is already avaible.
Thx, but It's nothing compare to the java support side

@diegobh,
Release is already avaible.
Daedalus
-
- Posts: 7
- Joined: Fri Dec 18, 2009 5:30 pm
Re: Support for Account Manager
SQL injection? Oo in last rev too?daedalus wrote:Hi everyone,
I want to warn administrator than ACM can be under SQL injection issue. You should get the last update and enable log (don't forget to secure your log directory).
Remember : You mustn't give to the ACM a full access to your db just give access to account and account_data to prevent any change on the characters table for example. You shouldn't use account services for now.
anyways thx daedalus for your tool & support.
- daedalus
- Posts: 155
- Joined: Sun Mar 12, 2006 12:16 pm
Re: Support for Account Manager
Normaly, It should be okay but ACM isn't safe at 100%. I made now two check one when script got user entries and another before to send sql request.
If you set db access only on accounts and account_data tables it should be fine.
If you set db access only on accounts and account_data tables it should be fine.
Daedalus
-
- Posts: 3
- Joined: Sat Feb 20, 2010 3:51 pm
- Location: Russia
Re: Support for Account Manager
Hey guys , i'm heaving white page after Login or creating new acc .
WAMP 2.0 , Win7 .
install.php - OK
Tried different configs but no luck .
Log :
WAMP 2.0 , Win7 .
install.php - OK
Tried different configs but no luck .

Log :
Code: Select all
11:02:49 127.0.0.1 bartz_loginserver->SELECT COUNT(`login`) FROM `accounts` WHERE `login` = 'Alex' AND `password` = 'sdV4ERHYT3s/5FoIUuWXWM16h+U=' AND `accessLevel` >= 0 LIMIT 1;11:02:49 127.0.0.1 bartz_loginserver->UPDATE `accounts` SET `lastactive` = '1268564569', `lastIP` = '127.0.0.1' WHERE `login` = 'Alex' LIMIT 1;11:02:49 127.0.0.1 bartz_loginserver->SELECT `email` FROM `accounts` WHERE `login` = 'Alex' LIMIT 1;11:02:49 127.0.0.1 bartz_loginserver->SELECT COUNT(`login`) FROM `accounts` WHERE `login` = 'Alex' AND `password` = 'sdV4ERHYT3s/5FoIUuWXWM16h+U=' AND `accessLevel` >= 0 LIMIT 1;