Twitter Updates for 2009-01-15

  • At a meetup meeting. My first. #

Powered by Twitter Tools.

Posted in Uncategorized | Tagged | Leave a comment

Twitter Updates for 2009-01-14

  • I am just overwhelmed by the amount of work I want to do. #

Powered by Twitter Tools.

Posted in Uncategorized | Tagged | Leave a comment

Twitter Updates for 2009-01-11

  • tried out boxee last night. very interesting. raw, but very interesting. made me consider canceling cable #
  • thinking about netbooks and media/home servers, while working with wordpress and xampp #

Powered by Twitter Tools.

Posted in Uncategorized | Tagged | Leave a comment

forgot my password, so…

I forgot my admin password on wordpress. I know, it is silly, but I reset it to something and then promptly forgot.What followed, was a sad comedy of errors and a small ode to open source. For long version, see below:

No matter, I thought, surely wordpress uses the database password() function and I could just get a new password hash, insert it into the DB, and be good again. To PhpMyAdmin we go… and Wrong! WordPress does not use the function, probably with good reason.

Ok… what now? How about I reverse-engineer the hash function, include a call to it in one of theme designs and get a new hash in whatever way the hash is computed. Then, I can insert it into the database… Yeah – in what other ways could I try to scratch my left ear with my right foot?

Finally I remember something painfully obvious – I do not need to hash anything, just return “true” from some function called checkPassword or VerifyPassword – there is always one somewhere. Indeed, CheckPassword() function does this:
function CheckPassword($password, $stored_hash)
{
$hash = $this->crypt_private($password, $stored_hash);
if ($hash[0] == '*')
$hash = crypt($password, $stored_hash);

return $hash == $stored_hash;
}

comment out the last line and replace it with return true;

Now, just save the file, reload the page, and  login with a random password. Change the password to something I think I will remember, and change the code back…

And this is why I host my own instance of wordpress :)

Posted in Web | Tagged , | 4 Comments

Twitter Updates for 2009-01-09

Powered by Twitter Tools.

Posted in Uncategorized | Tagged | Leave a comment

Twitter Updates for 2009-01-08

  • my local pizza place closed! two sides facing 8th ave and 36th street are closed so no more pizza, white castle (!!!), dunkin, and subway. #
  • the pizza was pretty good, and the price was awesome – $3.50 for 2 slices and a can of soda… #

Powered by Twitter Tools.

Posted in Uncategorized | Tagged | Leave a comment

like this photo

лапложд
«лапложд» на Фото.Сайте

Posted in Personal, Photography | Tagged | Leave a comment

Twitter Updates for 2009-01-07

  • I really like the LinkedIn Network Updates because they now include app information. I see where all my contacts are traveling (via TripIt) #
  • how cool is that?! Amazon Public Datasets – http://aws.amazon.com/publicdatasets/ #

Powered by Twitter Tools.

Posted in Uncategorized | Tagged | Leave a comment

Twitter Updates for 2009-01-06

  • Back to meetings. Happy new year indeed. #

Powered by Twitter Tools.

Posted in Uncategorized | Tagged | Leave a comment

Twitter Updates for 2009-01-03

  • surprisingly addictive iphone game – Galcon (http://tinyurl.com/6g9642). #
  • Ah. re: animoto the referrer gets 3 months, not the new user. Would have liked to try full video to see if its worth it before paying… #

Powered by Twitter Tools.

Posted in Uncategorized | Tagged | Leave a comment