mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-25 01:06:16 -04:00
initial functionality commit
This commit is contained in:
parent
567474ce00
commit
7d15bfe58a
4 changed files with 208 additions and 0 deletions
|
@ -331,6 +331,7 @@ const Categories = [
|
|||
"Extract EXIF",
|
||||
"Numberwang",
|
||||
"XKCD Random Number",
|
||||
"Set Operations"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -38,6 +38,7 @@ import StrUtils from "../operations/StrUtils.js";
|
|||
import Tidy from "../operations/Tidy.js";
|
||||
import Unicode from "../operations/Unicode.js";
|
||||
import URL_ from "../operations/URL.js";
|
||||
import SetOps from "../operations/SetOperations.js";
|
||||
|
||||
|
||||
/**
|
||||
|
@ -4018,6 +4019,29 @@ const OperationConfig = {
|
|||
inputType: "string",
|
||||
outputType: "number",
|
||||
args: []
|
||||
},
|
||||
"Set Operations": {
|
||||
module: "Default",
|
||||
description: "Performs set operations",
|
||||
inputType: "string",
|
||||
outputType: "html",
|
||||
args: [
|
||||
{
|
||||
name: "Sample delimiter",
|
||||
type: "binaryString",
|
||||
value: SetOps.SAMPLE_DELIMITER
|
||||
},
|
||||
{
|
||||
name: "Item delimiter",
|
||||
type: "binaryString",
|
||||
value: SetOps.ITEM_DELIMITER
|
||||
},
|
||||
{
|
||||
name: "Operation",
|
||||
type: "option",
|
||||
value: SetOps.OPERATION
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ import Tidy from "../../operations/Tidy.js";
|
|||
import Unicode from "../../operations/Unicode.js";
|
||||
import UUID from "../../operations/UUID.js";
|
||||
import XKCD from "../../operations/XKCD.js";
|
||||
import SetOps from "../../operations/SetOperations.js";
|
||||
|
||||
|
||||
/**
|
||||
|
@ -164,6 +165,7 @@ OpModules.Default = {
|
|||
"Windows Filetime to UNIX Timestamp": Filetime.runFromFiletimeToUnix,
|
||||
"UNIX Timestamp to Windows Filetime": Filetime.runToFiletimeFromUnix,
|
||||
"XKCD Random Number": XKCD.runRandomNumber,
|
||||
"Set Operations": SetOps.runSetOperation.bind(SetOps),
|
||||
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue