Live data from Hacker News

4chan source code leaked (2010)

pastebin.com

31–40 of 114 posts

Re: 4chan source code leaked (2010)

#31
post #17

I thought the *chan code was open. Or is this some critical bit? (I noticed it handles cookies, but I'm too unexperienced with web, php or web-security to explore this wall of code)

4chan's code (Yotsuba) has always been a closed source fork of Futaba, though there are several open source Futaba clones, like Kusaba X.

Re: 4chan source code leaked (2010)

#32
I think this just goes to show that you can have a lot of popularity even if your code is just sorta glued together.

Don't they get a few million users? I'd say it's definitely nothing to scoff at.

It makes me wonder how many big profile websites might look like this or worse.

Re: 4chan source code leaked (2010)

#35
post #11
post #5

Earlier quoted context omitted.

> It seems that it's too terrible to be the true code. 1. It's written in PHP. Finding a good PHP developer is nigh impossible (there are exceptions, like always). 2. I expected worse, to be honest.

No serious, modern PHP developer writes code like this. If it were a code sample for any respectable PHP job, it would be a massive "do not hire" flag.

that's just not true. Given my experience, most PHP devs dont use a framework or even composer. When the forefront of your language is wordpress, it doesnt help spread best practices.Agreed you can write crap in every languages,you can write jsp pages, but it's unlikely you'll get a java job if you dont know OO or Spring.

Re: 4chan source code leaked (2010)

#36

How can code be "leaked"? Wouldn't this imply someone was able to terminal into one of their servers?

Any number of things could happen; maybe someone got access to a code repository, or a stray flash drive, or the web server was mis-configured and served the file as plain text (happened to fb once) etc.

Re: 4chan source code leaked (2010)

#38

I think this just goes to show that you can have a lot of popularity even if your code is just sorta glued together. Don't they get a few million users? I'd say it's definitely nothing to scoff at. It makes me wonder how many big profile websites might look like this or worse.

imgur might be a candidate.

Re: 4chan source code leaked (2010)

#39
Not much to see here, folks. Someone took an old leak of the source code and commented out a few lines for a giggle. Only moot and the developers know what the site looks like now, but given the significant addition of functionality in the past few years, it's pretty much impossible that that would be the only difference in the source.

The original leak, from 2010 at least, possibly older: http://pastebin.com/4JVjS02b

4chan was hacked the other day, so the current source code could have been leaked, but if it was, this sure isn't it.

Post reply on HN