pentesting 0.4.5 → 0.4.6
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/{auto-update-L6ZVWLKA.js → auto-update-PEUBVHDU.js} +2 -2
- package/dist/{chunk-Q7OMRW3K.js → chunk-A6WGOYNR.js} +1 -1
- package/dist/{chunk-6IPGQN57.js → chunk-AAUCU7XP.js} +1 -1
- package/dist/index.js +10 -4
- package/dist/{update-YFE2J73C.js → update-KP7LGRJG.js} +2 -2
- package/package.json +1 -1
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
readVersionCache,
|
|
9
9
|
semverTuple,
|
|
10
10
|
writeVersionCache
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-A6WGOYNR.js";
|
|
12
|
+
import "./chunk-AAUCU7XP.js";
|
|
13
13
|
import "./chunk-3RG5ZIWI.js";
|
|
14
14
|
export {
|
|
15
15
|
checkForUpdate,
|
|
@@ -132,7 +132,7 @@ var SENSITIVE_TOOLS = [
|
|
|
132
132
|
|
|
133
133
|
// src/config/constants.ts
|
|
134
134
|
var APP_NAME = "pentesting";
|
|
135
|
-
var APP_VERSION = "0.4.
|
|
135
|
+
var APP_VERSION = "0.4.6";
|
|
136
136
|
var APP_DESCRIPTION = "Autonomous Penetration Testing AI Agent";
|
|
137
137
|
var LLM_API_KEY = process.env.PENTEST_API_KEY || process.env.ANTHROPIC_API_KEY || "";
|
|
138
138
|
var LLM_BASE_URL = process.env.PENTEST_BASE_URL || void 0;
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
PHASE_STATUS,
|
|
16
16
|
THOUGHT_TYPE,
|
|
17
17
|
TOOL_NAME
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AAUCU7XP.js";
|
|
19
19
|
import {
|
|
20
20
|
__require
|
|
21
21
|
} from "./chunk-3RG5ZIWI.js";
|
|
@@ -883,7 +883,13 @@ async function executeBash(command, options = {}) {
|
|
|
883
883
|
timeout,
|
|
884
884
|
maxBuffer: 50 * 1024 * 1024,
|
|
885
885
|
// 50MB
|
|
886
|
-
shell: "/bin/bash"
|
|
886
|
+
shell: "/bin/bash",
|
|
887
|
+
encoding: "utf8",
|
|
888
|
+
env: {
|
|
889
|
+
...process.env,
|
|
890
|
+
LANG: "en_US.UTF-8",
|
|
891
|
+
LC_ALL: "en_US.UTF-8"
|
|
892
|
+
}
|
|
887
893
|
});
|
|
888
894
|
return {
|
|
889
895
|
success: true,
|
|
@@ -4925,7 +4931,7 @@ var App = ({ autoApprove = false, target }) => {
|
|
|
4925
4931
|
setCheckpointCount(contextManagerRef.current?.getCheckpoints().length || 0);
|
|
4926
4932
|
}
|
|
4927
4933
|
});
|
|
4928
|
-
import("./auto-update-
|
|
4934
|
+
import("./auto-update-PEUBVHDU.js").then(({ checkForUpdateAsync, formatUpdateNotification }) => {
|
|
4929
4935
|
checkForUpdateAsync().then((result) => {
|
|
4930
4936
|
if (result.hasUpdate) {
|
|
4931
4937
|
const notification = formatUpdateNotification(result);
|
|
@@ -5400,7 +5406,7 @@ pentesting v${APP_VERSION}`
|
|
|
5400
5406
|
return;
|
|
5401
5407
|
case "update":
|
|
5402
5408
|
try {
|
|
5403
|
-
const { checkForUpdate, formatUpdateNotification, doUpdate } = await import("./update-
|
|
5409
|
+
const { checkForUpdate, formatUpdateNotification, doUpdate } = await import("./update-KP7LGRJG.js");
|
|
5404
5410
|
const result = checkForUpdate(true);
|
|
5405
5411
|
if (result.hasUpdate) {
|
|
5406
5412
|
const notification = formatUpdateNotification(result);
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
readVersionCache,
|
|
9
9
|
semverTuple,
|
|
10
10
|
writeVersionCache
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-A6WGOYNR.js";
|
|
12
|
+
import "./chunk-AAUCU7XP.js";
|
|
13
13
|
import "./chunk-3RG5ZIWI.js";
|
|
14
14
|
export {
|
|
15
15
|
checkForUpdate,
|