
Originally Posted by
Brinuz
NOT A SPAMMER!!! YAY!! finally, nice one J-Deezy.
Hahaha maybe I should incorporate it into a spammer. I'm watching NCIS right now so im aircoding right here
No C&P, I don't have VB on this computer, wonder how many syntax errors i get
You ned (for this fictional piece of shit)
TextBox1 is the delay
Button1 is to fill the listbox from the website specified in TextBox2
TextBox2 is the webpage to read from
Button2 is to start spam
Button3 is to stop spam
lblStatus states the status (spamming/idle)
FUCK YEAH!
[php]
Imports System.NET
Imports System.IO
Public Class Form1
Private Function Reade(ByVal pages As String)
dim lines as string = ""
Try
Dim request As HttpWebRequest = WebRequest.Create(Pages)
Dim response As HttpWebResponse = request.GetResponse()
Using reader As StreamReader = New StreamReader(response.GetResponseStream())
lines = reader.readline
Do while (not lines is nothing)
ListBox1.Items.Add(lines)
Console.WriteLine(lines)
lines = reader.readline
Loop
End Using
Catch ex As Exception
End Try
Return lines
End Function
Private Sub Button1_click(ByVal...yeah shit goes here im not that good) Handles Button1.click
'summary: This button fills the listbox with the text'
If not TextBox2.Text = "" then
try
reade(TextBox2.Text)
catch ex as Exception
End try
Else: MsgBox("Please enter a website to load from", vbinformation, "No website specified")
End Sub
Private Sub randomline()
'this generates a random listbox entry'
dim randoms as new random
dim x as integer = ListBox1.Items.Count
dim i as integer = randoms.next(0, x)
ListBox1.SelectedIndex = i
End Sub
Private sub Timer1_tick(ByVal....) Handles Timer1.Tick
'spams a random listbox entry'
call randomline()
SendKeys.Send(Listbox1.SelectedItem)
SendKeys.Send("{ENTER}")
End Sub
Private Sub Button2_click(ByVal....) Handles Button2.Click
'the start spam button'
if not textbox1.text = "" then
Timer1.Interval = Textbox1.Text 'oh yeah customizable delay ^^'
Else: Timer1.Interval = 200
End If
Timer1.Start()
lblStatus = "Spamming"
lblStatus.ForeColor = Color.Lime
End Sub
Private Sub Button3_click(Byval....)Handles Button3.Click
'the stop spam button'
Timer1.Stop()
lblStatus = "Idle"
lblStatus.ForeColor = Color.Red
End Sub
End Class
[/php]
Air code over and out
