当前位置:编程学习 > C#/ASP.NET >>

加密RAR文件密码忘记,只记得其中的一部分。

比如密码为: ?A?B? , 其中?表示一个字符,A和B表示一串已知的字符,求助有什么方法来破解。谢谢! --------------------编程问答-------------------- 据说WinRAR的作者都不知道破解的好方法

估计只能穷举,或者有办法直接分析磁盘原始数据 --------------------编程问答-------------------- 下载个穷举器。。。楼主这种应该好猜出来。 --------------------编程问答-------------------- --------------------编程问答-------------------- 穷举应该行,反正你都知道了一部分了。剩下的快了。呵呵 --------------------编程问答-------------------- 下载个穷举的软件吧 --------------------编程问答-------------------- 猜密码,一个一个试过去


string filename = @"C:\1.rar";
string filepath = @"C:\1\";
string password = "123";

WinRAR.UnCompress(filename, filepath, password);




public class WinRAR
{
private static string PathWinRAR = @"C:\Program Files\WinRAR\WinRAR.exe";

public static void UnCompress(string filename, string filepath, string password)
{
string arguments = "E -HP" + password + " -INUL -O+ " + filename + " " + filepath;
try
{
ProcessStartInfo info = new ProcessStartInfo();
info.FileName = PathWinRAR;
info.Arguments = arguments;

Process p = new Process();
p.StartInfo = info;
p.Start();
}
catch { }
}
}
--------------------编程问答-------------------- 用这个软件来破解:Advanced RAR Password Recovery ,能用“掩码”或“字典”来破吗?
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,