Skip to content

Commit

Permalink
brute force rights on temporary asp.net files
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Feb 5, 2024
1 parent 46f6b19 commit eede6be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test-windows-iis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,13 @@ jobs:
shell: cmd
run: |
REM enable permissions for the Application Pool Identity group
icacls C:\Windows\Temp /grant "IIS_IUSRS:(OI)(CI)F" /T
icacls "c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files" /grant "IIS_IUSRS:(OI)(CI)F" /T
icacls %cd% /t /q /grant "IIS_IUSRS:(OI)(CI)(IO)(RX)"
REM enable permissions for the anonymous access group
icacls %cd% /t /q /grant "IUSR:(OI)(CI)(IO)(RX)"
icacls C:\Windows\Temp /grant "IUSR:(OI)(CI)F" /T
icacls "c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files" /grant "IUSR:(OI)(CI)F" /T
- name: Run tests
shell: cmd
Expand Down

0 comments on commit eede6be

Please sign in to comment.