Export IIS configuration information through the command line

Source: Internet
Author: User

Zero soul s Blog

When penetrating an intranet, an Intranet SA is obtained. The IP address mapped to the Internet is unknown, port 80 is enabled, and the server cannot be connected externally. If this machine is thirsty for IIS configuration information, Google will get the method and share it.

Iiscnfg/export/f c: zerosoul. xml/sp // children/inherited

However, in many cases, if you run the command directly on the server, the following error occurs: cscript is not the default vbs interpreter (iiscnfg is a VBS file iiscnfg. vbs). Therefore, we should use cscript to run the command with parameters:

Cscript C: WINDOWSsystem32iiscnfg. vbs/export/f c: zerosoul. xml/sp/children/inherited

PS: the path after the start/sp parameter is incorrect. Later, you can use the "/" root path, and the information is more complete.

For detailed parameters, please Google.

PS:

The <IIsWebServer> tag contains basic website configuration information.

The <IIsWebVirtualDir> tag contains the website directory configuration information and other configuration information.

Others

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.