maddogandnoriko Posted February 28, 2009 Share Posted February 28, 2009 I have been asked/offered to write a link checker for an SMF forum. For whatever reason I do not have access to the MySQL DB so I am doing it the long way...using curl. All pages require login to view. I did the standard curl login thing...but there is a hitch....onsubmit this javascript encodes the password. What is the best way to handle this? Thanks Todd onsubmit="hashLoginPassword(this, 'f23a16bc9e3ddc343f55e76fe0cc2732');" function hashLoginPassword(doForm, cur_session_id){ (abbreviated).... doForm.hash_passwrd.value = hex_sha1(hex_sha1(doForm.user.value.php_to8bit().php_strtolower() + doForm.passwrd.value.php_to8bit()) + cur_session_id); } Quote Link to comment Share on other sites More sharing options...
maddogandnoriko Posted February 28, 2009 Author Share Posted February 28, 2009 BTW, I do have an active account....username and password. Just wanted to be clear I am not trying to anything wrong. todd Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.