I would like to verify a Wordpress user password via a CGI script so that I can provide some files if it is a valid user.
Wordpress users are stored with their "salted" password in a mySQL DB and I do not know how to salt the plain password I can get from an input form to compare correctly with the salted one in the DB.
So I was thinking about calling from my Perl CGI a WordPress PHP function that checks the password and if this happens I assume the password given by the user is correct.