@pensar/apex 0.0.113 → 0.0.114-canary.2aa9b7e6
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/README.md +36 -36
- package/build/{agent-k1n19b3w.js → agent-hfxqch32.js} +8 -8
- package/build/agent-y1e1k3sh.js +16 -0
- package/build/{auth-a0ftn8cb.js → auth-3j6t0z6j.js} +4 -4
- package/build/{authentication-vjefzf37.js → authentication-46ds8cb6.js} +7 -7
- package/build/blackboxAgent-mrh58awg.js +17 -0
- package/build/{blackboxPentest-26japf1w.js → blackboxPentest-g70cdden.js} +12 -12
- package/build/{cli-0v3p48tt.js → cli-2b4as9rh.js} +2 -2
- package/build/{cli-qeg15dzj.js → cli-4k5wphws.js} +1 -1
- package/build/{cli-6nhtpv4g.js → cli-6yhfhvnd.js} +1 -1
- package/build/{cli-j6qdxby9.js → cli-af9y0skb.js} +4 -4
- package/build/{cli-g0r410cd.js → cli-eskw18a0.js} +1 -1
- package/build/{cli-wqh6md2n.js → cli-fjh1rynt.js} +1 -1
- package/build/{cli-065mgjsh.js → cli-gh26tyfd.js} +2 -2
- package/build/{cli-tat7hrek.js → cli-ktbbfzsq.js} +6 -6
- package/build/{cli-7kpzf8kz.js → cli-nbshw8yp.js} +2 -2
- package/build/{cli-yc2cs5cs.js → cli-q4vjhqrt.js} +1 -1
- package/build/{cli-4sxvxwcb.js → cli-xpcmmk4s.js} +1 -1
- package/build/{cli-t7dpdkd6.js → cli-xqh0sm9a.js} +44 -15
- package/build/{cli-mnqb1xvt.js → cli-y48f3wn1.js} +1 -1
- package/build/cli.js +20 -20
- package/build/{fixes-szq7tb0p.js → fixes-cnbfnpbn.js} +4 -4
- package/build/{index-8dgs0erz.js → index-00h7d26d.js} +2 -2
- package/build/{index-sr5w8v3d.js → index-g10n2296.js} +7716 -676
- package/build/{index-4ds7eh13.js → index-g444mq58.js} +6 -6
- package/build/{issues-7yvjwc2j.js → issues-ds0ax1qd.js} +4 -4
- package/build/{logs-22ks7j0v.js → logs-xgvs3vbb.js} +4 -4
- package/build/pentest-xzqn3szz.js +25 -0
- package/build/{pentests-7a8s43nj.js → pentests-s22asvac.js} +4 -4
- package/build/{projects-0a1zfjgm.js → projects-b8y2f4ae.js} +4 -4
- package/build/{targetedPentest-qrcrtpzg.js → targetedPentest-3k1r8edg.js} +8 -8
- package/build/{uninstall-hp43qwmn.js → uninstall-pg6zyd2j.js} +1 -1
- package/package.json +1 -1
- package/build/agent-cff8va32.js +0 -16
- package/build/blackboxAgent-dq8eany1.js +0 -17
- package/build/pentest-agm6pqh1.js +0 -25
package/build/cli.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
// @bun
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
3
|
+
import"./cli-af9y0skb.js";
|
|
4
|
+
import"./cli-q4vjhqrt.js";
|
|
5
|
+
import"./cli-4k5wphws.js";
|
|
6
|
+
import"./cli-6yhfhvnd.js";
|
|
7
7
|
import {
|
|
8
8
|
package_default
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-y48f3wn1.js";
|
|
10
10
|
import"./cli-0tpx8khk.js";
|
|
11
11
|
import"./cli-7ckctq7a.js";
|
|
12
12
|
import {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
// package.json
|
|
17
17
|
var package_default2 = {
|
|
18
18
|
name: "@pensar/apex",
|
|
19
|
-
version: "0.0.
|
|
19
|
+
version: "0.0.114-canary.2aa9b7e6",
|
|
20
20
|
description: "AI-powered penetration testing CLI tool with terminal UI",
|
|
21
21
|
module: "src/tui/index.tsx",
|
|
22
22
|
main: "build/cli.js",
|
|
@@ -351,9 +351,9 @@ Global options:
|
|
|
351
351
|
async function runPentest() {
|
|
352
352
|
const { config: config2 } = await import("./main-2483qzbq.js").then((m)=>__toESM(m.default,1));
|
|
353
353
|
config2();
|
|
354
|
-
const { runPentestAgent } = await import("./blackboxPentest-
|
|
355
|
-
const { sessions } = await import("./index-
|
|
356
|
-
const { config: appConfig } = await import("./index-
|
|
354
|
+
const { runPentestAgent } = await import("./blackboxPentest-g70cdden.js");
|
|
355
|
+
const { sessions } = await import("./index-g444mq58.js");
|
|
356
|
+
const { config: appConfig } = await import("./index-00h7d26d.js");
|
|
357
357
|
const { getDefaultModelForConfig } = await import("./utils-9fhmzzzh.js");
|
|
358
358
|
const target = getArgRequired("--target");
|
|
359
359
|
const cwd = getArg("--cwd");
|
|
@@ -408,9 +408,9 @@ Report: ${reportPath}` : ""}`);
|
|
|
408
408
|
async function runTargetedPentest() {
|
|
409
409
|
const { config: config2 } = await import("./main-2483qzbq.js").then((m)=>__toESM(m.default,1));
|
|
410
410
|
config2();
|
|
411
|
-
const { runTargetedPentestAgent } = await import("./targetedPentest-
|
|
412
|
-
const { sessions } = await import("./index-
|
|
413
|
-
const { config: appConfig } = await import("./index-
|
|
411
|
+
const { runTargetedPentestAgent } = await import("./targetedPentest-3k1r8edg.js");
|
|
412
|
+
const { sessions } = await import("./index-g444mq58.js");
|
|
413
|
+
const { config: appConfig } = await import("./index-00h7d26d.js");
|
|
414
414
|
const { getDefaultModelForConfig } = await import("./utils-9fhmzzzh.js");
|
|
415
415
|
const target = getArgRequired("--target");
|
|
416
416
|
const objectives = getAllArgs("--objective");
|
|
@@ -472,25 +472,25 @@ if (command === "version" || command === "--version" || command === "-v") {
|
|
|
472
472
|
await runTargetedPentest();
|
|
473
473
|
} else if (command === "auth") {
|
|
474
474
|
process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
|
|
475
|
-
await import("./auth-
|
|
475
|
+
await import("./auth-3j6t0z6j.js");
|
|
476
476
|
} else if (command === "uninstall") {
|
|
477
477
|
process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
|
|
478
|
-
await import("./uninstall-
|
|
478
|
+
await import("./uninstall-pg6zyd2j.js");
|
|
479
479
|
} else if (command === "projects") {
|
|
480
480
|
process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
|
|
481
|
-
await import("./projects-
|
|
481
|
+
await import("./projects-b8y2f4ae.js");
|
|
482
482
|
} else if (command === "pentests") {
|
|
483
483
|
process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
|
|
484
|
-
await import("./pentests-
|
|
484
|
+
await import("./pentests-s22asvac.js");
|
|
485
485
|
} else if (command === "issues") {
|
|
486
486
|
process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
|
|
487
|
-
await import("./issues-
|
|
487
|
+
await import("./issues-ds0ax1qd.js");
|
|
488
488
|
} else if (command === "fixes") {
|
|
489
489
|
process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
|
|
490
|
-
await import("./fixes-
|
|
490
|
+
await import("./fixes-cnbfnpbn.js");
|
|
491
491
|
} else if (command === "logs") {
|
|
492
492
|
process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
|
|
493
|
-
await import("./logs-
|
|
493
|
+
await import("./logs-xgvs3vbb.js");
|
|
494
494
|
} else if (command === "doctor") {
|
|
495
495
|
const { runDoctor } = await import("./doctor-b7612pzw.js");
|
|
496
496
|
await runDoctor();
|
|
@@ -500,7 +500,7 @@ if (command === "version" || command === "--version" || command === "-v") {
|
|
|
500
500
|
console.error("All other commands work with Node \u2014 run 'pensar --help'.");
|
|
501
501
|
process.exit(1);
|
|
502
502
|
}
|
|
503
|
-
await import("./index-
|
|
503
|
+
await import("./index-g10n2296.js");
|
|
504
504
|
} else {
|
|
505
505
|
console.error(`Error: Unknown command '${command}'`);
|
|
506
506
|
console.error();
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
getFix,
|
|
4
4
|
listFixes
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
5
|
+
} from "./cli-eskw18a0.js";
|
|
6
|
+
import"./cli-4k5wphws.js";
|
|
7
|
+
import"./cli-6yhfhvnd.js";
|
|
8
|
+
import"./cli-y48f3wn1.js";
|
|
9
9
|
import"./cli-8rxa073f.js";
|
|
10
10
|
|
|
11
11
|
// src/cli/fixes.ts
|