| 1 | unit Unit1; |
|---|
| 2 | |
|---|
| 3 | interface |
|---|
| 4 | |
|---|
| 5 | uses |
|---|
| 6 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, |
|---|
| 7 | Dialogs, StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, |
|---|
| 8 | IdTCPClient, IdHTTP, IdCookieManager, StrUtils, DB, DBClient, Spin, Contnrs, Unit2; |
|---|
| 9 | |
|---|
| 10 | type |
|---|
| 11 | TfmMain = class(TForm) |
|---|
| 12 | btnInit: TButton; |
|---|
| 13 | mmOutput: TMemo; |
|---|
| 14 | edtLoginName: TEdit; |
|---|
| 15 | edtPassword: TEdit; |
|---|
| 16 | lblName: TLabel; |
|---|
| 17 | lblPass: TLabel; |
|---|
| 18 | seCounter: TSpinEdit; |
|---|
| 19 | edtProxyAdd: TEdit; |
|---|
| 20 | edtProxyPort: TEdit; |
|---|
| 21 | lblProxyAdd: TLabel; |
|---|
| 22 | lblProxyPort: TLabel; |
|---|
| 23 | btnClearData: TButton; |
|---|
| 24 | lstbxIntro: TListBox; |
|---|
| 25 | lstbxBody: TListBox; |
|---|
| 26 | lstbxEnd: TListBox; |
|---|
| 27 | btnIntroLoader: TButton; |
|---|
| 28 | btnBodyLoader: TButton; |
|---|
| 29 | btnEndLoader: TButton; |
|---|
| 30 | odOpener: TOpenDialog; |
|---|
| 31 | procedure btnInitClick(Sender: TObject); |
|---|
| 32 | procedure FormShow(Sender: TObject); |
|---|
| 33 | procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean); |
|---|
| 34 | procedure btnClearDataClick(Sender: TObject); |
|---|
| 35 | procedure btnIntroLoaderClick(Sender: TObject); |
|---|
| 36 | procedure btnBodyLoaderClick(Sender: TObject); |
|---|
| 37 | procedure btnEndLoaderClick(Sender: TObject); |
|---|
| 38 | private |
|---|
| 39 | { Private declarations } |
|---|
| 40 | public |
|---|
| 41 | { Public declarations } |
|---|
| 42 | end; |
|---|
| 43 | |
|---|
| 44 | var |
|---|
| 45 | fmMain: TfmMain; |
|---|
| 46 | |
|---|
| 47 | SayingBoxes: array[1..3] of TListBox; |
|---|
| 48 | Threadders: TSpamThread; |
|---|
| 49 | ThreadList: TObjectList; |
|---|
| 50 | |
|---|
| 51 | implementation |
|---|
| 52 | |
|---|
| 53 | {$R *.dfm} |
|---|
| 54 | |
|---|
| 55 | procedure TfmMain.btnInitClick(Sender: TObject); |
|---|
| 56 | begin |
|---|
| 57 | Threadders := TSpamThread.Create(False); |
|---|
| 58 | ThreadList.Add(Threadders); |
|---|
| 59 | mmOutput.Lines.Add('Creating New Thread...'); |
|---|
| 60 | end; |
|---|
| 61 | |
|---|
| 62 | procedure TfmMain.FormShow(Sender: TObject); |
|---|
| 63 | begin |
|---|
| 64 | Randomize; |
|---|
| 65 | |
|---|
| 66 | ThreadList := TObjectList.Create; |
|---|
| 67 | |
|---|
| 68 | SayingBoxes[1] := TListBox.Create(Self); |
|---|
| 69 | SayingBoxes[2] := TListBox.Create(Self); |
|---|
| 70 | SayingBoxes[3] := TListBox.Create(Self); |
|---|
| 71 | |
|---|
| 72 | SayingBoxes[1].Visible := False; |
|---|
| 73 | SayingBoxes[2].Visible := False; |
|---|
| 74 | SayingBoxes[3].Visible := False; |
|---|
| 75 | |
|---|
| 76 | SayingBoxes[1].Parent := Self; |
|---|
| 77 | SayingBoxes[2].Parent := Self; |
|---|
| 78 | SayingBoxes[3].Parent := Self; |
|---|
| 79 | |
|---|
| 80 | SayingBoxes[1].Items.Add('hi'); |
|---|
| 81 | SayingBoxes[1].Items.Add('whats up'); |
|---|
| 82 | SayingBoxes[1].Items.Add('whaddup'); |
|---|
| 83 | SayingBoxes[1].Items.Add('sup'); |
|---|
| 84 | SayingBoxes[1].Items.Add('hey'); |
|---|
| 85 | SayingBoxes[1].Items.Add('supsup'); |
|---|
| 86 | |
|---|
| 87 | SayingBoxes[2].Items.Add('kool site. visit mine when u have a chance.'); |
|---|
| 88 | SayingBoxes[2].Items.Add('nice site, i really like it. hit me back.'); |
|---|
| 89 | SayingBoxes[2].Items.Add('whats up? just randomly came on your site. awesome!'); |
|---|
| 90 | SayingBoxes[2].Items.Add('i really like the layout of your site'); |
|---|
| 91 | SayingBoxes[2].Items.Add('wow, you seem like a real interesting person'); |
|---|
| 92 | SayingBoxes[2].Items.Add('just randomly going around and commenting ppls xanga''s. hit me back.'); |
|---|
| 93 | |
|---|
| 94 | SayingBoxes[3].Items.Add('anyways, i''m out'); |
|---|
| 95 | SayingBoxes[3].Items.Add('byebye.'); |
|---|
| 96 | SayingBoxes[3].Items.Add('bye.'); |
|---|
| 97 | SayingBoxes[3].Items.Add('pz'); |
|---|
| 98 | SayingBoxes[3].Items.Add('peace'); |
|---|
| 99 | SayingBoxes[3].Items.Add('l8r'); |
|---|
| 100 | |
|---|
| 101 | // lbUsernames.Items.LoadFromFile('SENT.TXT'); |
|---|
| 102 | end; |
|---|
| 103 | |
|---|
| 104 | procedure TfmMain.FormCloseQuery(Sender: TObject; var CanClose: Boolean); |
|---|
| 105 | begin |
|---|
| 106 | // lbUsernames.Items.SaveToFile('SENT.TXT'); |
|---|
| 107 | end; |
|---|
| 108 | |
|---|
| 109 | procedure TfmMain.btnClearDataClick(Sender: TObject); |
|---|
| 110 | begin |
|---|
| 111 | mmOutput.Clear; |
|---|
| 112 | end; |
|---|
| 113 | |
|---|
| 114 | procedure TfmMain.btnIntroLoaderClick(Sender: TObject); |
|---|
| 115 | begin |
|---|
| 116 | if odOpener.Execute then |
|---|
| 117 | lstbxIntro.Items.LoadFromFile(odOpener.FileName) |
|---|
| 118 | end; |
|---|
| 119 | |
|---|
| 120 | procedure TfmMain.btnBodyLoaderClick(Sender: TObject); |
|---|
| 121 | begin |
|---|
| 122 | if odOpener.Execute then |
|---|
| 123 | lstbxBody.Items.LoadFromFile(odOpener.FileName) |
|---|
| 124 | end; |
|---|
| 125 | |
|---|
| 126 | procedure TfmMain.btnEndLoaderClick(Sender: TObject); |
|---|
| 127 | begin |
|---|
| 128 | if odOpener.Execute then |
|---|
| 129 | lstbxEnd.Items.LoadFromFile(odOpener.FileName) |
|---|
| 130 | end; |
|---|
| 131 | |
|---|
| 132 | end. |
|---|
| 133 | |
|---|