Coderabit changes

This commit is contained in:
Adam Outler
2025-11-29 02:44:55 +00:00
parent 5e4ad10fe0
commit 531b66effe
3 changed files with 25 additions and 15 deletions

View File

@@ -208,7 +208,8 @@ def get_open_ports():
cmd,
capture_output=True,
text=True,
check=True
check=True,
timeout=120
)
# Parse output for open ports
@@ -388,7 +389,7 @@ def wol_wake_device():
try:
# Using wakeonlan command
result = subprocess.run(
["wakeonlan", mac], capture_output=True, text=True, check=True
["wakeonlan", mac], capture_output=True, text=True, check=True, timeout=10
)
return jsonify(
{