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

ITT:a prog posts its own source to prog

Name: Anonymous 2009-04-09 3:13

import java.io.*;
import java.net.*;
import java.util.*;
public class StackOverflow {
    public static void main(String[] args) throws Exception{
        Socket sock=new Socket("dis.4chan.org",80);
        String com="[code]";
        Scanner sc=new Scanner(new File("StackOverflow.java"));
        while(sc.hasNextLine())
            com+=sc.nextLine()+"\r\n";
        com+="
";
        com=URLEncoder.encode(com,"UTF-8");
        String data="bbs=prog&id=1239260575& lol what 2&subj=ITT:a+program+that+posts+its+own+source+to+prog&kotehan=&meiru=&com="+com+"&email=";   
        BufferedWriter out = new BufferedWriter(new OutputStreamWriter(sock.getOutputStream()));
        out.write("POST /post HTTP/1.1\r\n"+
                "Host: dis.4chan.org\r\n"+
                "User-Agent: Gibson/9000\r\n"+
                "Referer: http://dis.4chan.org/book/\r\n"+
                "Content-Type: application/x-www-form-urlencoded\r\n"+
                "Content-Length: "+data.length()+"\r\n\r\n"
                +data);
        out.flush();
        BufferedReader in = new BufferedReader(new InputStreamReader(sock.getInputStream()));           
        String str;       
        while ((str = in.readLine()) != null)               
            System.out.println(str);              
        in.close();
        out.close();
        sock.close();
    }
}
[/code]

Name: Anonymous 2009-04-09 3:23

Sage for lack of monadic pointer.

Name: Anonymous 2009-04-09 3:29

>>1
lrn2[code]

Name: Anonymous 2009-04-09 3:56

>>3
The pleasure of being escaped inside.

Name: Anonymous 2009-04-09 4:12

lrn2java

Name: Anonymous 2009-04-09 4:16

oh lawdy, now we get even more bot posts.
ohwell

Name: Anonymous 2009-04-09 4:27

>>6
Hi OP,
You must be under the incorrect impression that there are people here who couldn't write their own bot if they so wished, and that they will use your ugly peice of shit as a template. I suggest you fuck off back to /pr/.1
________________________________________________

1. In hindsight, what with /pr/ being down as of late my first comment is probably fallicious, however the conclusion is still valid, and now has a tang of irony as well.

Name: Anonymous 2009-04-09 5:28

>>7
Why do you know /pr/ is down?
back to /pr/, please

Name: Anonymous 2009-04-09 5:39

>>8
two clues:
1. their spambot stopped posting here
2. /prog/ has been overrun by prepubescent /pr/fags asking for help with their trivial sepples homework

Name: Anonymous 2009-04-09 5:48

>>9
Ah, I see.
could you go back to /pr/ now?

Name: Anonymous 2009-04-09 5:51

>>10
WTF is /pr/?

Name: Anonymous 2009-04-09 6:05

which chan is /pr/ on?
i need to know so i can get back there

Name: Anonymous 2009-04-09 8:42

Name: Anonymous 2009-04-09 15:45

>>1
JAVA
WHY WOULD YOU DO THAT?

Name: Anonymous 2009-04-09 16:46

>>14
Because he's had a semester of Java and he thinks that makes him programmer.

Name: Anonymous 2009-04-09 18:45

>>14
What other option is there? socket programming in C? no thx. forced indentation of code? no thx.  lisp? no thx. micro$oft c#? no thx. No thanks dawg, I'll stick with my incredibly verbose java.

Name: Anonymous 2009-04-09 18:53

socket programming in C?
Why not? Damn Punk Kids today, back in my day...

Name: Anonymous 2009-04-09 18:54

>>16
LISP YOU FAGGOT

Name: Anonymous 2009-04-09 20:08

>>16
micro$oft
Oh. You're 15. Carry on.

Name: Anonymous 2009-04-09 20:27

>>19
You're

Name: Anonymous 2009-04-09 20:33

>>20
This was never good. Quit it already.

Name: Anonymous 2009-04-09 21:10

>>21
It's just one guy doing it. Just ignore him. His mom will tell him to go to bed soon enough.

Name: Anonymous 2009-04-09 21:25

>>22
His

Name: Anonymous 2009-04-10 2:41

>>19
Really? You mean the constant use of "thx" and the one use of "dawg" did not reveal that >>16 is 15 years old as well?

Name: Anonymous 2009-04-10 12:39

>>24
I felt like quoting only one thing was easier than quoting 4 ``no thx''s

Name: Anonymous 2009-09-17 17:23

Lain.

Name: Anonymous 2009-09-17 17:24

Lain.

Name: Anonymous 2009-09-17 17:25

Lain.

Name: Anonymous 2009-09-17 17:25

Lain.

Name: Anonymous 2009-09-17 17:26

Lain.

Name: Anonymous 2009-09-17 17:26

Lain.

Name: Anonymous 2009-09-17 17:27

Lain.

Name: Anonymous 2009-09-17 17:27

Lain.

Name: Anonymous 2009-09-17 17:28

Lain.

Name: Anonymous 2009-09-17 17:29

Lain.

Name: Anonymous 2009-09-17 17:29

Lain.

Name: Anonymous 2011-02-04 15:20

Name: Anonymous 2013-01-19 0:12

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

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