Jump to content

link verifier needs curl login


maddogandnoriko

Recommended Posts

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);

 

}

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.