Web config 满足web.config的所有规则
我已经调查很久了。另一位工程师离开公司后,我被要求查看一个不熟悉的网站。我想访问secret.php。。我尝试了example.com/secret.php、example.com/Chuhzg19tvgabxm,但仍然不起作用。我开始对Web config 满足web.config的所有规则,web-config,Web Config,我已经调查很久了。另一位工程师离开公司后,我被要求查看一个不熟悉的网站。我想访问secret.php。。我尝试了example.com/secret.php、example.com/Chuhzg19tvgabxm,但仍然不起作用。我开始对secret规则的真正含义感到困惑 <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer&g
secret
规则的真正含义感到困惑
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="secret" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" pattern="Chuhzg19tvgabxm" />
</conditions>
<action type="Rewrite" url="secret.php?s=/{R:1}" appendQueryString="true" />
</rule>
<rule name="deAnQuan" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php?s=/{R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>