Original post: http://community.9cbs.net/expert/topic/3271/3271317.xml? Temp = .9382135
If EXISTS (Select * from dbo.sysObjects where id = Object_id (n '[dbo]. [p_getpassword]') And ObjectProperty (ID, n'isprocedure ') = 1) Drop Procedure [dbo]. [p_getpassword] Go
/ * - Extreme method crack SQL Server user password
You can crack Chinese, special characters, character trailing spaces, in order to facilitate display of special characters, in the display result, ASCII constituting passwords
In theory, you can crack the condition of any one-to-raise password. It is enough for your computer.
Zou Jian 2004.08 - * /
/ * - Call example
EXEC P_GETPASSWORD - * / CREATE PROC P_GETPASSWORD @ username sysname = NULL, - User name, if not specified, list all users @pwdlen int = 2 - the number of bits to be cracked, the default is 2 bits and below Asset @ pwdlen = case when isnull (@PWDLEN, 0) <1 THEN 1 Else @PWDLEN-1 Endselect Top 255 ID = Identity (int, 0, 1) INTO #t from syscolumnsalter table #t add constraint pk_ # tprimary Key (ID)
Select Name, Password, Type = 2048 THEN 1 ELSE 0 End, JM = Case When Password Is Null Then 1 Else 0 end, PWDSTR = CAST ('' as sysname), PWD = CAST ('' as varchar ( 8000)) INTO #PWDFROM MASTER.DBO.SYSXLOGINS AWHERE SRVID Is Null and Name = Isnull (@ username, name)