首页 > 数据库 >奇迹Mu 删除MD5加密数据库语句!

奇迹Mu 删除MD5加密数据库语句!

时间:2023-12-05 10:56:58浏览次数:43  
标签:CI 加密 Chinese PRC Mu COLLATE NULL nvarchar MD5

很多GM在自己都不知道的情况下,就给游戏加了MD5的加密,MD5加密通常都是32位的加密,在写程序的逻辑上,通常会进行好几次的循环加密,导致很多用户注册或是登陆的时候会显示错误,今天MU-GM给大家提供一个清除数据库MD5的SQL语句。

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[MANG_INFO]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)

drop table [dbo].[MANG_INFO]

GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[MEMB_INFO]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)

drop table [dbo].[MEMB_INFO]

GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[MEMB_OUT]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)

drop table [dbo].[MEMB_OUT]

GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[MembInfoModify]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)

drop table [dbo].[MembInfoModify]

GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[VI_CURR_INFO]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)

drop table [dbo].[VI_CURR_INFO]

GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[VI_FQNW_INFO]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)

drop table [dbo].[VI_FQNW_INFO]

GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[VI_MIDS_INFO]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)

drop table [dbo].[VI_MIDS_INFO]

GO

CREATE TABLE [dbo].[MANG_INFO] (

[mang_guid] [int] NOT NULL ,

[mang___id] [nvarchar] (15) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[mang__pwd] [nvarchar] (15) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[mang_name] [nvarchar] (20) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[mail_addr] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[levl_name] [nvarchar] (30) COLLATE Chinese_PRC_CI_AS NULL ,

[part_name] [nvarchar] (30) COLLATE Chinese_PRC_CI_AS NULL ,

[auth_code] [nvarchar] (30) COLLATE Chinese_PRC_CI_AS NULL ,

[appl_days] [nvarchar] (8) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[ctl1_code] [nvarchar] (1) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[Group_code] [nvarchar] (2) COLLATE Chinese_PRC_CI_AS NULL ,

[dep_code] [nvarchar] (4) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[perm] [int] NOT NULL

) ON [PRIMARY]

GO

