Skip to main content
100%

Gist 6960193

✓ Published0🌍 Public
Aalessioalex
Last edited Oct 4, 2012
Created on Oct 13, 2013

This example visualizes the leaked PHP source code of Facebook's homepage and search page from 2007, preserved as a historical artifact. Built with React, the visualization renders the raw code files as text, highlighting the structure of includes, function calls, and parameters. The gist presents the two leaked files side by side, with syntax highlighting to differentiate PHP keywords, variables, strings, and comments, making the code easy to scan. The layout emphasizes the original file hierarchy and include dependencies, while the accompanying README provides context about the leak and its significance. The visualization serves as an interactive historical document, allowing viewers to explore the codebase that once powered Facebook's core pages.

AI-generated description

In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:

http://techcrunch.com/2007/08/11/facebook-source-code-leaked/

It became a big deal:

http://www.techmeme.com/070812/p1#a070812p1

The two files are index.php (the homepage) and search.php (the search page)

I don't know what ended up happening to the guy who stole the code.

I found these files today while searching for another Facebook related file. Worth preserving as part of Internet history.

-- nik

Similar vizzes