aboutsummaryrefslogtreecommitdiffhomepage
path: root/File-decryption/README.md
blob: 4a9a8e8e6280a7e2d70bd4667555654e0d23153f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# NeuralDSP QuadCortex Neural Capture file decryptor.

This tool can be used to take one of the encrypted `.cns` or `.json` files, and decrypt them to a usable format. The `.cns` files are actually protobufs and can be decoded with the Python decoder.

Build the image:

```sh
docker build . -t qc_decrypt
```

To decrypt user files (pass the serial number found in `/etc/qc_sn` as command line argument):

```sh
docker run -v/path/to/your/files/:/data qc_decrypt QA00XXXXX /data/encrypted.json
```

To decrypt update files instead, provide an empty serial:

```sh
docker run -v/path/to/your/files/:/data qc_decrypt "" /data/encrypted.json
```

## License

This tool was made with ♥  by [Simone Margaritelli](https://www.evilsocket.net/) and it is released under the GPL 3 license.

# Unencrypted Neural Capture file decoder

This tool allows you to decode the files, decrypted using the tool above.

## Dependencies
You need to use the protobuf 3.20 package for this to work. You can get it by running:

```
pip install protobuf==3.20.*
```

## Usage

```
python decode_capture.py <your-file>.cns.dec
```