We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c53cd87 + 8270743 commit 0f2bd1dCopy full SHA for 0f2bd1d
Recon/PowerView.ps1
@@ -9263,7 +9263,7 @@ function Invoke-ThreadedFunction {
9263
$WaitTimeout = Get-Date
9264
9265
# set a 60 second timeout for the scanning threads
9266
- while ($($Jobs | Where-Object {$_.IsCompleted -eq $False}).count -gt 0 -or $($($(Get-Date) - $WaitTimeout).totalSeconds) -gt 60) {
+ while ($($Jobs | Where-Object {$_.IsCompleted -eq $False}).count -gt 0 -and $($($(Get-Date) - $WaitTimeout).totalSeconds) -lt 60) {
9267
Start-Sleep -MilliSeconds 500
9268
}
9269
0 commit comments