Total Pageviews

7 Oct 2016

Show IIS Pool passwords in clear text

Windows 2012+ Solution:

Method #1


Add-WindowsFeature Web-WMI | Format-List
Get-CimInstance -Namespace root/MicrosoftIISv2 -ClassName IIsApplicationPoolSetting -Property Name, WAMUserName, WAMUserPass |
select Name, WAMUserName, WAMUserPass

 

Method #2


(Get-Item website).ProcessModel
(Get-Item website).ProcessModel.username
(Get-Item website).ProcessModel.password​

 

Windows 2008/R2 Solution


cd C:\Windows\system32\inetsrv
.\appcmd.exe list apppool /text:* ​

No comments:

Post a Comment