How irrelon/hikvision-password-extractor works
This Node.js CLI retrieves a Hikvision camera configuration and extracts candidate passwords. Its main workflow is explicit in index.js: download, AES-decrypt, XOR-decode, search for authentication patterns, then print results. The README documents the same stages. The graph covers the runtime modules and device interaction; the supplied excerpts do not show a separate password-result service or additional product subsystem.
Main entry points: index.js CLI workflow · downloadConfig.js Config download · decryptAes.js AES decryption · decryptXor.js XOR decoding
Components 8
CLI orchestration
- CLI workflow
index.js
Config processing
- Config download
downloadConfig.js - AES decryption
decryptAes.js - XOR decoding
decryptXor.js
Password extraction
- Auth pattern search
findAuth.js - Password results
Other components
- Operator
- Hikvision camera
Connections 11
- Operator → CLI workflow: runs with IP
README.md - CLI workflow → Config download: calls download
index.js - Config download → Hikvision camera: requests config
downloadConfig.js - Config download → AES decryption: writes config file
README.md - CLI workflow → AES decryption: calls decrypt
index.js - AES decryption → XOR decoding: writes decrypted file
README.md - CLI workflow → XOR decoding: calls decode
index.js - XOR decoding → Auth pattern search: writes decoded text
README.md - CLI workflow → Auth pattern search: calls search
index.js - Auth pattern search → Password results: returns matches
findAuth.js - CLI workflow → Password results: prints passwords
index.js