mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-14 10:06:58 -04:00
Sync up and fix issues
Renaming from tcpdump into packets category. Adding a new packet category. Update structures
This commit is contained in:
parent
a74d97f2a4
commit
a34547dab1
8 changed files with 93 additions and 215 deletions
|
@ -26,6 +26,7 @@ OpModules.Compression = {
|
|||
"Bzip2 Decompress": Compress.runBzip2Decompress,
|
||||
"Tar": Compress.runTar,
|
||||
"Untar": Compress.runUntar,
|
||||
"HTTP gzip Decrypt":Compress.runHttpGzip,
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -51,6 +51,8 @@ OpModules.Default = {
|
|||
"From Hexdump": Hexdump.runFrom,
|
||||
"To Hex": ByteRepr.runToHex,
|
||||
"From Hex": ByteRepr.runFromHex,
|
||||
"From 0x[Hex]": ByteRepr.runFrom0xHex,
|
||||
"From Char(Hex)": ByteRepr.runFromCharHex,
|
||||
"To Octal": ByteRepr.runToOct,
|
||||
"From Octal": ByteRepr.runFromOct,
|
||||
"To Charcode": ByteRepr.runToCharcode,
|
||||
|
|
|
@ -20,6 +20,7 @@ import JSBNModule from "./JSBN.js";
|
|||
import PublicKeyModule from "./PublicKey.js";
|
||||
import ShellcodeModule from "./Shellcode.js";
|
||||
import URLModule from "./URL.js";
|
||||
import PacketsModule from "./Packets.js";
|
||||
|
||||
Object.assign(
|
||||
OpModules,
|
||||
|
@ -35,7 +36,8 @@ Object.assign(
|
|||
JSBNModule,
|
||||
PublicKeyModule,
|
||||
ShellcodeModule,
|
||||
URLModule
|
||||
URLModule,
|
||||
PacketsModule
|
||||
);
|
||||
|
||||
export default OpModules;
|
||||
|
|
19
src/core/config/modules/Packets.js
Normal file
19
src/core/config/modules/Packets.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
import Packets from "../../operations/Packets.js";
|
||||
|
||||
/**
|
||||
* Packets module.
|
||||
*
|
||||
* Libraries:
|
||||
* - Utils.js
|
||||
*
|
||||
* @author drkna [whytho@email]
|
||||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
let OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
||||
|
||||
OpModules.Packets = {
|
||||
"From Tcpdump": Packets.runFromTcpdump,
|
||||
};
|
||||
|
||||
export default OpModules;
|
Loading…
Add table
Add a link
Reference in a new issue