Forgotten password on phpfm (Php file manager)

You can reset it by adding the md5 for a new password on the first line.

Eg:

//a:9:{s:4:"lang";s:2:"en";s:9:"auth_pass";s:32:"ff7fcbb837ccd3c9de7ff8705593d01f";s:8:"quota_mb";i:0;s:17:"upload_ext_filter";a:0:{}s:19:"download_ext_filter";a:0:{}s:15:"error_reporting";s:0:"";s:7:"fm_root";s:30:"/var/www/virtual/droidzone.in/";s:17:"cookie_cache_time";i:1096733048;s:7:"version";s:5:"0.9.3";}

Note:

The string

ff7fcbb837ccd3c9de7ff8705593d01f[/code]
would be changed to
d41d8cd98f00b204e9800998ecf8427e

which is the md5 for the null string

Once this md5 is entered, the program does not ask for a password (which is a bad idea).

A good online md5 generator can be found here.


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.