pentesting 0.2.7 → 0.3.0
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 +61 -29
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1376,7 +1376,7 @@ const { chromium } = require('playwright');
|
|
|
1376
1376
|
}
|
|
1377
1377
|
|
|
1378
1378
|
// src/config/constants.ts
|
|
1379
|
-
var APP_VERSION = "0.
|
|
1379
|
+
var APP_VERSION = "0.3.0";
|
|
1380
1380
|
var APP_DESCRIPTION = "Autonomous Penetration Testing AI Agent";
|
|
1381
1381
|
var LLM_API_KEY = process.env.PENTEST_API_KEY || process.env.ANTHROPIC_API_KEY || "";
|
|
1382
1382
|
var LLM_BASE_URL = process.env.PENTEST_BASE_URL || void 0;
|
|
@@ -4254,45 +4254,51 @@ var THEME = {
|
|
|
4254
4254
|
// Purple-gray
|
|
4255
4255
|
muted: "#6b6b7d",
|
|
4256
4256
|
// Muted purple-gray
|
|
4257
|
-
accent: "#b794f6"
|
|
4257
|
+
accent: "#b794f6",
|
|
4258
4258
|
// Soft purple (pentesting identity)
|
|
4259
|
+
highlight: "#f0abfc"
|
|
4260
|
+
// Pink highlight
|
|
4259
4261
|
},
|
|
4260
|
-
// Status colors (cyber-security themed)
|
|
4262
|
+
// Status colors (cyber-security themed) - Enhanced!
|
|
4261
4263
|
status: {
|
|
4262
|
-
success: "#
|
|
4263
|
-
//
|
|
4264
|
-
warning: "#
|
|
4265
|
-
//
|
|
4266
|
-
error: "#
|
|
4267
|
-
//
|
|
4268
|
-
info: "#
|
|
4269
|
-
//
|
|
4270
|
-
running: "#
|
|
4264
|
+
success: "#4ade80",
|
|
4265
|
+
// Bright green (shell access)
|
|
4266
|
+
warning: "#fbbf24",
|
|
4267
|
+
// Golden amber (vulnerabilities)
|
|
4268
|
+
error: "#f87171",
|
|
4269
|
+
// Coral red (failed)
|
|
4270
|
+
info: "#60a5fa",
|
|
4271
|
+
// Sky blue (scanning)
|
|
4272
|
+
running: "#a78bfa",
|
|
4271
4273
|
// Violet (active operations)
|
|
4274
|
+
pending: "#facc15"
|
|
4275
|
+
// Yellow (waiting)
|
|
4272
4276
|
},
|
|
4273
|
-
// Severity colors (CVE-style)
|
|
4277
|
+
// Severity colors (CVE-style) - More vibrant!
|
|
4274
4278
|
semantic: {
|
|
4275
|
-
critical: "#
|
|
4276
|
-
//
|
|
4277
|
-
high: "#
|
|
4278
|
-
//
|
|
4279
|
-
medium: "#
|
|
4280
|
-
//
|
|
4281
|
-
low: "#
|
|
4282
|
-
//
|
|
4283
|
-
info: "#
|
|
4284
|
-
//
|
|
4279
|
+
critical: "#ef4444",
|
|
4280
|
+
// Vivid red
|
|
4281
|
+
high: "#f97316",
|
|
4282
|
+
// Bright orange
|
|
4283
|
+
medium: "#eab308",
|
|
4284
|
+
// Vivid yellow
|
|
4285
|
+
low: "#22c55e",
|
|
4286
|
+
// Bright green
|
|
4287
|
+
info: "#8b5cf6"
|
|
4288
|
+
// Violet
|
|
4285
4289
|
},
|
|
4286
4290
|
// Border colors (purple-tinted)
|
|
4287
4291
|
border: {
|
|
4288
4292
|
default: "#2e2e42",
|
|
4289
4293
|
// Subtle purple-gray
|
|
4290
|
-
focus: "#
|
|
4294
|
+
focus: "#a78bfa",
|
|
4291
4295
|
// Violet focus
|
|
4292
|
-
error: "#f87171"
|
|
4296
|
+
error: "#f87171",
|
|
4293
4297
|
// Red error
|
|
4298
|
+
success: "#4ade80"
|
|
4299
|
+
// Green success
|
|
4294
4300
|
},
|
|
4295
|
-
// Phase colors (attack lifecycle)
|
|
4301
|
+
// Phase colors (attack lifecycle) - Vibrant gradient-inspired
|
|
4296
4302
|
phase: {
|
|
4297
4303
|
recon: "#818cf8",
|
|
4298
4304
|
// Indigo (reconnaissance)
|
|
@@ -4300,14 +4306,40 @@ var THEME = {
|
|
|
4300
4306
|
// Emerald (enumeration)
|
|
4301
4307
|
vuln: "#fbbf24",
|
|
4302
4308
|
// Amber (vulnerability)
|
|
4303
|
-
exploit: "#
|
|
4309
|
+
exploit: "#fb923c",
|
|
4304
4310
|
// Orange (exploitation)
|
|
4305
|
-
privesc: "#
|
|
4311
|
+
privesc: "#f87171",
|
|
4306
4312
|
// Red (privilege escalation)
|
|
4307
|
-
persist: "#
|
|
4313
|
+
persist: "#c084fc",
|
|
4308
4314
|
// Purple (persistence)
|
|
4309
4315
|
report: "#22d3ee"
|
|
4310
4316
|
// Cyan (reporting)
|
|
4317
|
+
},
|
|
4318
|
+
// Rich accent colors for UI elements
|
|
4319
|
+
accent: {
|
|
4320
|
+
purple: "#a855f7",
|
|
4321
|
+
violet: "#8b5cf6",
|
|
4322
|
+
indigo: "#6366f1",
|
|
4323
|
+
blue: "#3b82f6",
|
|
4324
|
+
cyan: "#06b6d4",
|
|
4325
|
+
teal: "#14b8a6",
|
|
4326
|
+
emerald: "#10b981",
|
|
4327
|
+
green: "#22c55e",
|
|
4328
|
+
lime: "#84cc16",
|
|
4329
|
+
yellow: "#eab308",
|
|
4330
|
+
amber: "#f59e0b",
|
|
4331
|
+
orange: "#f97316",
|
|
4332
|
+
red: "#ef4444",
|
|
4333
|
+
pink: "#ec4899",
|
|
4334
|
+
rose: "#f43f5e"
|
|
4335
|
+
},
|
|
4336
|
+
// Gradients (for special UI elements)
|
|
4337
|
+
gradient: {
|
|
4338
|
+
purple: ["#7c3aed", "#a855f7"],
|
|
4339
|
+
cyber: ["#06b6d4", "#8b5cf6"],
|
|
4340
|
+
danger: ["#ef4444", "#f97316"],
|
|
4341
|
+
success: ["#10b981", "#22c55e"],
|
|
4342
|
+
gold: ["#f59e0b", "#fbbf24"]
|
|
4311
4343
|
}
|
|
4312
4344
|
};
|
|
4313
4345
|
var ASCII_BANNER = `
|