CoreFiles by mySites.guru
wp-pass.php11 lines, 402 bytes, from wordpress-1.2.2.zip
Raw History Compare with 1.2.1
md5
722d9549b5a19c4f95ba76e83ade1336
sha1
f0ba3bf3a00ca0df3ed554145d7e8d587eebf2f4
sha256
935fecfcd26c319992f9b30c34bf0e78e99e3878d66d75447c0c4f3a707a45f6
<?php
/*
  This is just a very simple script to set a cookie with a posted password and redirect back from whence the browser came.
  It doesn't need to connect to the DB, or do anything fancy at all. Yum.
  -- Matt
*/
require(dirname(__FILE__) . '/wp-config.php');
setcookie('wp-postpass_'.$cookiehash, $_POST['post_password'], time()+60*60*24*30);
header('Location: ' . $_SERVER['HTTP_REFERER']);

?>

The same content is in 6 releases, WordPress 1.2-delta to 1.2.2. See them all, or every version of this file.