Live data from Hacker News

4chan source code leaked (2010)

pastebin.com

101–110 of 114 posts

Re: 4chan source code leaked (2010)

#101
post #63

Earlier quoted context omitted.

http://pl1.php.net/extract OMG, it's horrible :D

Why there isn't a flashing red warning label at the very top of that page, I have no idea. This is one instance where I would actually sanction using the tag.

To be fair, there is a big red warning box further down that tells you using it with user-supplied data is a very bad idea, and there are flags available to prevent overwriting existing symbols.

None of which the 4chan code actually uses.

I've never seen the utility of extract -- it's the recommended way of getting wordpress plugin parameters, but to me, just using whatever array you're extracting from is always a better solution.

Re: 4chan source code leaked (2010)

#102
post #47
post #23

F* me. No wonder PHP has a bad rap..

I think the fact that you can drive a multi million user website that was once valued at $1.2b (by a VC admittedly) on 2600 lines of pretty bad PHP code when most of the users are exactly the sort of people who'd try to hack it is actually a testament to how good PHP is. Redeveloping the site in Go, Dart, Python or Node, or whatever language you like best, wouldn't increase 4Chan's value in any discernible way. At th…

Please, please tell me you're joking about 4chan having been valued at $1.2 billion dollars by anyone.

Re: 4chan source code leaked (2010)

#103
post #90
post #56

Earlier quoted context omitted.

Get on the same WiFi as your target, open up Wireshark and grab their HTTP communications. To make this easier, there was/is a tool called Firesheep that can be used to hijack session cookies. The popularity of Firesheep caused many sites to enable HTTPS by default (e.g. Facebook did so).

If you need to be on the same WiFi as your target I really don't see the big problem, realistically speaking.

Common, shared wired LANs at offices and workplaces are a problem. Home LANs, where family members need privacy from one another, is also a problem.

Re: 4chan source code leaked (2010)

#104
post #87

Earlier quoted context omitted.

It's kind of surprising though. I wonder what the results of a 4chan re-write by 4chan users would look like. Or even splitting out some functions for re-writing.

Well, others have written their own scripts - KusabaX springs to mind. There's another one called TinyIB or something as well.

I've played with Kusaba X... it's exactly the kind of software that people who hate PHP, hate PHP for.

I think you're thinking of tinyboard: https://github.com/savetheinternet/Tinyboard

Re: 4chan source code leaked (2010)

#106
post #61

Earlier quoted context omitted.

CloudFlare was hacked with the sole intention of taking over 4chan.org's domain. They're a huge target.

Okay lets say they are a massive target. There is still a monetary issues. 4chan is a cultural and ideological landmark on the American internet. Not only are their clones, but "Cloning 4chan" is almost a business in and of itself. And they fail. 4chan's month to month profits are barely to not-at-all existent. In a purely dollars and cents way, 4chan is a failure. So their is very little monetary motivation for disc…

They have tens of thousands of "passes" (basically accounts) and the payment information associated with them.

Re: 4chan source code leaked (2010)

#107
post #87

Earlier quoted context omitted.

It's kind of surprising though. I wonder what the results of a 4chan re-write by 4chan users would look like. Or even splitting out some functions for re-writing.

Well, others have written their own scripts - KusabaX springs to mind. There's another one called TinyIB or something as well.

http://9ch.in/overscript/ is a fairly exhaustive list

Re: 4chan source code leaked (2010)

#108

This is not leaked recently but spread today which caused people to believe it was looted during the 4chan hack earlier today. The 4chan administration has been awkwardly silenced about the compromised 4chan website, but this isn't one of the reasons. http://9ch.in/overscript/ http://9ch.in/overscript/files/yotsuba.txt

yes, I actually added that leaked code to overscript in 2012, previously there was another leak in 2010.
Post reply on HN