pentesting 0.8.36 → 0.8.37
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/index.js +11 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6645,17 +6645,15 @@ var THEME = {
|
|
|
6645
6645
|
success: ["#888888", "#aaaaaa"],
|
|
6646
6646
|
gold: ["#999999", "#cccccc"]
|
|
6647
6647
|
},
|
|
6648
|
-
// Spinner color (
|
|
6649
|
-
spinner: "#
|
|
6650
|
-
//
|
|
6648
|
+
// Spinner color (sky blue - matches identity)
|
|
6649
|
+
spinner: "#87CEEB",
|
|
6650
|
+
// Identity color (sky blue)
|
|
6651
|
+
identity: "#87CEEB"
|
|
6651
6652
|
};
|
|
6652
6653
|
var ASCII_BANNER = `
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
\u2588\u2588\u2554\u2550\u2550\u2550\u255D \u2588\u2588\u2554\u2550\u2550\u255D \u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2554\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551
|
|
6657
|
-
\u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D
|
|
6658
|
-
\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D
|
|
6654
|
+
pentesting
|
|
6655
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
6656
|
+
AI-Powered Security Testing
|
|
6659
6657
|
`;
|
|
6660
6658
|
var THOUGHT_LABELS = {
|
|
6661
6659
|
[THOUGHT_TYPE.THINKING]: "[think]",
|
|
@@ -8141,7 +8139,7 @@ program.command("interactive", { isDefault: true }).alias("i").description("Star
|
|
|
8141
8139
|
const opts = program.opts();
|
|
8142
8140
|
const skipPermissions = opts.dangerouslySkipPermissions || false;
|
|
8143
8141
|
console.clear();
|
|
8144
|
-
console.log(chalk.hex(THEME.
|
|
8142
|
+
console.log(chalk.hex(THEME.identity)(ASCII_BANNER));
|
|
8145
8143
|
if (skipPermissions) {
|
|
8146
8144
|
console.log(chalk.hex(THEME.status.error)("[!] WARNING: Running with --dangerously-skip-permissions"));
|
|
8147
8145
|
console.log(chalk.hex(THEME.status.error)("[!] All tool executions will be auto-approved!\n"));
|
|
@@ -8162,7 +8160,7 @@ program.command("interactive", { isDefault: true }).alias("i").description("Star
|
|
|
8162
8160
|
program.command("run <objective>").alias("r").description("Run a single objective and exit").option("-o, --output <file>", "Output file for results").option("--max-steps <n>", "Maximum number of steps", "50").action(async (objective, options) => {
|
|
8163
8161
|
const opts = program.opts();
|
|
8164
8162
|
const skipPermissions = opts.dangerouslySkipPermissions || false;
|
|
8165
|
-
console.log(chalk.hex(THEME.
|
|
8163
|
+
console.log(chalk.hex(THEME.identity)(ASCII_BANNER));
|
|
8166
8164
|
if (skipPermissions) {
|
|
8167
8165
|
console.log(chalk.hex(THEME.status.error)("[!] WARNING: Running with --dangerously-skip-permissions\n"));
|
|
8168
8166
|
}
|
|
@@ -8205,7 +8203,7 @@ program.command("run <objective>").alias("r").description("Run a single objectiv
|
|
|
8205
8203
|
program.command("scan <target>").description("Quick scan a target").option("-s, --scan-type <type>", "Scan type (quick|full|stealth|service|vuln)", "quick").option("-p, --ports <ports>", "Specific ports to scan").action(async (target, options) => {
|
|
8206
8204
|
const opts = program.opts();
|
|
8207
8205
|
const skipPermissions = opts.dangerouslySkipPermissions || false;
|
|
8208
|
-
console.log(chalk.hex(THEME.
|
|
8206
|
+
console.log(chalk.hex(THEME.identity)(ASCII_BANNER));
|
|
8209
8207
|
console.log(chalk.hex(THEME.text.accent)(`
|
|
8210
8208
|
[scan] Target: ${target} (${options.scanType})
|
|
8211
8209
|
`));
|
|
@@ -8218,7 +8216,7 @@ program.command("scan <target>").description("Quick scan a target").option("-s,
|
|
|
8218
8216
|
console.log(chalk.hex(THEME.status.success)("[+] Scan complete!"));
|
|
8219
8217
|
});
|
|
8220
8218
|
program.command("help-extended").description("Show extended help with examples").action(() => {
|
|
8221
|
-
console.log(chalk.hex(THEME.
|
|
8219
|
+
console.log(chalk.hex(THEME.identity)(ASCII_BANNER));
|
|
8222
8220
|
console.log(`
|
|
8223
8221
|
${chalk.hex(THEME.text.accent)("Pentest - Autonomous Penetration Testing AI")}
|
|
8224
8222
|
|