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:30

>>40
you spend 60 euros per month for a near-dead board, because TOR is blacklisted(most smart people use it to get a piece of privacy). Dynamic IPs and Router resets make impossible to block spammers/shitposters, without blocking entire ISPs.

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 16:55

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.
Wow, admin sucks. I hope spammer gets back soon and ruins admin's day.

Name: Anonymous 2015-03-20 17:06

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

Name: Anonymous 2015-03-20 17:18

>>44
Nice dubs.

Name: Anonymous 2015-03-20 17:21

why doesn't admin-san just change the post numbering system to avoid all getable numbers?

Name: Anonymous 2015-03-20 17:23

>>46
We could still do a script that posts stuff like "nice dubs", or "nice fibs", just to annoy the hell out of you people in the anti-get movement.

Name: Anonymous 2015-03-20 17:24

>>47
but they wouldn't be fibs or dubs. you'd just look foolish.

Name: Anonymous 2015-03-20 17:28

Funny thing is only admin and two random posters are against gets. Everybody else loves them.

Name: Anonymous 2015-03-20 17:32

>>49
Too bad this site's posting rules aren't decided by popular vote. And no, you're wrong, only like two people are for gets.

Name: Anonymous 2015-03-20 18:08

>>48
As if he doesn't already do. Dubs were stupid enough, but with everything that came after, like witches brew, he went completely down the retard lane.

Name: Anonymous 2015-03-20 18:09

>>49
You think you and your gay boyfriend make up the entirety of "everyone else"?

Name: Anonymous 2015-03-20 18:42

>>40,42,44
Type more words to convince people how little you care.

Name: Anonymous 2015-03-20 18:51

>>49
Everybody else loves them.
Where are you getting that from? I'd like my /prog/ to be free of shitposting. Take it to /lounge/ if you want it that badly.

Name: Anonymous 2015-03-20 19:30

No one likes dubs. It was tolerable when it was confined to shitty /g/ threads that were full of shitposts anyway. But it was always lame and stupid. It's a way of saying ``hey, everyone, look at me! I think I'm on an imageboard! Aren't I a quirky fellow?!''.

Name: Anonymous 2015-03-20 19:30

CHECK EM CHECK EM CHECK EM

Name: Anonymous 2015-03-20 20:13

>>56
goto fail;

Name: Anonymous 2015-03-20 20:56

>>57
fail: exit(1);

Name: Anonymous 2015-03-21 4:11

Dubs guy is pathetic.
I wish he would use a spam script, because then I could just write a greasemonkey script to hide all posts generated by it.
Not to mention he'd get banned for spam.

Name: Anonymous 2015-03-21 7:24

>>49
Speak for yourself, autistic retard-kun.

Name: Anonymous 2015-03-22 5:49

For the record, >>34 is not >>1.

Name: Anonymous 2015-03-22 5:51

>>42
Tor is a good way to stay anonymous because lots of other retards use it. You aren't very anonymous if you are one of 15 people in the world using an anonymity network.

Name: Anonymous 2015-03-23 0:43

Someone rewrite this in Perl please

Name: Anonymous 2015-03-23 18:02

Someone rewrite this in PHP please

Name: Anonymous 2015-03-23 19:17

Someone rewrite this in Oberon, please.

Name: Anonymous 2015-03-23 19:21

Combo breaker. Check em.

Name: Anonymous 2015-03-23 19:56

Someone rewrite this in Lambda Calculus please.

Name: Anonymous 2015-03-24 21:15

I've got one word for you: The forced indentation of the code.

Thread over.

Name: Anonymous 2015-03-24 22:11

Someone rewrite this in one word, please.

Name: Anonymous 2015-03-24 23:03

>>69
Okay.

Name: Anonymous 2015-03-25 5:05

>>18
That board now has one (1) non-spam thread:
http://w5ch.heliohost.org/read/prog/1427284446/
BB code doesn't seem to work there.

Name: Anonymous 2015-03-25 7:13

>>71
bbcode works down to shitchan's glitchy multiline quotes. But I forgot to implement rem. It never showed up in the html I was trying to reverse engineer.

Name: Anonymous 2015-03-25 8:56

>>71
something has been done about the spam. We'll see how long it takes for the viagra spammer to figure it out.

Name: Anonymous 2015-03-25 9:00

fuck nevermind...

Name: Anonymous 2015-03-25 10:24

At least keep it to dubs when you spam your retarded bullshit. Drowning legit threads in fibs ``GETs'' isn't funny.

Name: Anonymous 2015-03-26 6:35

shii's trap appears to have defeated the viagra spammer.

Name: Anonymous 2015-03-26 7:36

check 'em

Name: Anonymous 2015-03-26 22:03

>>75
Actually, it is. I think I chuckled when I saw those fibs.

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