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

halp (spambot)

Name: Anonymous 2012-12-20 3:33

What did I do wrong?

I'm pretty sure I copied Firefox's output correctly.


#!/bin/sh

POSTID=1355016238
NAME=%20
EMAIL=sage
COMMENT=%20%0D%0A

STR="bbs=prog&id=$POSTID&shii[spoiler]t[/spoiler]chan=pro[u]p[/u]er2&kot[b]e[/b]han=$NAME&me[i]i[/i]ru=$EMAIL&com=$COMMENT&email=%27"
STRLEN="$(echo \"$STR\" | wc -c)"
STRLEN=88
{
    echo -n "POST /post HTTP/1.1\r\n"
    echo -n "Host: dis.4chan.org:80\r\n"
#    echo -n "User-Agent: netcat\r\n"
    echo -n "Referer: http://dis.4chan.org/read/prog/$;POSTID\r\n"
    echo -n "Content-Type: application/x-www-form-urlencoded\r\n"
    echo -n "Content-Length: $STRLEN\r\n"
    echo -n "\r\n"
    echo -n "$STR\r\n"
} | nc dis.4chan.org 80


Yes, I am fully aware this is pathetic.

Name: Anonymous 2012-12-20 3:39

nice bbcode failure, faggot

Name: Anonymous 2012-12-20 3:44

On the Referer, the semicolon was not present in the original code.

>>2

I already knew it would transmute shii[]chan=proper[]2 to lol wut, but it outright rejected my post for containing all of the POST variables.

I had to obfuscate them somehow, and that was the first thing that came to mind.

Name: Anonymous 2012-12-20 12:22

shii​chan=proper2

Name: Anonymous 2012-12-20 13:21

shii[]chan=proper[]2

Name: Anonymous 2012-12-20 16:25

shiitcan = pooper2

Name: Anonymous 2012-12-22 0:20

pl0x
kj

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