CREATE TABLE [dbo].[MEMB_INFO] (

[memb_guid] [int] IDENTITY (1, 1) NOT NULL ,

[memb___id] [varchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[memb__pwd] [varchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[memb_name] [varchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[sno__numb] [char] (13) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[post_code] [char] (6) COLLATE Chinese_PRC_CI_AS NULL ,

[addr_info] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,

[addr_deta] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,

[tel__numb] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,

[phon_numb] [varchar] (15) COLLATE Chinese_PRC_CI_AS NULL ,

[mail_addr] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,

[fpas_ques] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,

[fpas_answ] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,

[job__code] [char] (2) COLLATE Chinese_PRC_CI_AS NULL ,

[appl_days] [datetime] NULL ,

[modi_days] [datetime] NULL ,

[out__days] [datetime] NULL ,

[true_days] [datetime] NULL ,

[mail_chek] [char] (1) COLLATE Chinese_PRC_CI_AS NULL ,

[bloc_code] [char] (1) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[ctl1_code] [char] (1) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[adminaccess] [int] NOT NULL

) ON [PRIMARY]

GO

CREATE TABLE [dbo].[MEMB_OUT] (

[out__guid] [int] NOT NULL ,

[memb_guid] [int] NOT NULL ,

[sno__numb] [nvarchar] (7) COLLATE Chinese_PRC_CI_AS NULL ,

[memb_name] [nvarchar] (15) COLLATE Chinese_PRC_CI_AS NULL ,

[appl_days] [smalldatetime] NULL ,

[ctl1_code] [nvarchar] (1) COLLATE Chinese_PRC_CI_AS NULL

) ON [PRIMARY]

GO

CREATE TABLE [dbo].[MembInfoModify] (

[Number] [int] NOT NULL ,

[memb___id] [nvarchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[memb__pwd] [nvarchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[memb_name] [nvarchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[sno__numb] [nvarchar] (13) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[tel__numb] [nvarchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,

[phon_numb] [nvarchar] (15) COLLATE Chinese_PRC_CI_AS NULL ,

[mail_addr] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,

[fpas_ques] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,

[fpas_answ] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,

[bloc_code] [nvarchar] (1) COLLATE Chinese_PRC_CI_AS NULL

) ON [PRIMARY]

GO

CREATE TABLE [dbo].[VI_CURR_INFO] (

[ends_days] [nvarchar] (8) COLLATE Chinese_PRC_CI_AS NULL ,

[chek_code] [nvarchar] (1) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[used_time] [int] NULL ,

[memb___id] [nvarchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[memb_name] [nvarchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[memb_guid] [int] NOT NULL ,

[sno__numb] [nvarchar] (18) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[Bill_Section] [int] NULL ,

[Bill_Value] [int] NULL ,

[Bill_Hour] [int] NULL ,

[Surplus_Point] [int] NULL ,

[Surplus_Minute] [datetime] NULL ,

[Increase_Days] [int] NULL

) ON [PRIMARY]

GO

CREATE TABLE [dbo].[VI_FQNW_INFO] (

[appl_code] [nvarchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[ctrl_text] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,

[fpas_ques] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[fpas_answ] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[appl_days] [nvarchar] (8) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[ctl1_code] [nvarchar] (1) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[memb_name] [nvarchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[memb_guid] [int] NOT NULL ,

[fanw_guid] [int] NOT NULL ,

[memb___id] [nvarchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[sno__numb] [nvarchar] (18) COLLATE Chinese_PRC_CI_AS NOT NULL

) ON [PRIMARY]

GO

CREATE TABLE [dbo].[VI_MIDS_INFO] (

[memb___id] [nvarchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[memb_name] [nvarchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[sno__numb] [nvarchar] (18) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[appl_days] [nvarchar] (8) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[chek_code] [nvarchar] (1) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[prev_info] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[modi_info] [nvarchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,

[cont_text] [ntext] COLLATE Chinese_PRC_CI_AS NOT NULL ,

[mids_guid] [int] NOT NULL ,

[admin_name] [nvarchar] (10) COLLATE Chinese_PRC_CI_AS NULL

) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO

ALTER TABLE MEMB_INFO ALTER COLUMN memb__pwd VARCHAR(10) NOT NULL

GO

 

标签:CI,加密,Chinese,PRC,Mu,COLLATE,NULL,nvarchar,MD5
From: https://www.cnblogs.com/muonline/p/17876717.html

相关文章

  • AES java加密与MySql加密算法一致
    1.背景数据库加密与java程序加密算法保持一致,统一采用AES加密算法。2.java代码加密1packagecom.pacific.permission.test;23importjavax.crypto.Cipher;4importjavax.crypto.spec.SecretKeySpec;5importjava.util.Base64;67/**8*@authorluzhi......
  • RSA分段加密方案
    1.背景RSA加密对加密的内容是有长度限制的,如果超出了长度限制,就会报错。所以需要采用分段加密,案例如下。2.代码1packagecom.demo.util;23importorg.apache.commons.codec.binary.Base64;4importorg.apache.commons.lang3.ArrayUtils;56importjavax......
  • 【刷题笔记】124. Binary Tree Maximum Path Sum
    题目Givena non-empty binarytree,findthemaximumpathsum.Forthisproblem,apathisdefinedasanysequenceofnodesfromsomestartingnodetoanynodeinthetreealongtheparent-childconnections.Thepathmustcontain atleastonenode anddoes......
  • 详解RSA加密原理
    密码学密码学是指研究信息加密,破解密码的技术科学。密码学的起源可追溯到2000年前。而当今的密码学是以数学为基础的。密码学的历史大致可以追溯到两千年前,相传古罗马名将凯撒大帝为了防止敌方截获情报,用密码传送情报。凯撒的做法很简单,就是对二十几个罗马字母建立一张对应......
  • 关于C#的RSA加密(用于泛微OA)
    由于项目需要,需要用公钥对秘钥进行加密,且对接系统用C#开发,需求是这样的:  注册许可证时返回的公钥spk对秘钥信息secrit进行加密。由于公钥spk是字符串,但C#中只认可的xml字符串的公钥才能够进行加密,可以使用以下方法,先进行转换,将公钥字符串转换成XML,再进行加密,就可以得到加密......
  • [LeetCode] 1266. Minimum Time Visiting All Points
    Ona2Dplane,therearenpointswithintegercoordinatespoints[i]=[xi,yi].Returntheminimumtimeinsecondstovisitallthepointsintheordergivenbypoints.Youcanmoveaccordingtotheserules:In1second,youcaneither:moveverticallyb......
  • Wpf 第三方Mvvm包(mvvmLight/Microsoft.Toolkit.Mvvm/CommunityToolkit.Mvvm)
    十年河东,十年河西,莫欺少年穷学无止境,精益求精 mvvmLight和 Microsoft.Toolkit.Mvvm已被Nuget弃用且不再更新,在此不作说明CommunityToolkit.Mvvm是NetCore版本引用包,详情参考:WPFMVVM框架:CommunityToolkit.Mvvm包使用介绍1、wpf项目中使用 CommunityToolkit.Mvvm(NetCore3.1......
  • 如何实现 token 加密
    以最常见的token格式jwt为例,token分为三段,分别是header、payload、signature。其中,header标识签名算法和令牌类型;payload标识主体信息,包含令牌过期时间、发布时间、发行者、主体内容等;signature是使用特定的算法对前面两部分进行加密,得到的加密结果。token有防篡改的......
  • 原生并行版std::accumulate
    原生并行版std::accumulate​ 代码来自《c++并发编程实战》#include<iostream>#include<numeric>#include<algorithm>#include<thread>#include<functional>#include<vector>#include<chrono>typedeflonglongLL;template<typ......
  • Simulink建模与仿真(10)-Simulink混合系统模型及表示
    ✅作者简介:热爱科研的算法开发者,Python、Matlab项目可交流、沟通、学习。......