mirror of
https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite.git
synced 2025-12-06 09:01:29 +00:00
Update CI-master_tests.yml
This commit is contained in:
24
.github/workflows/CI-master_tests.yml
vendored
24
.github/workflows/CI-master_tests.yml
vendored
@@ -66,7 +66,7 @@ jobs:
|
|||||||
echo "build Any CPU"
|
echo "build Any CPU"
|
||||||
msbuild -m $env:Solution_Path /t:Rebuild /p:Configuration=$env:Configuration /p:Platform="Any CPU"
|
msbuild -m $env:Solution_Path /t:Rebuild /p:Configuration=$env:Configuration /p:Platform="Any CPU"
|
||||||
|
|
||||||
- name: Execute winPEAS
|
- name: Execute winPEAS -h
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
$Configuration = "Release"
|
$Configuration = "Release"
|
||||||
@@ -77,6 +77,28 @@ jobs:
|
|||||||
Write-Error "winPEAS.exe not found at $exePath"
|
Write-Error "winPEAS.exe not found at $exePath"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- name: Execute winPEAS domain
|
||||||
|
shell: pwsh
|
||||||
|
run: |
|
||||||
|
$Configuration = "Release"
|
||||||
|
$exePath = "winPEAS/winPEASexe/winPEAS/bin/$Configuration/winPEAS.exe"
|
||||||
|
if (Test-Path $exePath) {
|
||||||
|
& $exePath domain
|
||||||
|
} else {
|
||||||
|
Write-Error "winPEAS.exe not found at $exePath"
|
||||||
|
}
|
||||||
|
|
||||||
|
- name: Execute winPEAS systeminfo
|
||||||
|
shell: pwsh
|
||||||
|
run: |
|
||||||
|
$Configuration = "Release"
|
||||||
|
$exePath = "winPEAS/winPEASexe/winPEAS/bin/$Configuration/winPEAS.exe"
|
||||||
|
if (Test-Path $exePath) {
|
||||||
|
& $exePath systeminfo
|
||||||
|
} else {
|
||||||
|
Write-Error "winPEAS.exe not found at $exePath"
|
||||||
|
}
|
||||||
|
|
||||||
# Copy the built versions
|
# Copy the built versions
|
||||||
- name: Copy all versions
|
- name: Copy all versions
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user