百度贴吧爆吧器部分代码。 刚反编译出来的。。。
private void method_0(){
// This item is obfuscated and can not be translated.
int num = (Convert.ToInt32(this.gohsotcfg.Text) < Convert.ToInt32(this.textBox4.Text)) ? Convert.ToInt32(this.gohsotcfg.Text) : Convert.ToInt32(this.textBox4.Text);
while (true)
{
int num2;
string str;
if (Convert.ToInt32(this.textBox4.Text) <= Convert.ToInt32(this.gohsotcfg.Text))
{
goto Label_007B;
}
if (num > Convert.ToInt32(this.textBox4.Text))
{
break;
}
if (this.radioButton1.Checked)
{
num2 = (num - 1) * 50;
num2 = (num - 1) * 50;
str = new Class13().method_2("http://tieba.baidu.com/f?kw=" + Class14.smethod_1(this.textBox2.Text) + "&pn=" + num2.ToString(), "", "", "http://www.baidu.com/search/ressafe.html?q=&url=http://tieba.baidu.com/f?kw=" + Class14.smethod_1(this.textBox2.Text) + "&pn=" + num2.ToString(), "", 0x2710, "GB2312");
}
else if (this.radioButton2.Checked)
{
num2 = (num - 1) * 50;
num2 = (num - 1) * 50;
str = new Class13().method_2("http://tieba.baidu.com/f/good?kw=" + Class14.smethod_1(this.textBox2.Text) + "&pn=" + num2.ToString(), "", "", "http://www.baidu.com/search/ressafe.html?q=&url=http://tieba.baidu.com/f/good?kw=" + Class14.smethod_1(this.textBox2.Text) + "&pn=" + num2.ToString(), "", 0x2710, "GB2312");
}
else
{
num2 = (num - 1) * 50;
num2 = (num - 1) * 50;
str = new Class13().method_2("http://tieba.baidu.com/f/vote?kw=" + Class14.smethod_1(this.textBox2.Text) + "&pn=" + num2.ToString(), "", "", "http://www.baidu.com/search/ressafe.html?q=&url=http://tieba.baidu.com/f/vote?kw=" + Class14.smethod_1(this.textBox2.Text) + "&pn=" + num2.ToString(), "", 0x2710, "GB2312");
}
Match match = new Regex("<a href=\"/p/(\\d*?)\"").Match(str);
if (match.Groups[1].Value != "")
{
this.listBox_0.Items.Add(match.Groups[1].Value);
while (match.NextMatch().Groups[1].Value != "")
{
match = match.NextMatch();
this.listBox_0.Items.Add(match.Groups[1].Value);
}
}
num++;
this.progressBar1.Value++;
}
this.button2.Enabled = true;
this.progressBar1.Value = 0;
}
private void method_1()
{
string str = "http://www. + this.method_3(this.textBox1.Text) + "&password=" + this.method_3(this.textBox2.Text);
string input = new Class13().method_2(str, "", "", "", "", 0x2710, "GB2312");
if (input == "网络错误")
{
MessageBox.Show("网络连接失败!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
}
else
{
input = new Regex("Result.:.(.*)").Match(input).Groups[1].Value;
if (!new Regex("登录成功").Match(input).Success)
{
MessageBox.Show(input + " ", "登录失败", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
}
else
{
if ((((un == "猫儿") || (un == "安迪")) || ((un == "销魂") || (un == "super7758"))) || (un == "苏瑾"))
{
Class8.string_0 = "";
}
if (new Class13().method_2("http://www. + Class14.smethod_0(this.textBox1.Text.Trim()), "", "", "", "", 0x2710, "GB2312").IndexOf("Green = true") != -1)
{
IsGreen = true;
Class8.string_0 = "";
}
if (new Class13().method_2("http://www. + Class14.smethod_0(this.textBox1.Text.Trim()), "", "", "", "", 0x2710, "GB2312").IndexOf("true") != -1)
{
Is3 = true;
}
this.bool_0 = true;
base.Hide();
}
}
private bool method_2(string string_1)
{
// This item is obfuscated and can not be translated.
string str = "";
int num = 0;
while (num >= 3)
{
if (0 == 0)
{
this.string_0 = str;
if (this.string_0.Trim() == "")
{
MessageBox.Show("您的网络环境存在异常。", "登录失败", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
return true;
}
Match match = new Regex("BannedIP=(.*?),").Match(this.gohsotcfg);
while (!new Regex(match.Groups[1].Value).Match(this.string_0).Success)
{
string str2;
if (1 == 0)
{
str2 = new Regex("BannedIP=" + match.Groups[1].Value + ",Info=(.*?)#").Match(this.gohsotcfg).Groups[1].Value;
if ((str2 == "") || (!MessageBox.Show(str2, "登录失败", MessageBoxButtons.OK, MessageBoxIcon.Asterisk) && !((DialogResult) true)))
{
MessageBox.Show("对不起,您的IP地址(段)由于不恰当操作已被系统封禁。", "登录失败", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
}
return true;
}
match = match.NextMatch();
if (match.Groups[1].Value == "")
{
if (this.gohsotcfg.IndexOf("BannedID=" + string_1 + ",") != -1)
{
str2 = new Regex("BannedID=" + string_1 + ",Info=(.*?)#").Match(this.gohsotcfg).Groups[1].Value;
if ((str2 == "") || (!MessageBox.Show(str2, "登录失败", MessageBoxButtons.OK, MessageBoxIcon.Asterisk) && !((DialogResult) true)))
{
MessageBox.Show("对不起,您的论坛账号由于不恰当操作已被系统封禁。", "登录失败", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
}
return true;
}
return false;
}
}
goto Label_00BB;
}
str = new Class13().method_2("http://www., "", "", "", "", 0x2710, "GB2312");
num++;
continue;
Label_0041:
if (!(str == "网络错误"))
{
}
goto Label_000B;
}
goto Label_0041;
}