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

imgboard . php

Name: Anonymous 2009-02-01 1:48

So I was browsing /b/ when it crashed, and a download popped up for imgboard.php

http://pastebin.com/m2c2883d7

Haven't gotten a chance to look through it yet. Is this win?

Name: Anonymous 2009-02-03 18:44

>>105
CTRL-F + "salt"

#
            if ($sectrip != "") {
#
                $salt = "LOLLOLOLOLOLOLOLOLOLOLOLOLOLOLOL"; #this is ONLY used if the host doesn't have openssl
#
                                                        #I don't know a better way to get random data
#
            if (file_exists(SALTFILE)) { #already generated a key
#
                $salt = file_get_contents(SALTFILE);
#
            } else {
#
                system("openssl rand 448 > '".SALTFILE."'",$err);
#
                if ($err === 0) {
#
                    chmod(SALTFILE,0400);
#
                    $salt = file_get_contents(SALTFILE);
#
                }
#
            }
#
                $sha = base64_encode(pack("H*",sha1($sectrip.$salt)));
#
                $sha = substr($sha,0,11);
#
                            if($trip=="") $name.=" <span class=\"postertrip\">";
#
                            $name.="!!".$sha;
#
            }

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