Re:Facebook PHP Source Code from August 2007
by minifig on Saturday October 12, 2013 @11:04AM
(#6538951)
managed to save a copy of several files that appeared at the time - home.php, album, group, friends, photo, profile, readmessage ... code was an interesting read, as were the comments in it:
// You fucking link h4x0rs just got pwned
// Shortcut out of this CRAZY expensive garbonzle
// What did we come up with?
// don't display the Tuna album (aid=-1)
// is this group a dummy meant to populate newsfeeds?
// do not list the creator as harvard
// keep track of tuna contexts
// Merman's Admin profile always links to the Merman's profile
// NOTE: ok, at this point we know we are going to display the full // page, so it is time to do a PHATTY PHATTY MULTIGET of all the shit that // we are going to need to make this page, or at least the most common things
// Clear fire if desired
Re:Facebook PHP Source Code from August 2007
by micheljansen on Saturday October 12, 2013 @11:23AM
(#6539015)
Can anyone explain the strange obsession with tuna?
Even in this index.php:
// make sure big tunas haven't moved around
Re:Facebook PHP Source Code from August 2007
by vinhboy on Saturday October 12, 2013 @12:14PM
(#6539203)
I am going to guess one of their test environment has an album with pictures of Tunas.
Re:Facebook PHP Source Code from August 2007
by dbloom on Sunday October 13, 2013 @02:25AM
(#6541706)
Based on my secondhand knowledge, a "tuna" was a way to attach a wall (comments) to anything with a unique ID.
Re:Facebook PHP Source Code from August 2007
by switch007 on Saturday October 12, 2013 @03:22PM
(#6539908)
this was obviously computer misuse. although they didn't intend to show you, you saw the secret credentials. go straight to prison.
Re:Facebook PHP Source Code from August 2007
by TazeTSchnitzel on Saturday October 12, 2013 @09:43AM
(#6538707)
I wonder if it was based on the code Zuckerberg used for the Java friend graph he had on his homepage prior to Facebook.
Could you perhaps censor the credentials and release it?
Re:Facebook PHP Source Code from August 2007
by m0th87 on Saturday October 12, 2013 @10:28AM
(#6538832)
I am not a lawyer, but even with censored credentials this seems like a bad idea. Especially since my profile is not exactly anonymous.
Any Facebook employees want to get me a green light? :)
Re:Facebook PHP Source Code from August 2007
by tomphoolery on Saturday October 12, 2013 @11:54AM
(#6539127)
...do the credentials still work? :)
Re:Facebook PHP Source Code from August 2007
by uhohuhhuh on Sunday October 13, 2013 @08:06AM
(#6542305)
The db was most likely never listening for connections from the world at large anyway.
Re:Facebook PHP Source Code from August 2007
by redwall_hp on Monday October 14, 2013 @02:15AM
(#6545646)
If their code was so easily leaked, it's not out of the realm of possibility...
One time I clicked it and got the source code to the file instead of the graph. It's somewhere on one of my hard drives, but it seems wrong to leak, especially since it has database credentials hard-coded into it.