mirror of
https://github.com/peass-ng/PEASS-ng.git
synced 2026-03-12 21:23:13 -07:00
f
This commit is contained in:
116
.github/workflows/PR-tests.yml
vendored
116
.github/workflows/PR-tests.yml
vendored
@@ -47,8 +47,8 @@ jobs:
|
||||
run: msbuild $env:Solution_Path /p:Configuration=$env:Configuration /p:UseSharedCompilation=false
|
||||
|
||||
# Execute unit tests in the solution
|
||||
# - name: Execute unit tests
|
||||
# run: dotnet test $env:Solution_Path --configuration $env:Configuration
|
||||
- name: Execute unit tests
|
||||
run: dotnet test $env:Solution_Path --configuration $env:Configuration
|
||||
|
||||
# Build all versions
|
||||
- name: Build all versions
|
||||
@@ -73,38 +73,38 @@ jobs:
|
||||
Write-Error "winPEAS.exe not found at $exePath"
|
||||
}
|
||||
|
||||
# - name: Execute winPEAS cloudinfo
|
||||
# shell: pwsh
|
||||
# run: |
|
||||
# $Configuration = "Release"
|
||||
# $exePath = "winPEAS/winPEASexe/winPEAS/bin/$Configuration/winPEAS.exe"
|
||||
# if (Test-Path $exePath) {
|
||||
# & $exePath cloudinfo
|
||||
# } else {
|
||||
# Write-Error "winPEAS.exe not found at $exePath"
|
||||
# }
|
||||
- name: Execute winPEAS cloudinfo
|
||||
shell: pwsh
|
||||
run: |
|
||||
$Configuration = "Release"
|
||||
$exePath = "winPEAS/winPEASexe/winPEAS/bin/$Configuration/winPEAS.exe"
|
||||
if (Test-Path $exePath) {
|
||||
& $exePath cloudinfo
|
||||
} 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"
|
||||
# }
|
||||
- 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"
|
||||
}
|
||||
|
||||
# - name: Execute winPEAS networkinfo
|
||||
# shell: pwsh
|
||||
# run: |
|
||||
# $Configuration = "Release"
|
||||
# $exePath = "winPEAS/winPEASexe/winPEAS/bin/$Configuration/winPEAS.exe"
|
||||
# if (Test-Path $exePath) {
|
||||
# & $exePath networkinfo
|
||||
# } else {
|
||||
# Write-Error "winPEAS.exe not found at $exePath"
|
||||
# }
|
||||
- name: Execute winPEAS networkinfo
|
||||
shell: pwsh
|
||||
run: |
|
||||
$Configuration = "Release"
|
||||
$exePath = "winPEAS/winPEASexe/winPEAS/bin/$Configuration/winPEAS.exe"
|
||||
if (Test-Path $exePath) {
|
||||
& $exePath networkinfo
|
||||
} else {
|
||||
Write-Error "winPEAS.exe not found at $exePath"
|
||||
}
|
||||
|
||||
Build_and_test_linpeas_pr:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -131,40 +131,40 @@ jobs:
|
||||
python3 -m builder.linpeas_builder --all-no-fat --output linpeas.sh
|
||||
python3 -m builder.linpeas_builder --small --output linpeas_small.sh
|
||||
|
||||
# - name: Run linPEAS builder tests
|
||||
# run: python3 -m unittest discover -s linPEAS/tests -p "test_*.py"
|
||||
- name: Run linPEAS builder tests
|
||||
run: python3 -m unittest discover -s linPEAS/tests -p "test_*.py"
|
||||
|
||||
# Run linpeas help as quick test
|
||||
# - name: Run linpeas help
|
||||
# run: linPEAS/linpeas_fat.sh -h && linPEAS/linpeas.sh -h && linPEAS/linpeas_small.sh -h
|
||||
- name: Run linpeas help
|
||||
run: linPEAS/linpeas_fat.sh -h && linPEAS/linpeas.sh -h && linPEAS/linpeas_small.sh -h
|
||||
|
||||
# Run linpeas as a test
|
||||
# - name: Run linpeas system_information
|
||||
# run: linPEAS/linpeas_fat.sh -o system_information -a
|
||||
- name: Run linpeas system_information
|
||||
run: linPEAS/linpeas_fat.sh -o system_information -a
|
||||
|
||||
# - name: Run linpeas container
|
||||
# run: linPEAS/linpeas_fat.sh -o container -a
|
||||
- name: Run linpeas container
|
||||
run: linPEAS/linpeas_fat.sh -o container -a
|
||||
|
||||
# - name: Run linpeas cloud
|
||||
# run: linPEAS/linpeas_fat.sh -o cloud -a
|
||||
- name: Run linpeas cloud
|
||||
run: linPEAS/linpeas_fat.sh -o cloud -a
|
||||
|
||||
# - name: Run linpeas procs_crons_timers_srvcs_sockets
|
||||
# run: linPEAS/linpeas_fat.sh -o procs_crons_timers_srvcs_sockets -a
|
||||
- name: Run linpeas procs_crons_timers_srvcs_sockets
|
||||
run: linPEAS/linpeas_fat.sh -o procs_crons_timers_srvcs_sockets -a
|
||||
|
||||
# - name: Run linpeas network_information
|
||||
# run: linPEAS/linpeas_fat.sh -o network_information -t -a
|
||||
- name: Run linpeas network_information
|
||||
run: linPEAS/linpeas_fat.sh -o network_information -t -a
|
||||
|
||||
# - name: Run linpeas users_information
|
||||
# run: linPEAS/linpeas_fat.sh -o users_information -a
|
||||
- name: Run linpeas users_information
|
||||
run: linPEAS/linpeas_fat.sh -o users_information -a
|
||||
|
||||
# - name: Run linpeas software_information
|
||||
# run: linPEAS/linpeas_fat.sh -o software_information -a
|
||||
- name: Run linpeas software_information
|
||||
run: linPEAS/linpeas_fat.sh -o software_information -a
|
||||
|
||||
# - name: Run linpeas interesting_perms_files
|
||||
# run: linPEAS/linpeas_fat.sh -o interesting_perms_files -a
|
||||
- name: Run linpeas interesting_perms_files
|
||||
run: linPEAS/linpeas_fat.sh -o interesting_perms_files -a
|
||||
|
||||
# - name: Run linpeas interesting_files
|
||||
# run: linPEAS/linpeas_fat.sh -o interesting_files -a
|
||||
- name: Run linpeas interesting_files
|
||||
run: linPEAS/linpeas_fat.sh -o interesting_files -a
|
||||
|
||||
Build_and_test_macpeas_pr:
|
||||
runs-on: macos-latest
|
||||
@@ -184,12 +184,12 @@ jobs:
|
||||
python3 -m builder.linpeas_builder --all --output linpeas_fat.sh
|
||||
|
||||
# Run linpeas help as quick test
|
||||
# - name: Run macpeas help
|
||||
# run: linPEAS/linpeas_fat.sh -h
|
||||
- name: Run macpeas help
|
||||
run: linPEAS/linpeas_fat.sh -h
|
||||
|
||||
# Run macpeas parts to test it
|
||||
# - name: Run macpeas system_information
|
||||
# run: linPEAS/linpeas_fat.sh -o system_information -a
|
||||
- name: Run macpeas system_information
|
||||
run: linPEAS/linpeas_fat.sh -o system_information -a
|
||||
|
||||
# - name: Run macpeas container
|
||||
# run: linPEAS/linpeas_fat.sh -o container -a
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
Job: Build_and_test_linpeas_pr (id 64742691410)
|
||||
URL: https://github.com/peass-ng/PEASS-ng/actions/runs/22369031738/job/64742691410
|
||||
Step: Build linpeas
|
||||
|
||||
Job: Build_and_test_macpeas_pr (id 64742691434)
|
||||
URL: https://github.com/peass-ng/PEASS-ng/actions/runs/22369031738/job/64742691434
|
||||
Step: Build macpeas
|
||||
@@ -1,15 +0,0 @@
|
||||
You are fixing CI failures for PR #603 in peass-ng/PEASS-ng.
|
||||
The failing workflow run is: https://github.com/peass-ng/PEASS-ng/actions/runs/22369031738
|
||||
The PR branch is: demo/pr-tests-speedup-fixer-check
|
||||
|
||||
Failure summary:
|
||||
Job: Build_and_test_linpeas_pr (id 64742691410)
|
||||
URL: https://github.com/peass-ng/PEASS-ng/actions/runs/22369031738/job/64742691410
|
||||
Step: Build linpeas
|
||||
|
||||
Job: Build_and_test_macpeas_pr (id 64742691434)
|
||||
URL: https://github.com/peass-ng/PEASS-ng/actions/runs/22369031738/job/64742691434
|
||||
Step: Build macpeas
|
||||
Please identify the cause, apply a easy, simple and minimal fix, and update files accordingly.
|
||||
Run any fast checks you can locally (no network).
|
||||
Leave the repo in a state ready to commit as when you finish, it'll be automatically committed and pushed.
|
||||
Reference in New Issue
Block a user