cyberchef 10.22.0 → 10.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/core/config/OperationConfig.json +21837 -0
- package/src/core/config/modules/Bletchley.mjs +28 -0
- package/src/core/config/modules/Charts.mjs +24 -0
- package/src/core/config/modules/Ciphers.mjs +122 -0
- package/src/core/config/modules/Code.mjs +60 -0
- package/src/core/config/modules/Compression.mjs +52 -0
- package/src/core/config/modules/Crypto.mjs +128 -0
- package/src/core/config/modules/Default.mjs +418 -0
- package/src/core/config/modules/Diff.mjs +16 -0
- package/src/core/config/modules/Encodings.mjs +42 -0
- package/src/core/config/modules/Handlebars.mjs +16 -0
- package/src/core/config/modules/Hashing.mjs +30 -0
- package/src/core/config/modules/Image.mjs +70 -0
- package/src/core/config/modules/Jq.mjs +16 -0
- package/src/core/config/modules/OCR.mjs +16 -0
- package/src/core/config/modules/OpModules.mjs +63 -0
- package/src/core/config/modules/PGP.mjs +26 -0
- package/src/core/config/modules/Protobuf.mjs +18 -0
- package/src/core/config/modules/PublicKey.mjs +36 -0
- package/src/core/config/modules/Regex.mjs +40 -0
- package/src/core/config/modules/Serialise.mjs +26 -0
- package/src/core/config/modules/Shellcode.mjs +16 -0
- package/src/core/config/modules/URL.mjs +20 -0
- package/src/core/config/modules/UserAgent.mjs +16 -0
- package/src/core/config/modules/Yara.mjs +16 -0
- package/src/core/operations/index.mjs +940 -0
- package/src/node/index.mjs +2373 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE IS AUTOMATICALLY GENERATED BY src/core/config/scripts/generateConfig.mjs
|
|
3
|
+
*
|
|
4
|
+
* Imports all modules for builds which do not load modules separately.
|
|
5
|
+
*
|
|
6
|
+
* @author n1474335 [n1474335@gmail.com]
|
|
7
|
+
* @copyright Crown Copyright 2026
|
|
8
|
+
* @license Apache-2.0
|
|
9
|
+
*/
|
|
10
|
+
import CiphersModule from "./Ciphers.mjs";
|
|
11
|
+
import DefaultModule from "./Default.mjs";
|
|
12
|
+
import EncodingsModule from "./Encodings.mjs";
|
|
13
|
+
import ImageModule from "./Image.mjs";
|
|
14
|
+
import CryptoModule from "./Crypto.mjs";
|
|
15
|
+
import SerialiseModule from "./Serialise.mjs";
|
|
16
|
+
import HashingModule from "./Hashing.mjs";
|
|
17
|
+
import BletchleyModule from "./Bletchley.mjs";
|
|
18
|
+
import CompressionModule from "./Compression.mjs";
|
|
19
|
+
import CodeModule from "./Code.mjs";
|
|
20
|
+
import DiffModule from "./Diff.mjs";
|
|
21
|
+
import ShellcodeModule from "./Shellcode.mjs";
|
|
22
|
+
import ChartsModule from "./Charts.mjs";
|
|
23
|
+
import RegexModule from "./Regex.mjs";
|
|
24
|
+
import PGPModule from "./PGP.mjs";
|
|
25
|
+
import PublicKeyModule from "./PublicKey.mjs";
|
|
26
|
+
import JqModule from "./Jq.mjs";
|
|
27
|
+
import OCRModule from "./OCR.mjs";
|
|
28
|
+
import URLModule from "./URL.mjs";
|
|
29
|
+
import UserAgentModule from "./UserAgent.mjs";
|
|
30
|
+
import ProtobufModule from "./Protobuf.mjs";
|
|
31
|
+
import HandlebarsModule from "./Handlebars.mjs";
|
|
32
|
+
import YaraModule from "./Yara.mjs";
|
|
33
|
+
|
|
34
|
+
const OpModules = {};
|
|
35
|
+
|
|
36
|
+
Object.assign(
|
|
37
|
+
OpModules,
|
|
38
|
+
CiphersModule,
|
|
39
|
+
DefaultModule,
|
|
40
|
+
EncodingsModule,
|
|
41
|
+
ImageModule,
|
|
42
|
+
CryptoModule,
|
|
43
|
+
SerialiseModule,
|
|
44
|
+
HashingModule,
|
|
45
|
+
BletchleyModule,
|
|
46
|
+
CompressionModule,
|
|
47
|
+
CodeModule,
|
|
48
|
+
DiffModule,
|
|
49
|
+
ShellcodeModule,
|
|
50
|
+
ChartsModule,
|
|
51
|
+
RegexModule,
|
|
52
|
+
PGPModule,
|
|
53
|
+
PublicKeyModule,
|
|
54
|
+
JqModule,
|
|
55
|
+
OCRModule,
|
|
56
|
+
URLModule,
|
|
57
|
+
UserAgentModule,
|
|
58
|
+
ProtobufModule,
|
|
59
|
+
HandlebarsModule,
|
|
60
|
+
YaraModule,
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
export default OpModules;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE IS AUTOMATICALLY GENERATED BY src/core/config/scripts/generateConfig.mjs
|
|
3
|
+
*
|
|
4
|
+
* @author n1474335 [n1474335@gmail.com]
|
|
5
|
+
* @copyright Crown Copyright 2026
|
|
6
|
+
* @license Apache-2.0
|
|
7
|
+
*/
|
|
8
|
+
import GeneratePGPKeyPair from "../../operations/GeneratePGPKeyPair.mjs";
|
|
9
|
+
import PGPDecrypt from "../../operations/PGPDecrypt.mjs";
|
|
10
|
+
import PGPDecryptAndVerify from "../../operations/PGPDecryptAndVerify.mjs";
|
|
11
|
+
import PGPEncrypt from "../../operations/PGPEncrypt.mjs";
|
|
12
|
+
import PGPEncryptAndSign from "../../operations/PGPEncryptAndSign.mjs";
|
|
13
|
+
import PGPVerify from "../../operations/PGPVerify.mjs";
|
|
14
|
+
|
|
15
|
+
const OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
|
16
|
+
|
|
17
|
+
OpModules.PGP = {
|
|
18
|
+
"Generate PGP Key Pair": GeneratePGPKeyPair,
|
|
19
|
+
"PGP Decrypt": PGPDecrypt,
|
|
20
|
+
"PGP Decrypt and Verify": PGPDecryptAndVerify,
|
|
21
|
+
"PGP Encrypt": PGPEncrypt,
|
|
22
|
+
"PGP Encrypt and Sign": PGPEncryptAndSign,
|
|
23
|
+
"PGP Verify": PGPVerify,
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export default OpModules;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE IS AUTOMATICALLY GENERATED BY src/core/config/scripts/generateConfig.mjs
|
|
3
|
+
*
|
|
4
|
+
* @author n1474335 [n1474335@gmail.com]
|
|
5
|
+
* @copyright Crown Copyright 2026
|
|
6
|
+
* @license Apache-2.0
|
|
7
|
+
*/
|
|
8
|
+
import ProtobufDecode from "../../operations/ProtobufDecode.mjs";
|
|
9
|
+
import ProtobufEncode from "../../operations/ProtobufEncode.mjs";
|
|
10
|
+
|
|
11
|
+
const OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
|
12
|
+
|
|
13
|
+
OpModules.Protobuf = {
|
|
14
|
+
"Protobuf Decode": ProtobufDecode,
|
|
15
|
+
"Protobuf Encode": ProtobufEncode,
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export default OpModules;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE IS AUTOMATICALLY GENERATED BY src/core/config/scripts/generateConfig.mjs
|
|
3
|
+
*
|
|
4
|
+
* @author n1474335 [n1474335@gmail.com]
|
|
5
|
+
* @copyright Crown Copyright 2026
|
|
6
|
+
* @license Apache-2.0
|
|
7
|
+
*/
|
|
8
|
+
import HexToObjectIdentifier from "../../operations/HexToObjectIdentifier.mjs";
|
|
9
|
+
import HexToPEM from "../../operations/HexToPEM.mjs";
|
|
10
|
+
import JWKToPem from "../../operations/JWKToPem.mjs";
|
|
11
|
+
import ObjectIdentifierToHex from "../../operations/ObjectIdentifierToHex.mjs";
|
|
12
|
+
import PEMToJWK from "../../operations/PEMToJWK.mjs";
|
|
13
|
+
import ParseASN1HexString from "../../operations/ParseASN1HexString.mjs";
|
|
14
|
+
import ParseCSR from "../../operations/ParseCSR.mjs";
|
|
15
|
+
import ParseX509CRL from "../../operations/ParseX509CRL.mjs";
|
|
16
|
+
import ParseX509Certificate from "../../operations/ParseX509Certificate.mjs";
|
|
17
|
+
import PubKeyFromCert from "../../operations/PubKeyFromCert.mjs";
|
|
18
|
+
import PubKeyFromPrivKey from "../../operations/PubKeyFromPrivKey.mjs";
|
|
19
|
+
|
|
20
|
+
const OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
|
21
|
+
|
|
22
|
+
OpModules.PublicKey = {
|
|
23
|
+
"Hex to Object Identifier": HexToObjectIdentifier,
|
|
24
|
+
"Hex to PEM": HexToPEM,
|
|
25
|
+
"JWK to PEM": JWKToPem,
|
|
26
|
+
"Object Identifier to Hex": ObjectIdentifierToHex,
|
|
27
|
+
"PEM to JWK": PEMToJWK,
|
|
28
|
+
"Parse ASN.1 hex string": ParseASN1HexString,
|
|
29
|
+
"Parse CSR": ParseCSR,
|
|
30
|
+
"Parse X.509 CRL": ParseX509CRL,
|
|
31
|
+
"Parse X.509 certificate": ParseX509Certificate,
|
|
32
|
+
"Public Key from Certificate": PubKeyFromCert,
|
|
33
|
+
"Public Key from Private Key": PubKeyFromPrivKey,
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export default OpModules;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE IS AUTOMATICALLY GENERATED BY src/core/config/scripts/generateConfig.mjs
|
|
3
|
+
*
|
|
4
|
+
* @author n1474335 [n1474335@gmail.com]
|
|
5
|
+
* @copyright Crown Copyright 2026
|
|
6
|
+
* @license Apache-2.0
|
|
7
|
+
*/
|
|
8
|
+
import ExtractDates from "../../operations/ExtractDates.mjs";
|
|
9
|
+
import ExtractDomains from "../../operations/ExtractDomains.mjs";
|
|
10
|
+
import ExtractEmailAddresses from "../../operations/ExtractEmailAddresses.mjs";
|
|
11
|
+
import ExtractFilePaths from "../../operations/ExtractFilePaths.mjs";
|
|
12
|
+
import ExtractHashes from "../../operations/ExtractHashes.mjs";
|
|
13
|
+
import ExtractIPAddresses from "../../operations/ExtractIPAddresses.mjs";
|
|
14
|
+
import ExtractMACAddresses from "../../operations/ExtractMACAddresses.mjs";
|
|
15
|
+
import ExtractURLs from "../../operations/ExtractURLs.mjs";
|
|
16
|
+
import Filter from "../../operations/Filter.mjs";
|
|
17
|
+
import FindReplace from "../../operations/FindReplace.mjs";
|
|
18
|
+
import Register from "../../operations/Register.mjs";
|
|
19
|
+
import RegularExpression from "../../operations/RegularExpression.mjs";
|
|
20
|
+
import Strings from "../../operations/Strings.mjs";
|
|
21
|
+
|
|
22
|
+
const OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
|
23
|
+
|
|
24
|
+
OpModules.Regex = {
|
|
25
|
+
"Extract dates": ExtractDates,
|
|
26
|
+
"Extract domains": ExtractDomains,
|
|
27
|
+
"Extract email addresses": ExtractEmailAddresses,
|
|
28
|
+
"Extract file paths": ExtractFilePaths,
|
|
29
|
+
"Extract hashes": ExtractHashes,
|
|
30
|
+
"Extract IP addresses": ExtractIPAddresses,
|
|
31
|
+
"Extract MAC addresses": ExtractMACAddresses,
|
|
32
|
+
"Extract URLs": ExtractURLs,
|
|
33
|
+
"Filter": Filter,
|
|
34
|
+
"Find / Replace": FindReplace,
|
|
35
|
+
"Register": Register,
|
|
36
|
+
"Regular expression": RegularExpression,
|
|
37
|
+
"Strings": Strings,
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export default OpModules;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE IS AUTOMATICALLY GENERATED BY src/core/config/scripts/generateConfig.mjs
|
|
3
|
+
*
|
|
4
|
+
* @author n1474335 [n1474335@gmail.com]
|
|
5
|
+
* @copyright Crown Copyright 2026
|
|
6
|
+
* @license Apache-2.0
|
|
7
|
+
*/
|
|
8
|
+
import AvroToJSON from "../../operations/AvroToJSON.mjs";
|
|
9
|
+
import BSONDeserialise from "../../operations/BSONDeserialise.mjs";
|
|
10
|
+
import BSONSerialise from "../../operations/BSONSerialise.mjs";
|
|
11
|
+
import CBORDecode from "../../operations/CBORDecode.mjs";
|
|
12
|
+
import CBOREncode from "../../operations/CBOREncode.mjs";
|
|
13
|
+
import ParseObjectIDTimestamp from "../../operations/ParseObjectIDTimestamp.mjs";
|
|
14
|
+
|
|
15
|
+
const OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
|
16
|
+
|
|
17
|
+
OpModules.Serialise = {
|
|
18
|
+
"Avro to JSON": AvroToJSON,
|
|
19
|
+
"BSON deserialise": BSONDeserialise,
|
|
20
|
+
"BSON serialise": BSONSerialise,
|
|
21
|
+
"CBOR Decode": CBORDecode,
|
|
22
|
+
"CBOR Encode": CBOREncode,
|
|
23
|
+
"Parse ObjectID timestamp": ParseObjectIDTimestamp,
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export default OpModules;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE IS AUTOMATICALLY GENERATED BY src/core/config/scripts/generateConfig.mjs
|
|
3
|
+
*
|
|
4
|
+
* @author n1474335 [n1474335@gmail.com]
|
|
5
|
+
* @copyright Crown Copyright 2026
|
|
6
|
+
* @license Apache-2.0
|
|
7
|
+
*/
|
|
8
|
+
import DisassembleX86 from "../../operations/DisassembleX86.mjs";
|
|
9
|
+
|
|
10
|
+
const OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
|
11
|
+
|
|
12
|
+
OpModules.Shellcode = {
|
|
13
|
+
"Disassemble x86": DisassembleX86,
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export default OpModules;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE IS AUTOMATICALLY GENERATED BY src/core/config/scripts/generateConfig.mjs
|
|
3
|
+
*
|
|
4
|
+
* @author n1474335 [n1474335@gmail.com]
|
|
5
|
+
* @copyright Crown Copyright 2026
|
|
6
|
+
* @license Apache-2.0
|
|
7
|
+
*/
|
|
8
|
+
import ParseURI from "../../operations/ParseURI.mjs";
|
|
9
|
+
import URLDecode from "../../operations/URLDecode.mjs";
|
|
10
|
+
import URLEncode from "../../operations/URLEncode.mjs";
|
|
11
|
+
|
|
12
|
+
const OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
|
13
|
+
|
|
14
|
+
OpModules.URL = {
|
|
15
|
+
"Parse URI": ParseURI,
|
|
16
|
+
"URL Decode": URLDecode,
|
|
17
|
+
"URL Encode": URLEncode,
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export default OpModules;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE IS AUTOMATICALLY GENERATED BY src/core/config/scripts/generateConfig.mjs
|
|
3
|
+
*
|
|
4
|
+
* @author n1474335 [n1474335@gmail.com]
|
|
5
|
+
* @copyright Crown Copyright 2026
|
|
6
|
+
* @license Apache-2.0
|
|
7
|
+
*/
|
|
8
|
+
import ParseUserAgent from "../../operations/ParseUserAgent.mjs";
|
|
9
|
+
|
|
10
|
+
const OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
|
11
|
+
|
|
12
|
+
OpModules.UserAgent = {
|
|
13
|
+
"Parse User Agent": ParseUserAgent,
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export default OpModules;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE IS AUTOMATICALLY GENERATED BY src/core/config/scripts/generateConfig.mjs
|
|
3
|
+
*
|
|
4
|
+
* @author n1474335 [n1474335@gmail.com]
|
|
5
|
+
* @copyright Crown Copyright 2026
|
|
6
|
+
* @license Apache-2.0
|
|
7
|
+
*/
|
|
8
|
+
import YARARules from "../../operations/YARARules.mjs";
|
|
9
|
+
|
|
10
|
+
const OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
|
11
|
+
|
|
12
|
+
OpModules.Yara = {
|
|
13
|
+
"YARA Rules": YARARules,
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export default OpModules;
|