icoa-cli 2.19.28 → 2.19.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/ai4ctf.js +11 -9
- package/package.json +1 -1
package/dist/commands/ai4ctf.js
CHANGED
|
@@ -175,15 +175,17 @@ export function registerAi4ctfCommand(program) {
|
|
|
175
175
|
console.log();
|
|
176
176
|
console.log(chalk.white(` ${t('ai4ctfSample')}`));
|
|
177
177
|
console.log();
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
console.log(chalk.cyan('
|
|
181
|
-
console.log(chalk.cyan(' │') + chalk.white(
|
|
182
|
-
console.log(chalk.cyan(' │')
|
|
183
|
-
console.log(chalk.cyan(' │') + chalk.white(
|
|
184
|
-
console.log(chalk.cyan(' │
|
|
185
|
-
console.log(chalk.cyan(' │')
|
|
186
|
-
console.log(chalk.cyan('
|
|
178
|
+
// Left gutter only — right border dropped because CJK/emoji widths
|
|
179
|
+
// broke `padEnd` alignment across the 16 supported languages.
|
|
180
|
+
console.log(chalk.cyan(' ┌─────────────────────────────────────────────'));
|
|
181
|
+
console.log(chalk.cyan(' │ ') + chalk.bold.white(t('ai4ctfChallenge')));
|
|
182
|
+
console.log(chalk.cyan(' │'));
|
|
183
|
+
console.log(chalk.cyan(' │ ') + chalk.white(t('ai4ctfIntercepted')));
|
|
184
|
+
console.log(chalk.cyan(' │ ') + chalk.green('aWNvYXt3M2xjMG1lXzJfYWk0Y3RmfQ=='));
|
|
185
|
+
console.log(chalk.cyan(' │'));
|
|
186
|
+
console.log(chalk.cyan(' │ ') + chalk.white(t('ai4ctfDecode')));
|
|
187
|
+
console.log(chalk.cyan(' │ ') + chalk.gray('Flag format: icoa{...}'));
|
|
188
|
+
console.log(chalk.cyan(' └─────────────────────────────────────────────'));
|
|
187
189
|
console.log();
|
|
188
190
|
console.log(chalk.white(` ${t('ai4ctfLevels')}`));
|
|
189
191
|
console.log();
|