Slashdot Mirror


User: (gnaa)RKZ

(gnaa)RKZ's activity in the archive.

Stories
0
Comments
2
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2

  1. MovableType SPAMMING script!!! on Python Conference Coming Soon · · Score: 0, Flamebait

    Python is great.
    import urllib
    import sys
    from whrandom import choice
    import string
    entryid = 2979
    cgiurl = "http://www.jayallen.org/cgi-bin/mt/mt-comments.cg i"

    message_text = """

    """

    def GenEmail():
    chars = string.letters
    username = ""
    hostname = ""
    for i in range(5):
    username = username + choice(chars)
    hostname = hostname + choice(chars)
    email = username + "@" + hostname + ".com"
    return email

    def GenWebsite():
    chars = string.letters
    site = ""
    for i in range(8):
    site = site + choice(chars)
    site = site + ".com"
    return site

    def RandomProxy():
    # high anonymity from 2004.01.06
    proxylist = ["http://213.131.72.19:8080/", "http://203.124.247.50:80/", "http://66.123.154.53:80/", "http://200.29.132.50:8000/"]
    rtnprox = choice(proxylist)
    return rtnprox
    def pseudoname():
    chars = string.letters
    name = ""
    for w in range(6):
    name = name + choice(chars)
    return name

    def rndmessage():
    chars = string.letters
    msize = [10, 15, 20, 25]
    wsize = [2, 4, 5, 6, 7, 8, 10, 12]
    message = ""
    for l in range(choice(msize)):
    for m in range(choice(wsize)):
    message = message + choice(chars)
    message = message + " "
    return message
    thisproxy = RandomProxy()

    for i in range(int(sys.argv[1])):
    proxies = {'http': thisproxy}
    opendev = urllib.FancyURLopener(proxies)
    par = urllib.urlencode(
    {
    'entry_id': entryid,
    'author': pseudoname(),
    'email': GenEmail(),
    'text': rndmessage(),
    #'text': message_text
    'post': " Post ",
    'checkbox': "false",
    'url': GenWebsite()}
    )
    f = opendev.open(cgiurl, par)
    print f.read(8096)

  2. Spam is not that big a problem on The Battle Against Junk Mail and Spyware · · Score: -1, Troll

    Whenever there are polls on the issue of spam emails there is a very bi-polar pattern in the results.

    What they show is that a small but siginificant number of people (~20%) people get spammed hundreds of times a day, while (~50% -- ~60%) recieve very little spam.

    There is hardly anyone in the middle.