pentesting 0.70.6 → 0.70.7
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/main.js +28 -34
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -82,12 +82,9 @@ var THEME = {
|
|
|
82
82
|
spinner: COLORS.primary
|
|
83
83
|
};
|
|
84
84
|
var ASCII_BANNER = `
|
|
85
|
-
\
|
|
86
|
-
\
|
|
87
|
-
\
|
|
88
|
-
\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
|
|
89
|
-
\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
|
|
90
|
-
\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
|
|
85
|
+
\u250C\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\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\u2510
|
|
86
|
+
\u2502 P E N T E S T I N G A G E N T \u2502
|
|
87
|
+
\u2514\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\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\u2518
|
|
91
88
|
`;
|
|
92
89
|
var ICONS = {
|
|
93
90
|
// Status
|
|
@@ -762,7 +759,7 @@ var INPUT_PROMPT_PATTERNS = [
|
|
|
762
759
|
|
|
763
760
|
// src/shared/constants/agent.ts
|
|
764
761
|
var APP_NAME = "Pentest AI";
|
|
765
|
-
var APP_VERSION = "0.70.
|
|
762
|
+
var APP_VERSION = "0.70.7";
|
|
766
763
|
var APP_DESCRIPTION = "Autonomous Penetration Testing AI Agent";
|
|
767
764
|
var LLM_ROLES = {
|
|
768
765
|
SYSTEM: "system",
|
|
@@ -16787,11 +16784,9 @@ import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
|
16787
16784
|
var EmptyState = memo6(({ modelName, autoApproveMode, version }) => {
|
|
16788
16785
|
const autoLabel = autoApproveMode ? "ON" : "OFF";
|
|
16789
16786
|
const autoColor = autoApproveMode ? THEME.primary : THEME.gray;
|
|
16790
|
-
return /* @__PURE__ */ jsxs6(Box7, { flexDirection: "column", paddingX:
|
|
16787
|
+
return /* @__PURE__ */ jsxs6(Box7, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
|
|
16791
16788
|
/* @__PURE__ */ jsx8(ShimmerBanner, { banner: ASCII_BANNER }),
|
|
16792
|
-
/* @__PURE__ */
|
|
16793
|
-
/* @__PURE__ */ jsxs6(Box7, { gap: 2, children: [
|
|
16794
|
-
/* @__PURE__ */ jsx8(Text7, { color: THEME.primary, bold: true, children: "\u25C8 Pentesting" }),
|
|
16789
|
+
/* @__PURE__ */ jsxs6(Box7, { paddingLeft: 2, gap: 2, children: [
|
|
16795
16790
|
version && /* @__PURE__ */ jsx8(Text7, { color: THEME.dimGray, children: `v${version}` }),
|
|
16796
16791
|
modelName && /* @__PURE__ */ jsxs6(Text7, { color: THEME.dimGray, children: [
|
|
16797
16792
|
"\xB7",
|
|
@@ -16805,30 +16800,29 @@ var EmptyState = memo6(({ modelName, autoApproveMode, version }) => {
|
|
|
16805
16800
|
] })
|
|
16806
16801
|
] }),
|
|
16807
16802
|
/* @__PURE__ */ jsx8(Text7, { children: " " }),
|
|
16808
|
-
/* @__PURE__ */
|
|
16809
|
-
|
|
16810
|
-
|
|
16811
|
-
|
|
16812
|
-
|
|
16813
|
-
|
|
16814
|
-
|
|
16803
|
+
/* @__PURE__ */ jsxs6(Box7, { flexDirection: "column", paddingLeft: 2, children: [
|
|
16804
|
+
/* @__PURE__ */ jsx8(Text7, { color: THEME.gray, children: "Get started:" }),
|
|
16805
|
+
/* @__PURE__ */ jsxs6(Text7, { color: THEME.gray, children: [
|
|
16806
|
+
" ",
|
|
16807
|
+
/* @__PURE__ */ jsxs6(Text7, { color: THEME.white, children: [
|
|
16808
|
+
"/target ",
|
|
16809
|
+
"<ip>"
|
|
16810
|
+
] }),
|
|
16811
|
+
" \u2014 Set target IP or domain"
|
|
16815
16812
|
] }),
|
|
16816
|
-
|
|
16817
|
-
|
|
16818
|
-
|
|
16819
|
-
|
|
16820
|
-
|
|
16821
|
-
/* @__PURE__ */
|
|
16822
|
-
|
|
16823
|
-
|
|
16824
|
-
|
|
16825
|
-
|
|
16826
|
-
"
|
|
16827
|
-
/* @__PURE__ */ jsx8(Text7, { color: THEME.
|
|
16828
|
-
|
|
16829
|
-
] }),
|
|
16830
|
-
/* @__PURE__ */ jsx8(Text7, { children: " " }),
|
|
16831
|
-
/* @__PURE__ */ jsx8(Text7, { color: THEME.dimGray, children: " Or just type a task and press Enter." })
|
|
16813
|
+
/* @__PURE__ */ jsxs6(Text7, { color: THEME.gray, children: [
|
|
16814
|
+
" ",
|
|
16815
|
+
/* @__PURE__ */ jsx8(Text7, { color: THEME.white, children: "/start" }),
|
|
16816
|
+
" \u2014 Begin autonomous pentest"
|
|
16817
|
+
] }),
|
|
16818
|
+
/* @__PURE__ */ jsxs6(Text7, { color: THEME.gray, children: [
|
|
16819
|
+
" ",
|
|
16820
|
+
/* @__PURE__ */ jsx8(Text7, { color: THEME.white, children: "/help" }),
|
|
16821
|
+
" \u2014 Show all commands"
|
|
16822
|
+
] }),
|
|
16823
|
+
/* @__PURE__ */ jsx8(Text7, { children: " " }),
|
|
16824
|
+
/* @__PURE__ */ jsx8(Text7, { color: THEME.dimGray, children: "Or just type a task and press Enter." })
|
|
16825
|
+
] })
|
|
16832
16826
|
] });
|
|
16833
16827
|
});
|
|
16834
16828
|
|