pentesting 0.7.35 → 0.7.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 +53 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6634,6 +6634,58 @@ var App = ({ autoApprove = false, target }) => {
|
|
|
6634
6634
|
const [wasInterrupted, setWasInterrupted] = useState(false);
|
|
6635
6635
|
const [spinnerHue, setSpinnerHue] = useState(0);
|
|
6636
6636
|
const [, forceUpdate] = useState(0);
|
|
6637
|
+
const SPINNER_COLORS = [
|
|
6638
|
+
// Reds
|
|
6639
|
+
"#FF0000",
|
|
6640
|
+
"#FF3333",
|
|
6641
|
+
"#FF6B6B",
|
|
6642
|
+
"#FF4444",
|
|
6643
|
+
// Oranges
|
|
6644
|
+
"#FF6600",
|
|
6645
|
+
"#FF8C00",
|
|
6646
|
+
"#FF8E53",
|
|
6647
|
+
"#FFA500",
|
|
6648
|
+
// Yellows
|
|
6649
|
+
"#FFD700",
|
|
6650
|
+
"#FFFF00",
|
|
6651
|
+
"#FFC107",
|
|
6652
|
+
"#FFE135",
|
|
6653
|
+
// Greens
|
|
6654
|
+
"#00FF00",
|
|
6655
|
+
"#32CD32",
|
|
6656
|
+
"#4CAF50",
|
|
6657
|
+
"#00FF7F",
|
|
6658
|
+
// Cyans
|
|
6659
|
+
"#00FFFF",
|
|
6660
|
+
"#00CED1",
|
|
6661
|
+
"#00BCD4",
|
|
6662
|
+
"#20B2AA",
|
|
6663
|
+
// Blues
|
|
6664
|
+
"#0000FF",
|
|
6665
|
+
"#1E90FF",
|
|
6666
|
+
"#2196F3",
|
|
6667
|
+
"#4169E1",
|
|
6668
|
+
// Purples
|
|
6669
|
+
"#8A2BE2",
|
|
6670
|
+
"#9400D3",
|
|
6671
|
+
"#9C27B0",
|
|
6672
|
+
"#BA55D3",
|
|
6673
|
+
// Pinks
|
|
6674
|
+
"#FF00FF",
|
|
6675
|
+
"#FF1493",
|
|
6676
|
+
"#E91E63",
|
|
6677
|
+
"#FF69B4",
|
|
6678
|
+
// Whites & Grays
|
|
6679
|
+
"#FFFFFF",
|
|
6680
|
+
"#F0F0F0",
|
|
6681
|
+
"#E0E0E0",
|
|
6682
|
+
"#D3D3D3",
|
|
6683
|
+
// Special
|
|
6684
|
+
"#7FFFD4",
|
|
6685
|
+
"#F0E68C",
|
|
6686
|
+
"#DDA0DD",
|
|
6687
|
+
"#98FB98"
|
|
6688
|
+
];
|
|
6637
6689
|
const [agent] = useState(() => new AutonomousHackingAgent(void 0, { autoApprove }));
|
|
6638
6690
|
const sessionManager2 = getSessionManager();
|
|
6639
6691
|
const approvalManager2 = getApprovalManager({ yoloMode: autoApprove });
|
|
@@ -7534,7 +7586,7 @@ ${list}`);
|
|
|
7534
7586
|
] }),
|
|
7535
7587
|
isProcessing ? /* @__PURE__ */ jsxs2(Box2, { flexDirection: "column", children: [
|
|
7536
7588
|
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
7537
|
-
/* @__PURE__ */ jsx2(Text2, { color:
|
|
7589
|
+
/* @__PURE__ */ jsx2(Text2, { color: SPINNER_COLORS[Math.floor(spinnerHue / 9) % SPINNER_COLORS.length], children: /* @__PURE__ */ jsx2(Spinner, { type: "dots" }) }),
|
|
7538
7590
|
/* @__PURE__ */ jsxs2(Text2, { color: THEME.text.muted, children: [
|
|
7539
7591
|
" ",
|
|
7540
7592
|
currentStatus,
|