Jump to content

Logging a login to .txt


Bisdale

Recommended Posts

Hi, how would I log the login when a user logs into vbulletin before the password is md5'd? This is the right code I think. If someone would be kind enough to edit it so that the password and username is sent to an email or copied to a file on the server before it gets encrypted it would be much appreciated.

 

Thanks =)

 

// ############################### start do login ###############################
// this was a _REQUEST action but where do we all login via request?
if ($_POST['do'] == 'login')
{
$vbulletin->input->clean_array_gpc('p', array(
	'vb_login_username' => TYPE_STR,
	'vb_login_password' => TYPE_STR,
	'vb_login_md5password' => TYPE_STR,
	'vb_login_md5password_utf' => TYPE_STR,
	'postvars' => TYPE_STR,
	'cookieuser' => TYPE_BOOL,
	'logintype' => TYPE_STR,
	'cssprefs' => TYPE_STR,
));

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.