Skip to content

Commit bb43ae7

Browse files
committed
Stdout bugfix
Used Write-Output instead of Write-Host
1 parent fc52158 commit bb43ae7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

timeroast.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ for ($queryRid = $minRID; (Get-Date) -lt $timeoutTime; $queryRid++) {
9999
if ($outputFile) {
100100
$hashcatHash | Out-File -Append -FilePath $outputFile
101101
} else {
102-
Write-Host $hashcatHash
102+
Write-Output $hashcatHash
103103
}
104104

105105
# Succesfull receive. Update total timeout.
@@ -111,4 +111,4 @@ for ($queryRid = $minRID; (Get-Date) -lt $timeoutTime; $queryRid++) {
111111
}
112112
}
113113

114-
$client.Close()
114+
$client.Close()

0 commit comments

Comments
 (0)