Repository navigation
Expand file tree
/
Copy pathkeys.json
More file actions
39 lines (35 loc) · 1.49 KB
/
Copy pathkeys.json
File metadata and controls
39 lines (35 loc) · 1.49 KB
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
{
"_instructions": [
"This file holds the key material the tool uses. Each entry under 'profiles'",
"is one recovered key set. To use the tool on YOUR target, do the following:",
" 1. Decompile the target binary and find its crypto/helper class.",
" 2. Recover the KEY and IV byte arrays, and note the cipher (des or rc2)",
" and the mode (cbc or ecb).",
" 3. Add a profile below: give it a name, fill in key/iv as hex bytes.",
" 4. Delete the example profiles you don't need.",
"Fields per profile:",
" description : free text, shown by --list. Put the source here.",
" method : 'des' (8-byte key/iv) or 'rc2' (usually 5-8 bytes).",
" mode : 'cbc' (needs an iv) or 'ecb' (iv ignored).",
" key / iv : hex bytes. Spaces, commas, or 0x prefixes are all fine.",
"Lines starting with '_' are comments and are ignored by the tool."
],
"profiles": {
"example-des-cbc": {
"_comment": "EXAMPLE ONLY - replace with your own recovered key/iv, or delete.",
"description": "<describe where these keys came from>",
"method": "des",
"mode": "cbc",
"key": "00 00 00 00 00 00 00 00",
"iv": "00 00 00 00 00 00 00 00"
},
"example-rc2-cbc": {
"_comment": "EXAMPLE ONLY - replace with your own recovered key/iv, or delete.",
"description": "<describe where these keys came from>",
"method": "rc2",
"mode": "cbc",
"key": "00 00 00 00 00",
"iv": "00 00 00 00 00"
}
}
}