mirror of
https://github.com/peass-ng/PEASS-ng.git
synced 2025-12-12 07:40:39 -08:00
fix kill?
This commit is contained in:
@@ -32,7 +32,7 @@ execBin() {
|
||||
# ---------------- 120‑second wall‑clock timeout ----------------
|
||||
if command -v timeout >/dev/null 2>&1; then # GNU/BSD timeout
|
||||
print_info "Running $TOOL_NAME with 120s timeout"
|
||||
timeout --preserve-status 120 "$TMP_BIN" $PARAMS
|
||||
timeout --preserve-status -s 9 120 "$TMP_BIN" $PARAMS
|
||||
elif command -v gtimeout >/dev/null 2>&1; then # Homebrew coreutils (macOS)
|
||||
print_info "Running $TOOL_NAME with 120s gtimeout"
|
||||
gtimeout --preserve-status 120 "$TMP_BIN" $PARAMS
|
||||
|
||||
Reference in New Issue
Block a user