well at least you're honest
I must say I got a kick out of your plan. Truth is, it's been done before, and the code is probably floating on the web.
But not to sould to "preachy" but do you really think it's worth the trouble you might get into?
Is that fair to the user who's password you stole?
Don't do it, it's not worth the effort. Try thinking of a constructive hack instead.
--Kervin