Skip to content

Commit

Permalink
Fix startup.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson authored and mudongliang committed Jan 11, 2024
1 parent 16d9b35 commit 86f3236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows/startup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Set-Acl -Path C:\flag -AclObject $flagAcl
Set-Content -Path C:\flag -Value (Get-Content X:\flag)
Remove-Item -Path X:\flag -Force

if (Test-Path X:\practice-mode-enabled -or Test-Path A:\practice-mode-enabled) {
if (Test-Path X:\practice-mode-enabled) {
Add-LocalGroupMember -Group "Administrators" -Member hacker
}

Expand Down

0 comments on commit 86f3236

Please sign in to comment.