Update task.go

This commit is contained in:
Akizon
2025-08-05 14:51:26 +08:00
committed by GitHub
parent 5092c2db09
commit b5aef223e0

View File

@@ -27,7 +27,7 @@ func NewTask(task_id, command string) {
return return
} }
if flags.DisableWebSsh { if flags.DisableWebSsh {
uploadTaskResult(task_id, "Web SSH (REC) is disabled.", -1, time.Now()) uploadTaskResult(task_id, "Remote control is disabled.", -1, time.Now())
return return
} }
log.Printf("Executing task %s with command: %s", task_id, command) log.Printf("Executing task %s with command: %s", task_id, command)