pentesting 0.7.9 → 0.7.11
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 +86 -97
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6094,115 +6094,107 @@ function hasClipboardImage() {
|
|
|
6094
6094
|
|
|
6095
6095
|
// src/config/theme.ts
|
|
6096
6096
|
var THEME = {
|
|
6097
|
-
//
|
|
6097
|
+
// Backgrounds (dark to light grays)
|
|
6098
6098
|
bg: {
|
|
6099
|
-
primary: "#
|
|
6100
|
-
//
|
|
6101
|
-
secondary: "#
|
|
6099
|
+
primary: "#0a0a0a",
|
|
6100
|
+
// Near black
|
|
6101
|
+
secondary: "#141414",
|
|
6102
|
+
// Dark gray
|
|
6103
|
+
tertiary: "#1a1a1a",
|
|
6102
6104
|
// Slightly lighter
|
|
6103
|
-
|
|
6104
|
-
// Accent dark pink
|
|
6105
|
-
elevated: "#1f1828",
|
|
6105
|
+
elevated: "#222222",
|
|
6106
6106
|
// Cards/modals
|
|
6107
|
-
input: "#
|
|
6107
|
+
input: "#0d0d0d"
|
|
6108
6108
|
// Input background
|
|
6109
6109
|
},
|
|
6110
|
-
// Text colors (
|
|
6110
|
+
// Text colors (white to gray)
|
|
6111
6111
|
text: {
|
|
6112
|
-
primary: "#
|
|
6113
|
-
//
|
|
6114
|
-
secondary: "#
|
|
6115
|
-
//
|
|
6116
|
-
muted: "#
|
|
6117
|
-
//
|
|
6118
|
-
accent: "#
|
|
6119
|
-
//
|
|
6120
|
-
highlight: "#
|
|
6121
|
-
//
|
|
6112
|
+
primary: "#ffffff",
|
|
6113
|
+
// White
|
|
6114
|
+
secondary: "#a0a0a0",
|
|
6115
|
+
// Light gray
|
|
6116
|
+
muted: "#666666",
|
|
6117
|
+
// Medium gray
|
|
6118
|
+
accent: "#cccccc",
|
|
6119
|
+
// Bright gray (was pink)
|
|
6120
|
+
highlight: "#e0e0e0"
|
|
6121
|
+
// Near white
|
|
6122
6122
|
},
|
|
6123
|
-
// Status colors (
|
|
6123
|
+
// Status colors (grayscale)
|
|
6124
6124
|
status: {
|
|
6125
|
-
success: "#
|
|
6126
|
-
//
|
|
6127
|
-
warning: "#
|
|
6128
|
-
//
|
|
6129
|
-
error: "#
|
|
6130
|
-
//
|
|
6131
|
-
info: "#
|
|
6132
|
-
//
|
|
6133
|
-
running: "#
|
|
6134
|
-
//
|
|
6135
|
-
pending: "#
|
|
6136
|
-
//
|
|
6125
|
+
success: "#ffffff",
|
|
6126
|
+
// White
|
|
6127
|
+
warning: "#a0a0a0",
|
|
6128
|
+
// Gray
|
|
6129
|
+
error: "#888888",
|
|
6130
|
+
// Medium gray
|
|
6131
|
+
info: "#cccccc",
|
|
6132
|
+
// Light gray
|
|
6133
|
+
running: "#ffffff",
|
|
6134
|
+
// White
|
|
6135
|
+
pending: "#666666"
|
|
6136
|
+
// Darker gray
|
|
6137
6137
|
},
|
|
6138
|
-
// Severity colors (
|
|
6138
|
+
// Severity colors (grayscale intensity)
|
|
6139
6139
|
semantic: {
|
|
6140
|
-
critical: "#
|
|
6141
|
-
//
|
|
6142
|
-
high: "#
|
|
6143
|
-
//
|
|
6144
|
-
medium: "#
|
|
6145
|
-
//
|
|
6146
|
-
low: "#
|
|
6147
|
-
//
|
|
6148
|
-
info: "#
|
|
6149
|
-
//
|
|
6140
|
+
critical: "#ffffff",
|
|
6141
|
+
// White (brightest for critical)
|
|
6142
|
+
high: "#cccccc",
|
|
6143
|
+
// Light gray
|
|
6144
|
+
medium: "#999999",
|
|
6145
|
+
// Medium gray
|
|
6146
|
+
low: "#666666",
|
|
6147
|
+
// Darker gray
|
|
6148
|
+
info: "#444444"
|
|
6149
|
+
// Dark gray
|
|
6150
6150
|
},
|
|
6151
|
-
// Border colors
|
|
6151
|
+
// Border colors
|
|
6152
6152
|
border: {
|
|
6153
|
-
default: "#
|
|
6154
|
-
//
|
|
6155
|
-
focus: "#
|
|
6156
|
-
//
|
|
6157
|
-
error: "#
|
|
6158
|
-
//
|
|
6159
|
-
success: "#
|
|
6160
|
-
//
|
|
6153
|
+
default: "#333333",
|
|
6154
|
+
// Dark gray
|
|
6155
|
+
focus: "#666666",
|
|
6156
|
+
// Medium gray
|
|
6157
|
+
error: "#555555",
|
|
6158
|
+
// Gray
|
|
6159
|
+
success: "#777777"
|
|
6160
|
+
// Medium gray
|
|
6161
6161
|
},
|
|
6162
|
-
// Phase colors (
|
|
6162
|
+
// Phase colors (all gray variations)
|
|
6163
6163
|
phase: {
|
|
6164
|
-
recon: "#
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
// Orange (exploitation)
|
|
6172
|
-
privesc: "#f87171",
|
|
6173
|
-
// Red (privilege escalation)
|
|
6174
|
-
persist: "#f472b6",
|
|
6175
|
-
// Pink (persistence)
|
|
6176
|
-
report: "#22d3ee"
|
|
6177
|
-
// Cyan (reporting)
|
|
6164
|
+
recon: "#cccccc",
|
|
6165
|
+
enum: "#bbbbbb",
|
|
6166
|
+
vuln: "#aaaaaa",
|
|
6167
|
+
exploit: "#999999",
|
|
6168
|
+
privesc: "#888888",
|
|
6169
|
+
persist: "#777777",
|
|
6170
|
+
report: "#666666"
|
|
6178
6171
|
},
|
|
6179
|
-
//
|
|
6172
|
+
// Accent colors (all grays)
|
|
6180
6173
|
accent: {
|
|
6181
|
-
pink: "#
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
red: "#ef4444"
|
|
6174
|
+
pink: "#888888",
|
|
6175
|
+
rose: "#999999",
|
|
6176
|
+
fuchsia: "#aaaaaa",
|
|
6177
|
+
purple: "#777777",
|
|
6178
|
+
violet: "#666666",
|
|
6179
|
+
indigo: "#555555",
|
|
6180
|
+
blue: "#888888",
|
|
6181
|
+
cyan: "#999999",
|
|
6182
|
+
teal: "#aaaaaa",
|
|
6183
|
+
emerald: "#bbbbbb",
|
|
6184
|
+
green: "#cccccc",
|
|
6185
|
+
lime: "#dddddd",
|
|
6186
|
+
yellow: "#eeeeee",
|
|
6187
|
+
amber: "#ffffff",
|
|
6188
|
+
orange: "#888888",
|
|
6189
|
+
red: "#777777"
|
|
6198
6190
|
},
|
|
6199
|
-
// Gradients (
|
|
6191
|
+
// Gradients (grayscale)
|
|
6200
6192
|
gradient: {
|
|
6201
|
-
pink: ["#
|
|
6202
|
-
cyber: ["#
|
|
6203
|
-
danger: ["#
|
|
6204
|
-
success: ["#
|
|
6205
|
-
gold: ["#
|
|
6193
|
+
pink: ["#666666", "#999999"],
|
|
6194
|
+
cyber: ["#444444", "#888888"],
|
|
6195
|
+
danger: ["#555555", "#777777"],
|
|
6196
|
+
success: ["#888888", "#aaaaaa"],
|
|
6197
|
+
gold: ["#999999", "#cccccc"]
|
|
6206
6198
|
}
|
|
6207
6199
|
};
|
|
6208
6200
|
var ASCII_BANNER = `
|
|
@@ -7414,11 +7406,7 @@ ${list}`);
|
|
|
7414
7406
|
state.findings.length > 0 && ` \u2502 ${state.findings.length} findings`,
|
|
7415
7407
|
state.credentials.length > 0 && ` \u2502 ${state.credentials.length} creds`
|
|
7416
7408
|
] }),
|
|
7417
|
-
/* @__PURE__ */
|
|
7418
|
-
isProcessing && "ESC \u2502 ",
|
|
7419
|
-
"v",
|
|
7420
|
-
APP_VERSION
|
|
7421
|
-
] })
|
|
7409
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: isProcessing && "ESC" })
|
|
7422
7410
|
] })
|
|
7423
7411
|
] });
|
|
7424
7412
|
};
|
|
@@ -7438,7 +7426,8 @@ program.command("interactive", { isDefault: true }).alias("i").description("Star
|
|
|
7438
7426
|
console.log(chalk.hex(THEME.status.error)("[!] WARNING: Running with --dangerously-skip-permissions"));
|
|
7439
7427
|
console.log(chalk.hex(THEME.status.error)("[!] All tool executions will be auto-approved!\n"));
|
|
7440
7428
|
}
|
|
7441
|
-
console.log(chalk.hex(THEME.text.
|
|
7429
|
+
console.log(chalk.hex(THEME.text.muted)(`Starting Pentest interactive mode... v${APP_VERSION}
|
|
7430
|
+
`));
|
|
7442
7431
|
const { waitUntilExit } = render(
|
|
7443
7432
|
/* @__PURE__ */ jsx3(
|
|
7444
7433
|
app_default,
|