greybel-mock-environment 1.8.3 → 1.9.1
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.
|
@@ -213,6 +213,8 @@ var File = /** @class */ (function (_super) {
|
|
|
213
213
|
return library_1.Library.KERNEL_ROUTER;
|
|
214
214
|
case FileType.RShell:
|
|
215
215
|
return library_1.Library.RSHELL;
|
|
216
|
+
case FileType.AptClient:
|
|
217
|
+
return library_1.Library.APT_CLIENT;
|
|
216
218
|
default:
|
|
217
219
|
}
|
|
218
220
|
return null;
|
|
@@ -139,7 +139,7 @@ var LibraryManager = /** @class */ (function () {
|
|
|
139
139
|
}
|
|
140
140
|
LibraryManager.prototype.initialize = function () {
|
|
141
141
|
this.register(library_1.Library.METAXPLOIT, [vulnerabilities_1.VulnerabilityMode.Local]);
|
|
142
|
-
this.register(library_1.Library.BLOCKCHAIN, []);
|
|
142
|
+
this.register(library_1.Library.BLOCKCHAIN, [vulnerabilities_1.VulnerabilityMode.Local]);
|
|
143
143
|
this.register(library_1.Library.CRYPTO, [vulnerabilities_1.VulnerabilityMode.Local]);
|
|
144
144
|
this.register(library_1.Library.FTP);
|
|
145
145
|
this.register(library_1.Library.HTTP);
|
|
@@ -154,7 +154,7 @@ var LibraryManager = /** @class */ (function () {
|
|
|
154
154
|
this.register(library_1.Library.CHAT);
|
|
155
155
|
this.register(library_1.Library.CAM);
|
|
156
156
|
this.register(library_1.Library.REPOSITORY);
|
|
157
|
-
this.register(library_1.Library.APT_CLIENT, []);
|
|
157
|
+
this.register(library_1.Library.APT_CLIENT, [vulnerabilities_1.VulnerabilityMode.Local]);
|
|
158
158
|
this.register(library_1.Library.TEST_LIB, []);
|
|
159
159
|
};
|
|
160
160
|
LibraryManager.prototype.register = function (library, allowedModes) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "greybel-mock-environment",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.1",
|
|
4
4
|
"description": "Mock environment",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"typings": "dist/index",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@types/random-seed": "^0.3.3",
|
|
50
50
|
"blueimp-md5": "^2.19.0",
|
|
51
|
-
"greyscript-core": "^0.
|
|
51
|
+
"greyscript-core": "^0.10.0",
|
|
52
52
|
"random-seed": "^0.3.0",
|
|
53
53
|
"random-username-generator": "^1.0.4"
|
|
54
54
|
}
|