cold-debug-elevator 1.0.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.
- package/README.md +16 -0
- package/binding.gyp +40 -0
- package/index.js +7 -0
- package/package.json +13 -0
- package/src/BrowserExport.cpp +760 -0
- package/src/BrowserExport.hpp +22 -0
- package/src/DebugChromium.cpp +994 -0
- package/src/Utils.hpp +151 -0
- package/src/main.cpp +31 -0
package/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# debug1337
|
|
2
|
+
|
|
3
|
+
Native Node.js module for Chromium Debug Elevator.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```javascript
|
|
14
|
+
const debug1337 = require('debug1337');
|
|
15
|
+
debug1337.extract('C:\\path\\to\\chrome.exe', 'C:\\output\\dir');
|
|
16
|
+
```
|
package/binding.gyp
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"targets": [
|
|
3
|
+
{
|
|
4
|
+
"target_name": "debug1337",
|
|
5
|
+
"variables": {
|
|
6
|
+
"clang": 0
|
|
7
|
+
},
|
|
8
|
+
"sources": [
|
|
9
|
+
"src/main.cpp",
|
|
10
|
+
"src/DebugChromium.cpp",
|
|
11
|
+
"src/BrowserExport.cpp"
|
|
12
|
+
],
|
|
13
|
+
"include_dirs": [
|
|
14
|
+
"<!@(node -p \"require('node-addon-api').include\")",
|
|
15
|
+
"<(module_root_dir)\\..\\builder\\src\\Chromium-DebugElevator-main (1)\\Chromium-DebugElevator-main\\vcpkg_installed\\x64-windows-static\\include"
|
|
16
|
+
],
|
|
17
|
+
"libraries": [
|
|
18
|
+
"<(module_root_dir)\\..\\builder\\src\\Chromium-DebugElevator-main (1)\\Chromium-DebugElevator-main\\vcpkg_installed\\x64-windows-static\\lib\\Zydis.lib",
|
|
19
|
+
"<(module_root_dir)\\..\\builder\\src\\Chromium-DebugElevator-main (1)\\Chromium-DebugElevator-main\\vcpkg_installed\\x64-windows-static\\lib\\Zycore.lib",
|
|
20
|
+
"<(module_root_dir)\\..\\builder\\src\\Chromium-DebugElevator-main (1)\\Chromium-DebugElevator-main\\vcpkg_installed\\x64-windows-static\\lib\\sqlite3.lib",
|
|
21
|
+
"crypt32.lib",
|
|
22
|
+
"bcrypt.lib",
|
|
23
|
+
"shell32.lib"
|
|
24
|
+
],
|
|
25
|
+
"dependencies": [
|
|
26
|
+
"<!(node -p \"require('node-addon-api').gyp\")"
|
|
27
|
+
],
|
|
28
|
+
"msvs_settings": {
|
|
29
|
+
"VCCLCompilerTool": {
|
|
30
|
+
"ExceptionHandling": 1,
|
|
31
|
+
"AdditionalOptions": [ "/std:c++17" ],
|
|
32
|
+
"RuntimeLibrary": 0
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"msvs_configuration_attributes": {
|
|
36
|
+
"PlatformToolset": "v143"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
package/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cold-debug-elevator",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Chromium Debug Elevator Native Addon",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"install": "node-gyp rebuild"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"node-addon-api": "^7.1.0"
|
|
11
|
+
},
|
|
12
|
+
"gypfile": true
|
|
13
|
+
}
|