![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
I don't know if this can come here, if it doesn't, please move it.
Here's somehing that I made with my noobish knowledge of MSSQL. Needed: l2pass.exe Steps to create an account: 1 - Open SQL Server Management Studio 2 - Click on "New Query" 3 - Paste the code below, inside the query window: Code:
insert into user_auth (account, password, quiz1, quiz2, answer1, answer2)
values ('<nick>',<value outputed by l2pass.exe>,'quiz1' ,'quiz2',<value outputed by l2pass.exe>,<value outputed by l2pass.exe>)
insert into user_account (account, pay_stat)
values ('<nick>',1)
b) Replace <value outputed by l2pass.exe> by value. DON'T USE THE ' ', or else it'll output an error. 4 - Click on Execute. There.. account created! Easy, right? And a password changer: 1 - Open SQL Server Management Studio 2 - Click on "New Query" 3 - Paste the code below, inside the query window: Code:
update lin2db.dbo.user_auth set password = <value outputed by l2pass.exe> where account like '<nick>'; /*Checking if the value is correct*/ select * from lin2db.dbo.user_auth where account like '<nick>'; You changed the password! ![]() Hope this helps! Have fun! |
|
|
|
|