Programming a spambot

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
Rotten
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 8
Joined: Wed Dec 26, 2007 3:23 pm

Programming a spambot

Post by Rotten »

Hiya dudes, does anybody know a way to make program to (for example) write text "lol" to place where you have your writing symbol u know, and it would also press enter itself?
Life sucks, programming doesn't.
User avatar
Arce
Jealous Self-Righteous Prick
Jealous Self-Righteous Prick
Posts: 2153
Joined: Mon Jul 10, 2006 9:29 pm

Post by Arce »

I'm not sure I understand what you're asking...
iFone
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 1
Joined: Mon Jan 21, 2008 6:41 pm
Location: Desktop
Contact:

Post by iFone »

I think what he's trying to say is, how would you make a bot that repeats a message entered in a text box, but thats just how I read it.
User avatar
Don Pwnious
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 833
Joined: Tue Jun 15, 2004 5:32 pm
Location: on the streets wit my j23
Contact:

Post by Don Pwnious »

well then isn't it a typical text box? i dnt know, but are you try to use a instant messenger to spam bot like a sexbot or something?
1/8th time- 14secs
1/8th speed - 110mph
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Post by MarauderIIC »

http://msdn2.microsoft.com/en-us/library/ms171548.aspx

Scroll to 'To send a keystroke to a different application'

Edit: Disclaimer - I do not support malicious spambots =p
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
jtst1
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 80
Joined: Tue Sep 30, 2008 4:32 pm
Location: Atlanta Georgia

Re: Programming a spambot

Post by jtst1 »

Get visual basic 8
here is my source code, i'm not a real good programmer, if one at all, but i've been working on a multiapplication and a spam bot just happens to be in it =p
o, one last thing i know the picture says "use space" i'm still working on that.

Code: Select all

Public Class Autotyper

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Timer1.Enabled = True
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Timer1.Enabled = False
    End Sub

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Timer1.Interval = TextBox2.Text
        SendKeys.Send(TextBox1.Text)
        If CheckBox1.Checked = True Then
            SendKeys.Send("{enter}")
        End If
    End Sub

    Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged

    End Sub

    Private Sub CheckBox2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox2.CheckedChanged

    End Sub

    Private Sub Autotyper_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub
End Class
also here is a screen shot:
Image
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Programming a spambot

Post by dandymcgee »

Use autoit! http://www.autoitscript.com

Use "Insert" as a hotkey to send "LINE OF TEXT" and then Enter.

Code: Select all

HotKeySet("{Ins}", "SendKeys")

While 1
	Sleep(10)
WEnd

Func SendKeys()
	Send("LINE OF TEXT {Enter}")
EndFunc
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
Post Reply