pentesting 0.7.8 → 0.7.9

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -14
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7307,7 +7307,7 @@ ${list}`);
7307
7307
  exit();
7308
7308
  }
7309
7309
  }
7310
- if (key.ctrl && input2 === "x") {
7310
+ if (key.tab) {
7311
7311
  const newMode = mode === "agent" ? "shell" : "agent";
7312
7312
  setMode(newMode);
7313
7313
  addMessage(MESSAGE_TYPE.SYSTEM, `Mode: ${newMode === "agent" ? "Agent" : "Shell"}`);
@@ -7411,22 +7411,13 @@ ${list}`);
7411
7411
  /* @__PURE__ */ jsxs2(Text2, { dimColor: true, children: [
7412
7412
  state.target.primary || "No target",
7413
7413
  state.target.discovered.length > 1 && ` (+${state.target.discovered.length - 1})`,
7414
- " \u2502",
7415
- state.findings.length,
7416
- " findings \u2502",
7417
- state.credentials.length,
7418
- " creds \u2502",
7419
- `${(tokenUsage.total / 1e3).toFixed(1)}k tokens`,
7420
- " \u2502",
7421
- state.currentPhase !== AGENT_STATUS.IDLE && ` ${state.currentPhase} \u2502`
7414
+ state.findings.length > 0 && ` \u2502 ${state.findings.length} findings`,
7415
+ state.credentials.length > 0 && ` \u2502 ${state.credentials.length} creds`
7422
7416
  ] }),
7423
7417
  /* @__PURE__ */ jsxs2(Text2, { dimColor: true, children: [
7418
+ isProcessing && "ESC \u2502 ",
7424
7419
  "v",
7425
- APP_VERSION,
7426
- " \u2502 Ctrl+X mode \u2502 /help \u2502 ",
7427
- isProcessing ? "ESC interrupt \u2502 " : "",
7428
- "Ctrl+C ",
7429
- isProcessing ? "stop" : "exit"
7420
+ APP_VERSION
7430
7421
  ] })
7431
7422
  ] })
7432
7423
  ] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pentesting",
3
- "version": "0.7.8",
3
+ "version": "0.7.9",
4
4
  "description": "Autonomous Penetration Testing AI Agent",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",