pentesting 0.55.8 → 0.56.0
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.
|
@@ -5,7 +5,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
5
5
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
6
6
|
});
|
|
7
7
|
|
|
8
|
-
// src/shared/constants/system.ts
|
|
8
|
+
// src/shared/constants/system/process.ts
|
|
9
9
|
var EXIT_CODES = {
|
|
10
10
|
/** Successful execution */
|
|
11
11
|
SUCCESS: 0,
|
|
@@ -68,6 +68,8 @@ var PROCESS_EVENTS = {
|
|
|
68
68
|
DIED: "died",
|
|
69
69
|
ZOMBIE_CLEANED: "zombie_cleaned"
|
|
70
70
|
};
|
|
71
|
+
|
|
72
|
+
// src/shared/constants/system/limits.ts
|
|
71
73
|
var SYSTEM_LIMITS = {
|
|
72
74
|
/** Maximum wait time for interactive shell responses (10 seconds) */
|
|
73
75
|
MAX_WAIT_MS_INTERACT: 1e4,
|
|
@@ -110,6 +112,8 @@ var SYSTEM_LIMITS = {
|
|
|
110
112
|
/** Number of recent output lines to show per process */
|
|
111
113
|
RECENT_OUTPUT_LINES: 3
|
|
112
114
|
};
|
|
115
|
+
|
|
116
|
+
// src/shared/constants/system/detection.ts
|
|
113
117
|
var DETECTION_PATTERNS = {
|
|
114
118
|
LISTENER: /-(?:lvnp|nlvp|lp|p)\s+(\d+)/,
|
|
115
119
|
HTTP_SERVER: /(?:http\.server|SimpleHTTPServer)\s+(\d+)/,
|