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
https://forums.phpfreaks.com/topic/43952-logging-a-login-to-txt/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.