C# 生成serv-u的密码!
来源:互联网 发布:Unity3D麻将 编辑:程序博客网 时间:2024/05/01 12:50
servu的密码是随机的2个小写字母+登陆密码 获取其的md5,转成大写后再前面加随机数
例如:
string _sjchar="cj";
string _login_pass="123456";
所以存储在servu中的密码应该是
_sjchar+md5(_sjchar+_login_pass).ToUpper().Trim()
md5c#方法
public String md5(String s)
{
System.Security.Cryptography.MD5 md5 = new System.Security.Cryptography.MD5CryptoServiceProvider();
byte[] bytes = System.Text.Encoding.UTF8.GetBytes(s);
bytes = md5.ComputeHash(bytes);
md5.Clear();
string ret = "";
for(int i=0 ; i<bytes.Length ; i++)
{
ret += Convert.ToString(bytes[i],16).PadLeft(2,'0');
}
return ret.PadLeft(32,'0');
}
- C# 生成serv-u的密码!
- 转一个Serv-U密码生成的页面
- FTP Serv-U密码问题
- ASP+MS SQL在线修改Serv-u的密码教程
- 远程修改Serv-U FTP用户的登录密码
- 创建ASP组件修改《SERV-U》FTP的密码
- serv-u的密码加密原理及破解
- 解决忘了SERV-U管理密码的方法?
- Serv-U的虚拟目录
- Serv-U 的乱码
- Serv-U的使用说明
- Serv-U密码加密原理并实现 ( ASP.NET 基于 C# )
- Serv-U得到管理员密码新招
- 在线更改Serv-U密码示例代码
- Serv-U管理密码破解方案?
- 配置Serv-U的数据库连接
- Serv-U碰到的问题
- serv-u的odbc设置
- test ss
- MiniGUI的安装和配置
- 一个月也很快哦
- Elements of Programming Style -- The C++ Style Guide
- 一个经纬度相关计算的C++类
- C# 生成serv-u的密码!
- 2005-10-21 开发日志
- 早餐
- ASP.NET中上传大文件到服务器的解决方案
- net_lover(孟子E章) 的个性化书签
- 在Windows xp中即时创建系统还原点的秘技
- Eclipse3.1+myeclipse4.0.2破解
- 瑞星杀毒助手 for win 2000/xp升级到0.1.0020版
- 某酸女...