From a5b51e801006a500617c1ea9b2e0c777e36176a9 Mon Sep 17 00:00:00 2001 From: yuanmengqi Date: Thu, 31 Jul 2025 05:20:04 +0000 Subject: [PATCH] refactor: update command in JSON example to use placeholder for client password - Replaced the hardcoded password in the command with a placeholder `{CLIENT_PASSWORD}` for improved security and flexibility. - Ensured that the overall structure of the JSON remains unchanged while enhancing the example's usability. --- .../examples/os/a462a795-fdc7-4b23-b689-e8b6df786b78.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evaluation_examples/examples/os/a462a795-fdc7-4b23-b689-e8b6df786b78.json b/evaluation_examples/examples/os/a462a795-fdc7-4b23-b689-e8b6df786b78.json index 8bb6a80..d56584e 100644 --- a/evaluation_examples/examples/os/a462a795-fdc7-4b23-b689-e8b6df786b78.json +++ b/evaluation_examples/examples/os/a462a795-fdc7-4b23-b689-e8b6df786b78.json @@ -7,7 +7,7 @@ { "type": "execute", "parameters": { - "command": "echo password | sudo -S su - charles", + "command": "echo {CLIENT_PASSWORD} | sudo -S su - charles", "shell": true } },