[Question] L2j Registration Codes for ASP L2J 

Status
Not open for further replies.
Newbie Spellweaver
Joined
Aug 22, 2005
Messages
64
Reaction score
0
Hi guys. There are a lot of php codes for L2j. But i wanna make an ASP site for L2j server. But i dont know how can encriypt the password?

Forexample the password is 12345
when i register wit php script or java this password adds to database like jLIjfQZ5yojbZGTqxg2pY0VROWQ=

how can i generate this encrypted password with ASP or ASP.NET?

Thank you very much.
 
I tried Vb.NET base64 encode system. Result negative. yes l2j password is base64 but not only.
Sample Password : abc123

startSQLAccountManager.bat result :
Y2fEjdGT1W6nsLqtJbGUVeUp9e4=

VB.NET base64 result :
YQBiAGMAMQAyADMA
 
Upvote 0
Yo people, lineage's password uses (in this sequence) the following encrypting (and hashing) functions:
1 - It makes a UTF-8 Encode
2 - it makes a SHA1 hash
3 - it makes a PACK(H*, <value>)
4 - it makes a Base64 Encode

I tried to get those functions to work in asp too, got the SHA1 working (UTF-8 not needed 'cause i'm using only ANSI characters), PACK i never figured it out and never found a similiar ASP or VBCode function to it.
Base64 i've download a code for it, but is not 100% as the rules of the function, it is missing the '=' character for non-24 bit finishing characters on the encrypted string.
So, all i have to say for those who got 'stuck' like me to make those functions work, is that you have two options:
1 - Make your page in php with asp tags
2 - Get the source from L2Off page (wich is in asp) i try to figure out the functions it uses for creating the user encrypted password.
 
Upvote 0
Status
Not open for further replies.
Back