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

get.py

Name: Anonymous 2015-03-19 11:09

/prog/ is being sensored. Legimite dub and get posters are getting banned. We
must arm ourselves.

I have created a script that will automate GETs, so it will be easier to fight
back. Use it wisely.

#!/usr/bin/python3

# install beautifulsoup4 to run this (python3):
# > pip3 install beautifulsoup4

import http.client as client
import urllib.parse
from bs4 import BeautifulSoup
import re
from math import sqrt
import random

fibs = [1,1]
while fibs[-1] < 1000:
fibs.append(fibs[-1] + fibs[-2])
fibs = set(fibs)
primes = set([2] + list(filter(lambda p: all(p % n for n in range(3, int(sqrt(p)) + 1, 2)), range(3, 1000, 2))))
def get(i):
s = str(i)
if len(s) >= 2 and s[-1] == s[-2]:
return "check 'em"
if i in fibs:
return 'fibs get'
if i in primes:
return 'prime get'
return None

HOST = 'bbs.progrider.org'
PATH = '/prog/'
POSTPATH = '/prog/post.pl'

def spam(thr, msg):
print('spam', thr, msg)

conn = client.HTTPConnection(host=HOST)
headers = {"Content-type": "application/x-www-form-urlencoded"}
params = urllib.parse.urlencode(
{'thread': thr, 'comment': '', 'name': '', 'other': msg})
conn.request('POST', POSTPATH, params, headers)
print('response...', conn.getresponse().read())

conn = client.HTTPConnection(host=HOST)
conn.request('GET', PATH)
data = conn.getresponse().read().decode('utf-8')
soup = BeautifulSoup(data)

threads = [(re.findall('\d+', span.a.attrs['href'])[0],
re.findall('\(\d+\)', span.text)[0][1:-1])
for span in soup.find(id='threadlist').find_all('span')
if 'thread' in span.attrs['class']]

random.shuffle(threads)
for thr,cnt in threads:
msg = get(int(cnt)+1)
if msg is not None:
spam(thr, msg)
break

print('end')


To run this.. maybe use a script like:
while true; do ./get.py; sleep 200; done

Now, I probably get banned for this and this is my last IP-address so...
Farewell. Get 'em all.

fibs get

Name: Anonymous 2015-03-20 16:23

>>32,34
I haven't banned you because I don't care about you as a person. I only delete spam-like posts and ban IPs that create those posts. Posting code is a /prog/ related thread, regardless of what that code is. I don't really give a shit anyway, it's mostly that I am too lazy to log in most of the time and half the time forget I'm even hosting this site. Your acts of defiance don't really register, if I were to devote my time fully to preventing spam and automated posting, it's incredibly easy to fingerprint the way your program posts, and not just because you use the same text every time.

I just have better things to do, and I'd rather spend my time writing C than perl.

Name: Anonymous 2015-03-20 16:36

>>41
It makes impossible if you're a retard. Tor is blacklisted because it's the only thing retards ever use to spam, because they feel "safer" behind Tor than behind a some shitty SOCKS.

If you can't figure out how to stay anonymous / "private" without Tor, then you're a retard and you shouldn't be using Tor anyway.

There are a multitude of ways to make it hard to shitpost and spam, but I really don't care to expend the effort.

Name: Anonymous 2015-03-20 17:06

>>43
Can't even manage to "ruin" my day yourself?

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