https://github.com/capacitorset/system-registry-js
A JS dump of the Windows XP registry.
https://github.com/capacitorset/system-registry-js
Last synced: 3 months ago
JSON representation
A JS dump of the Windows XP registry.
- Host: GitHub
- URL: https://github.com/capacitorset/system-registry-js
- Owner: CapacitorSet
- Created: 2017-09-05T21:14:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-05T22:09:00.000Z (over 8 years ago)
- Last Synced: 2024-06-21T17:00:52.176Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 1.83 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Windows Registry dump
=====================
This is a simple npm module that exports the system registry from Windows XP as a JS object.
## Usage
```
var registry = require("system-registry");
```
## Compiling
Dump the registry to `registry.reg`, convert it from UTF16 to UTF8 (eg. with `iconv`), run `reg2json.js`, prepend `module.exports=` to `registry.json` in order to create `registry.js`. Run a minifier, and copy the output to `src/registry.js`.
```
cd src
# Generate registry.reg.
iconv -f utf-16 -t utf-8 registry.reg -o registry.utf8.reg
node reg2json.js
(echo -n "module.exports="; cat registry.json) > registry.js
uglifyjs --mangle -- registry.js > ../dist/registry.js
```