IISreset creates web.config under the wwwroot dir. Anyone know why this would happen? it's creating a vulnerability.
thanks
IIS should only generate web.config when it need to apply some configuration change in site level. Please check what was logged in that web.config and did you enable always running for your web application in Default Web Site.
Besides, Microsoft Prcocess monitor will display the process that created web.config. Please create a filter for "Path contains wwwroot\web.config".
https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.