https://github.com/guyoung/cyberchef-executor
GCHQ CyberChef executor
https://github.com/guyoung/cyberchef-executor
Last synced: 10 months ago
JSON representation
GCHQ CyberChef executor
- Host: GitHub
- URL: https://github.com/guyoung/cyberchef-executor
- Owner: guyoung
- License: apache-2.0
- Created: 2024-04-18T01:55:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T05:19:32.000Z (over 2 years ago)
- Last Synced: 2025-08-30T01:53:51.738Z (11 months ago)
- Language: JavaScript
- Size: 27.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CyberChef-executor
GCHQ CyberChef executor
[CyberChef](https://github.com/gchq/CyberChef) is a simple, intuitive web app for carrying out all manner of "cyber" operations within a web browser. These operations include simple encoding like XOR and Base64, more complex encryption like AES, DES and Blowfish, creating binary and hexdumps, compression and decompression of data, calculating hashes and checksums, IPv6 and X.509 parsing, changing character encodings, and much more.
## Usage
### Node.js / CommonJS
```javascript
var chef = require("cyberchef-executor")
console.log(chef.getOpCategories())
console.log(chef.getOpConfigs())
let executor = new chef.Executor('To Base64')
let encoded = executor.run(Buffer.from('hello'), ['A-Za-z0-9+/='])
console.log(encoded)
executor = new chef.Executor('From Base64')
let plain = executor.run(encoded.output, ['A-Za-z0-9+/='])
console.log(plain)
```