Support for Account Manager

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
daedalus
Posts: 155
Joined: Sun Mar 12, 2006 12:16 pm

Re: Support for Account Manager

Post by daedalus »

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.
Daedalus
User avatar
denser
Posts: 1392
Joined: Wed May 30, 2007 9:13 pm
Location: Russia
Contact:

Re: Support for Account Manager

Post by denser »

yep, solved smtp. i change my MX settings and change provider ) google is awesome :)
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!
User avatar
daedalus
Posts: 155
Joined: Sun Mar 12, 2006 12:16 pm

Re: Support for Account Manager

Post by daedalus »

@denser, good to know. Thanks for your language file :). Did you have any issue on your server ?
Daedalus
labman
Posts: 67
Joined: Sun Sep 13, 2009 2:09 pm
Location: Taiwan
Contact:

Re: Support for Account Manager

Post by labman »

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
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Support for Account Manager

Post by MELERIX »

with the latest version (152) of ACM, now I have this issue...

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
so, I've reverted to version (151) and is working fine.
User avatar
disorder35
Posts: 700
Joined: Sat Aug 01, 2009 3:29 pm

Re: Support for Account Manager

Post by disorder35 »

how do we set up acm to access only account and account_data.
So What?????
User avatar
denser
Posts: 1392
Joined: Wed May 30, 2007 9:13 pm
Location: Russia
Contact:

Re: Support for Account Manager

Post by denser »

disorder35 wrote:how do we set up acm to access only account and account_data.
read first post :P
@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!
diegobh
Posts: 6
Joined: Fri Mar 05, 2010 1:33 am

Re: Support for Account Manager

Post by diegobh »

Help me, please.

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.
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:

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
Thx, and sorry my bad english
User avatar
daedalus
Posts: 155
Joined: Sun Mar 12, 2006 12:16 pm

Re: Support for Account Manager

Post by daedalus »

@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.
Daedalus
User avatar
ThePhoenixBird
L2j Inner Circle
L2j Inner Circle
Posts: 1857
Joined: Fri May 27, 2005 5:11 pm

Re: Support for Account Manager

Post by ThePhoenixBird »

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.
diegobh
Posts: 6
Joined: Fri Mar 05, 2010 1:33 am

Re: Support for Account Manager

Post by diegobh »

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.
Ok, im waiting for the new release ^^ very thx!!!!
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.
Me too. Congratulations, good job!!!
User avatar
daedalus
Posts: 155
Joined: Sun Mar 12, 2006 12:16 pm

Re: Support for Account Manager

Post by daedalus »

@ThePhoenixBird,

Thx, but It's nothing compare to the java support side :)

@diegobh,

Release is already avaible.
Daedalus
KaOs2055
Posts: 7
Joined: Fri Dec 18, 2009 5:30 pm

Re: Support for Account Manager

Post by KaOs2055 »

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.
SQL injection? Oo in last rev too?

anyways thx daedalus for your tool & support.
User avatar
daedalus
Posts: 155
Joined: Sun Mar 12, 2006 12:16 pm

Re: Support for Account Manager

Post by daedalus »

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.
Daedalus
RuJin
Posts: 3
Joined: Sat Feb 20, 2010 3:51 pm
Location: Russia

Re: Support for Account Manager

Post by RuJin »

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 :

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;  
Post Reply