Upload of project source code files.
This commit is contained in:
37
run_checks.ps1
Normal file
37
run_checks.ps1
Normal file
@@ -0,0 +1,37 @@
|
||||
Start-Process "powershell.exe" -ArgumentList @(
|
||||
"-NoExit",
|
||||
"-Command",
|
||||
"python components\server\main.py;
|
||||
Write-Host 'Server has started. Press Enter to close this window...';
|
||||
Read-Host"
|
||||
)
|
||||
|
||||
Write-Host "Waiting for the server to start. Press Enter to continue..."
|
||||
Read-Host
|
||||
|
||||
Start-Process "powershell.exe" -ArgumentList @(
|
||||
"-NoExit",
|
||||
"-Command",
|
||||
'nim c --opt:size -f --threads:on -o:./components/implant/out/rawr ./components/implant/paw.nim;
|
||||
if ($LASTEXITCODE -eq 0) {
|
||||
Write-Host ''Compilation successful, executing rawr.exe...'';
|
||||
Start-Process -NoNewWindow ''components\implant\out\rawr.exe'';
|
||||
} else {
|
||||
Write-Host ''Compilation failed.'';
|
||||
}
|
||||
Write-Host ''Press Enter to close this window...'';
|
||||
Read-Host'
|
||||
)
|
||||
|
||||
Write-Host "Waiting for the testing implant to connect. Press Enter to continue..."
|
||||
Read-Host
|
||||
|
||||
Start-Sleep -Milliseconds 500
|
||||
|
||||
Start-Process "powershell.exe" -ArgumentList @(
|
||||
"-NoExit",
|
||||
"-Command",
|
||||
"python paw.py;
|
||||
Write-Host 'paw.py script finished. Press Enter to close this window...';
|
||||
Read-Host"
|
||||
)
|
||||
Reference in New Issue
Block a user