Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

Spam Bot, broken pipe

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


fordhaivat at gmail

Nov 7, 2009, 5:00 PM

Post #1 of 4 (272 views)
Permalink
Spam Bot, broken pipe

I have a irc spam bot (only testing on my channel :P ) whose main loop is
the following:

privc="PRIVMSG "+self.channel
while True:
self.sock.send(privc=" :SPAM SPAM SPAM!");
time.sleep(2);

And it gives an error "Broken Pipe".
How can I fix this?


fordhaivat at gmail

Nov 7, 2009, 6:06 PM

Post #2 of 4 (254 views)
Permalink
Spam Bot, broken pipe [In reply to]

I'm just testing it on my channel! I promise! Besides, I'm doing it to learn
about sockets! Please!


On Sat, Nov 7, 2009 at 8:07 PM, Krister Svanlund <krister.svanlund [at] gmail
> wrote:

> On Sun, Nov 8, 2009 at 2:00 AM, Someone Something <fordhaivat [at] gmail>
> wrote:
> > I have a irc spam bot (only testing on my channel :P ) whose main loop is
> > the following:
> >
> > privc="PRIVMSG "+self.channel
> > while True:
> > self.sock.send(privc=" :SPAM SPAM SPAM!");
> > time.sleep(2);
> >
> > And it gives an error "Broken Pipe".
> > How can I fix this?
>
> By doing it right... unfortunaly I don't approve of spam and can
> therefor not tell you how to do that.
>


fordhaivat at gmail

Nov 7, 2009, 6:37 PM

Post #3 of 4 (248 views)
Permalink
Re: Spam Bot, broken pipe [In reply to]

anyone?

On Sat, Nov 7, 2009 at 9:06 PM, Someone Something <fordhaivat [at] gmail>wrote:

>
>
> I'm just testing it on my channel! I promise! Besides, I'm doing it to
> learn about sockets! Please!
>
>
> On Sat, Nov 7, 2009 at 8:07 PM, Krister Svanlund <
> krister.svanlund [at] gmail> wrote:
>
>> On Sun, Nov 8, 2009 at 2:00 AM, Someone Something <fordhaivat [at] gmail>
>> wrote:
>> > I have a irc spam bot (only testing on my channel :P ) whose main loop
>> is
>> > the following:
>> >
>> > privc="PRIVMSG "+self.channel
>> > while True:
>> > self.sock.send(privc=" :SPAM SPAM SPAM!");
>> > time.sleep(2);
>> >
>> > And it gives an error "Broken Pipe".
>> > How can I fix this?
>>
>> By doing it right... unfortunaly I don't approve of spam and can
>> therefor not tell you how to do that.
>>
>
>
>


torriem at gmail

Nov 8, 2009, 11:39 AM

Post #4 of 4 (250 views)
Permalink
Re: Spam Bot, broken pipe [In reply to]

Someone Something wrote:
> I have a irc spam bot (only testing on my channel :P ) whose main loop is
> the following:

Poor choice of words on your part. Anything spam-related is evil and
will not get a response.

That said, "IRC bots" are certainly okay and common, and are useful
tools. Some are even written in Python.
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.