Documentation
¶
Overview ¶
Package ops implements the CyberChef operations, each as a type satisfying github.com/roberson-io/cchef/core.Operation.
Every operation registers itself, so importing the package for its side effects is enough to make all of them available by name to a recipe:
import (
"github.com/roberson-io/cchef/core"
_ "github.com/roberson-io/cchef/ops"
)
r, _ := core.ParseRecipeConfig(`[{"op":"To Base64"}]`)
out, _ := r.Execute(core.NewDish([]byte("hello"), core.TypeByteArray))
An operation can also be named directly, which the compiler can check where a lookup by name cannot. Its arguments are positional and in the order the operation declares them, so github.com/roberson-io/cchef/core.DefaultArgs is the easy way to fill in the ones you do not care about:
op := ops.ToBase64{}
out, err := op.Run(core.NewDish([]byte("hello"), core.TypeByteArray),
core.DefaultArgs(op.Args()))
Run assumes its arguments have already been checked; pass them through github.com/roberson-io/cchef/core.CoerceArgs first when they come from somewhere untrusted, which is what recipe execution does.
The operations follow CyberChef's behavior. Where cchef differs deliberately, AGENTS.md records what and why.
Index ¶
- type A1Z26CipherDecode
- type A1Z26CipherEncode
- type ADD
- type AESDecrypt
- type AESEncrypt
- type AESKeyUnwrap
- type AESKeyWrap
- type AMFDecode
- type AMFEncode
- type AND
- type AddLineNumbers
- type AddTextToImage
- type Adler32
- type AffineCipherDecode
- type AffineCipherEncode
- type AlternatingCaps
- type AnalyseHash
- type AnalyseUUID
- type Argon2
- type Argon2Compare
- type AsconDecrypt
- type AsconEncrypt
- type AsconHash
- type AsconMAC
- type AtbashCipher
- type AutomatedValidationTestOp
- type AvroToJSON
- type BLAKE2b
- type BLAKE2s
- type BLAKE3
- type BSONDeserialise
- type BSONSerialise
- type BaconCipherDecode
- type BaconCipherEncode
- type Bcrypt
- type BcryptCompare
- type BcryptParse
- type BifidCipherDecode
- type BifidCipherEncode
- type BitShiftLeft
- type BitShiftRight
- type BlowfishDecrypt
- type BlowfishEncrypt
- type BlurImage
- type Bombe
- type Bzip2Compress
- type Bzip2Decompress
- type CBORDecode
- type CBOREncode
- type CMAC
- type CRCChecksum
- type CSSBeautify
- type CSSMinify
- type CSSSelector
- type CSVToJSON
- type CTPH
- type CaesarBoxCipher
- type CaretMDecode
- type CartesianProduct
- type CetaceanCipherDecode
- type CetaceanCipherEncode
- type ChaCha
- type ChangeIPFormat
- type ChiSquare
- type CipherSaber2Decrypt
- type CipherSaber2Encrypt
- type CitrixCTX1Decode
- type CitrixCTX1Encode
- type Colossus
- type Comment
- type CompareCTPHHashes
- type CompareSSDEEPHashes
- type ConditionalJump
- type ContainImage
- type ConvertCoordinateFormat
- type ConvertImageFormat
- type ConvertLeetSpeak
- type ConvertToNATOAlphabet
- type CountOccurrences
- type CoverImage
- type CropImage
- type DESDecrypt
- type DESEncrypt
- type DNSOverHTTPS
- type DateTimeDelta
- type DechunkHTTPResponse
- type DecodeNetBIOSName
- type DecodeText
- type DefangIPAddresses
- type DefangURL
- type DeriveEVPKey
- type DeriveHKDFKey
- type DerivePBKDF2Key
- type DetectFileType
- type Diff
- type DisassembleARM
- type DisassembleX86
- type DitherImage
- type Divide
- type DropBytes
- type DropNthBytes
- type ECDSASign
- type ECDSASignatureConversion
- type ECDSAVerify
- type ELFInfo
- type EncodeNetBIOSName
- type EncodeText
- type Enigma
- type Entropy
- type EscapeSmartCharacters
- type EscapeString
- type EscapeUnicodeCharacters
- type ExpandAlphabetRange
- type ExtendedGCD
- type ExtractAudioMetadata
- type ExtractDates
- type ExtractDomains
- type ExtractEXIF
- type ExtractEmailAddresses
- type ExtractFilePaths
- type ExtractFiles
- type ExtractHashes
- type ExtractID3
- type ExtractIPAddresses
- type ExtractLSB
- type ExtractMACAddresses
- type ExtractRGBA
- type ExtractURLs
- type FangURL
- type FernetDecrypt
- type FernetEncrypt
- type FileTree
- type Filter
- type FindReplace
- type FlaskSessionDecode
- type FlaskSessionSign
- type FlaskSessionVerify
- type Fletcher8Checksum
- type Fletcher16Checksum
- type Fletcher32Checksum
- type Fletcher64Checksum
- type FlipImage
- type Fork
- type FormatMACAddresses
- type FrequencyDistribution
- type FromBCD
- type FromBase
- type FromBase32
- type FromBase45
- type FromBase58
- type FromBase62
- type FromBase64
- type FromBase85
- type FromBase92
- type FromBech32
- type FromBinary
- type FromBraille
- type FromCOBS
- type FromCaseInsensitiveRegex
- type FromCharcode
- type FromDecimal
- type FromFloat
- type FromHTMLEntity
- type FromHex
- type FromHexContent
- type FromHexdump
- type FromMessagePack
- type FromModhex
- type FromMorseCode
- type FromOctal
- type FromPunycode
- type FromQuotedPrintable
- type FromUNIXTimestamp
- type FuzzyMatch
- type GOSTDecrypt
- type GOSTEncrypt
- type GOSTHash
- type GOSTKeyUnwrap
- type GOSTKeyWrap
- type GOSTSign
- type GOSTVerify
- type GenerateAllChecksums
- type GenerateAllHashes
- type GenerateDeBruijnSequence
- type GenerateECDSAKeyPair
- type GenerateHOTP
- type GenerateImage
- type GenerateLoremIpsum
- type GeneratePGPKeyPair
- type GenerateQRCode
- type GenerateRSAKeyPair
- type GenerateTOTP
- type GenerateUUID
- type GenericCodeBeautify
- type GetAllCasings
- type GetTime
- type GroupIPAddresses
- type Gunzip
- type Gzip
- type HAS160
- type HASSHClientFingerprint
- type HASSHServerFingerprint
- type HMAC
- type HTMLToText
- type HTTPRequest
- type HammingDistance
- type HaversineDistance
- type Head
- type HeatmapChart
- type HexDensityChart
- type HexToObjectIdentifier
- type HexToPEM
- type IPv6TransitionAddresses
- type ImageBrightnessContrast
- type ImageFilter
- type ImageHueSaturationLightness
- type ImageOpacity
- type IndexOfCoincidence
- type InvertImage
- type JA3Fingerprint
- type JA3SFingerprint
- type JA4Fingerprint
- type JA4ServerFingerprint
- type JPathExpression
- type JSONBeautify
- type JSONMinify
- type JSONToCSV
- type JSONToYAML
- type JWKToPEM
- type JWTDecode
- type JWTSign
- type JWTVerify
- type JavaScriptBeautify
- type JavaScriptMinify
- type JavaScriptParser
- type Jq
- type JsonataQuery
- type Jump
- type Keccak
- type LMHash
- type LS47Decrypt
- type LS47Encrypt
- type LZ4Compress
- type LZ4Decompress
- type LZMACompress
- type LZMADecompress
- type LZNT1Decompress
- type LZStringCompress
- type LZStringDecompress
- type Label
- type LevenshteinDistance
- type Lorenz
- type LuhnChecksum
- type MD2
- type MD4
- type MD6
- type MIMEDecoding
- type MOD
- type Magic
- type Mean
- type Median
- type Merge
- type MicrosoftScriptDecoder
- type ModularExponentiation
- type ModularInverse
- type MultipleBombe
- type Multiply
- type MurmurHash3
- type NOT
- type NTHash
- type NormaliseImage
- type NormaliseUnicode
- type Numberwang
- type OR
- type ObjectIdentifierToHex
- type OffsetChecker
- type OpticalCharacterRecognition
- type PEMToHex
- type PEMToJWK
- type PGPDecrypt
- type PGPDecryptAndVerify
- type PGPEncrypt
- type PGPEncryptAndSign
- type PGPSign
- type PGPVerify
- type PHPDeserialize
- type PHPSerialize
- type PRESENTDecrypt
- type PRESENTEncrypt
- type PRNG
- type PadLines
- type ParityBit
- type ParseASN1HexString
- type ParseCSR
- type ParseColourCode
- type ParseDateTime
- type ParseEthernetFrame
- type ParseIPRange
- type ParseIPv4Header
- type ParseIPv6Address
- type ParseObjectIDTimestamp
- type ParseQRCode
- type ParseSSHHostKey
- type ParseTCP
- type ParseTLSRecord
- type ParseTLV
- type ParseUDP
- type ParseUNIXFilePermissions
- type ParseURI
- type ParseUserAgent
- type ParseX509CRL
- type ParseX509Certificate
- type PlayMedia
- type PlistViewer
- type PowerSet
- type ProtobufDecode
- type ProtobufEncode
- type PseudoRandomIntegerGenerator
- type PubKeyFromCert
- type PubKeyFromPrivKey
- type RAKE
- type RC2Decrypt
- type RC2Encrypt
- type RC4
- type RC4Drop
- type RC6Decrypt
- type RC6Encrypt
- type RIPEMD
- type ROR13
- type ROT13
- type ROT13BruteForce
- type ROT47
- type ROT47BruteForce
- type ROT8000
- type RSADecrypt
- type RSAEncrypt
- type RSASign
- type RSAVerify
- type Rabbit
- type RailFenceDecode
- type RailFenceEncode
- type RandomPrime
- type RandomizeColourPalette
- type RawDeflate
- type RawInflate
- type Register
- type RegularExpression
- type RemoveANSIEscapeCodes
- type RemoveDiacritics
- type RemoveEXIF
- type RemoveLineNumbers
- type RemoveNullBytes
- type RemoveWhitespace
- type RenderImage
- type RenderMarkdown
- type RenderPDF
- type ResizeImage
- type Return
- type Reverse
- type RisonDecode
- type RisonEncode
- type RotateImage
- type RotateLeft
- type RotateRight
- type SHA0
- type SHA1
- type SHA2
- type SHA3
- type SIGABA
- type SM2Decrypt
- type SM2Encrypt
- type SM3
- type SM4Decrypt
- type SM4Encrypt
- type SQLBeautify
- type SQLMinify
- type SSDEEP
- type SUB
- type Salsa20
- type ScanForEmbeddedFiles
- type ScatterChart
- type Scrypt
- type SeriesChart
- type SetDifference
- type SetIntersection
- type SetUnion
- type Shake
- type SharpenImage
- type ShowBase64Offsets
- type ShowOnMap
- type Shuffle
- type Sleep
- type Snefru
- type Sort
- type Split
- type SplitColourChannels
- type StandardDeviation
- type Streebog
- type Strings
- type StripHTMLTags
- type StripHTTPHeaders
- type StripIPv4Header
- type StripTCPHeader
- type StripUDPHeader
- type Subsection
- type Substitute
- type Subtract
- type Sum
- type SwapCase
- type SwapEndianness
- type SymmetricDifference
- type SyntaxHighlighter
- type TCPIPChecksum
- type TEADecrypt
- type TEAEncrypt
- type Tail
- type TakeBytes
- type TakeNthBytes
- type Tar
- type Template
- type TextEncodingBruteForce
- type TextIntegerConversion
- type ToBCD
- type ToBase
- type ToBase32
- type ToBase45
- type ToBase58
- type ToBase62
- type ToBase64
- type ToBase85
- type ToBase92
- type ToBech32
- type ToBinary
- type ToBraille
- type ToCOBS
- type ToCamelCase
- type ToCaseInsensitiveRegex
- type ToCharcode
- type ToDecimal
- type ToFloat
- type ToHTMLEntity
- type ToHex
- type ToHexContent
- type ToHexdump
- type ToKebabCase
- type ToLowerCase
- type ToMessagePack
- type ToModhex
- type ToMorseCode
- type ToOctal
- type ToPunycode
- type ToQuotedPrintable
- type ToSnakeCase
- type ToTable
- type ToUNIXTimestamp
- type ToUpperCase
- type TranslateDateTimeFormat
- type TripleDESDecrypt
- type TripleDESEncrypt
- type TwofishDecrypt
- type TwofishEncrypt
- type Typex
- type UNIXTimestampToWindowsFiletime
- type URLDecode
- type URLEncode
- type UnescapeString
- type UnescapeUnicodeCharacters
- type UnicodeTextFormat
- type Unique
- type Untar
- type Unzip
- type VarIntDecode
- type VarIntEncode
- type ViewBitPlane
- type VigenereDecode
- type VigenereEncode
- type Whirlpool
- type WindowsFiletimeToUNIXTimestamp
- type Wrap
- type XKCDRandomNumber
- type XMLBeautify
- type XMLMinify
- type XOR
- type XORBruteForce
- type XORChecksum
- type XPRESSDecompress
- type XPRESSHuffmanDecompress
- type XPathExpression
- type XSalsa20
- type XTEADecrypt
- type XTEAEncrypt
- type XXTEADecrypt
- type XXTEAEncrypt
- type YAMLToJSON
- type YARARules
- type Zip
- type ZlibDeflate
- type ZlibInflate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type A1Z26CipherDecode ¶
type A1Z26CipherDecode struct{}
A1Z26CipherDecode converts alphabet-order numbers back into their corresponding alphabet characters (1=a ... 26=z).
func (A1Z26CipherDecode) Args ¶
func (A1Z26CipherDecode) Args() []core.ArgDef
Args returns the argument definitions.
func (A1Z26CipherDecode) Meta ¶
func (A1Z26CipherDecode) Meta() core.OpMeta
Meta returns the operation metadata.
type A1Z26CipherEncode ¶
type A1Z26CipherEncode struct{}
A1Z26CipherEncode converts alphabet characters into their alphabet-order number (a=1 ... z=26), dropping non-alphabet characters.
func (A1Z26CipherEncode) Args ¶
func (A1Z26CipherEncode) Args() []core.ArgDef
Args returns the argument definitions.
func (A1Z26CipherEncode) Meta ¶
func (A1Z26CipherEncode) Meta() core.OpMeta
Meta returns the operation metadata.
type AESDecrypt ¶
type AESDecrypt struct{}
AESDecrypt decrypts AES ciphertext in a selectable mode.
func (AESDecrypt) Args ¶
func (AESDecrypt) Args() []core.ArgDef
Args returns the argument definitions.
type AESEncrypt ¶
type AESEncrypt struct{}
AESEncrypt encrypts input with AES in a selectable mode.
func (AESEncrypt) Args ¶
func (AESEncrypt) Args() []core.ArgDef
Args returns the argument definitions.
type AESKeyUnwrap ¶
type AESKeyUnwrap struct{}
AESKeyUnwrap unwraps key material using the RFC3394 AES key-wrap algorithm.
func (AESKeyUnwrap) Args ¶
func (AESKeyUnwrap) Args() []core.ArgDef
Args returns the argument definitions.
func (AESKeyUnwrap) Meta ¶
func (AESKeyUnwrap) Meta() core.OpMeta
Meta returns the operation metadata.
type AESKeyWrap ¶
type AESKeyWrap struct{}
AESKeyWrap wraps key material using the RFC3394 AES key-wrap algorithm.
func (AESKeyWrap) Args ¶
func (AESKeyWrap) Args() []core.ArgDef
Args returns the argument definitions.
type AMFDecode ¶
type AMFDecode struct{}
AMFDecode deserializes Action Message Format binary data into JSON.
type AMFEncode ¶
type AMFEncode struct{}
AMFEncode serializes JSON into Action Message Format binary data.
type AddLineNumbers ¶
type AddLineNumbers struct{}
AddLineNumbers prefixes each line with its (offset) number.
func (AddLineNumbers) Args ¶
func (AddLineNumbers) Args() []core.ArgDef
Args returns the argument definitions.
func (AddLineNumbers) Meta ¶
func (AddLineNumbers) Meta() core.OpMeta
Meta returns the operation metadata.
type AddTextToImage ¶
type AddTextToImage struct{}
AddTextToImage draws text onto an image. Ported from CyberChef's Add Text To Image, which renders with Jimp from the 72px Roboto bitmap-font atlases; cchef embeds those same atlases and reproduces Jimp's glyph blitting, bicubic downscale and compositing, so the result is pixel-identical for lossless formats.
func (AddTextToImage) Args ¶
func (AddTextToImage) Args() []core.ArgDef
Args returns the argument definitions.
func (AddTextToImage) Meta ¶
func (AddTextToImage) Meta() core.OpMeta
Meta returns the operation metadata.
type AffineCipherDecode ¶
type AffineCipherDecode struct{}
AffineCipherDecode inverts the affine encoding: (y - b) * a⁻¹ % 26.
func (AffineCipherDecode) Args ¶
func (AffineCipherDecode) Args() []core.ArgDef
Args returns the argument definitions.
func (AffineCipherDecode) Meta ¶
func (AffineCipherDecode) Meta() core.OpMeta
Meta returns the operation metadata.
type AffineCipherEncode ¶
type AffineCipherEncode struct{}
AffineCipherEncode maps each letter to (a*x + b) % 26.
func (AffineCipherEncode) Args ¶
func (AffineCipherEncode) Args() []core.ArgDef
Args returns the argument definitions.
func (AffineCipherEncode) Meta ¶
func (AffineCipherEncode) Meta() core.OpMeta
Meta returns the operation metadata.
type AlternatingCaps ¶
type AlternatingCaps struct{}
AlternatingCaps applies aLtErNaTiNg capitalisation.
func (AlternatingCaps) Args ¶
func (AlternatingCaps) Args() []core.ArgDef
Args returns the argument definitions.
func (AlternatingCaps) Meta ¶
func (AlternatingCaps) Meta() core.OpMeta
Meta returns the operation metadata.
type AnalyseHash ¶
type AnalyseHash struct{}
AnalyseHash guesses which hashing functions could have produced a given hash, based on its length.
func (AnalyseHash) Args ¶
func (AnalyseHash) Args() []core.ArgDef
Args returns the argument definitions.
func (AnalyseHash) Meta ¶
func (AnalyseHash) Meta() core.OpMeta
Meta returns the operation metadata.
type AnalyseUUID ¶
type AnalyseUUID struct{}
AnalyseUUID reads the version and any embedded metadata back out of a UUID.
func (AnalyseUUID) Args ¶
func (AnalyseUUID) Args() []core.ArgDef
Args returns the argument definitions.
func (AnalyseUUID) Meta ¶
func (AnalyseUUID) Meta() core.OpMeta
Meta returns the operation metadata.
type Argon2 ¶
type Argon2 struct{}
Argon2 derives a hash from a password with the Argon2 KDF. It follows CyberChef's Argon2 (backed by the argon2-browser WASM): Argon2i and Argon2id use golang.org/x/crypto/argon2; Argon2d uses the in-repo implementation in argon2core.go. Output can be the PHC-encoded hash, hex or raw bytes.
type Argon2Compare ¶
type Argon2Compare struct{}
Argon2Compare tests whether the input password matches a given Argon2 encoded hash.
func (Argon2Compare) Args ¶
func (Argon2Compare) Args() []core.ArgDef
Args returns the argument definitions.
func (Argon2Compare) Meta ¶
func (Argon2Compare) Meta() core.OpMeta
Meta returns the operation metadata.
type AsconDecrypt ¶
type AsconDecrypt struct{}
AsconDecrypt performs Ascon-AEAD128 authenticated decryption. Ported from CyberChef AsconDecrypt.mjs (which wraps the js-ascon package).
func (AsconDecrypt) Args ¶
func (AsconDecrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (AsconDecrypt) Meta ¶
func (AsconDecrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type AsconEncrypt ¶
type AsconEncrypt struct{}
AsconEncrypt performs Ascon-AEAD128 authenticated encryption. Ported from CyberChef AsconEncrypt.mjs (which wraps the js-ascon package).
func (AsconEncrypt) Args ¶
func (AsconEncrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (AsconEncrypt) Meta ¶
func (AsconEncrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type AsconHash ¶
type AsconHash struct{}
AsconHash computes the Ascon-Hash256 digest (NIST SP 800-232). Ported from CyberChef AsconHash.mjs (which wraps the js-ascon package).
type AsconMAC ¶
type AsconMAC struct{}
AsconMAC computes the Ascon-Mac message authentication code (NIST SP 800-232). Ported from CyberChef AsconMAC.mjs (which wraps the vendored ascon.mjs).
type AtbashCipher ¶
type AtbashCipher struct{}
AtbashCipher maps each letter to its mirror in the alphabet (a<->z, b<->y). It is the affine cipher with a=25, b=25, and is its own inverse.
func (AtbashCipher) Args ¶
func (AtbashCipher) Args() []core.ArgDef
Args returns the argument definitions.
func (AtbashCipher) Meta ¶
func (AtbashCipher) Meta() core.OpMeta
Meta returns the operation metadata.
type AutomatedValidationTestOp ¶
type AutomatedValidationTestOp struct{}
AutomatedValidationTestOp does nothing but report that its arguments were acceptable. It exists so that the checks on arguments can be exercised end to end: every kind of limit an argument may carry is declared here, so a recipe that names this operation is really a test of the checker.
func (AutomatedValidationTestOp) Args ¶
func (AutomatedValidationTestOp) Args() []core.ArgDef
Args returns the argument definitions, one for each kind of limit.
func (AutomatedValidationTestOp) Meta ¶
func (AutomatedValidationTestOp) Meta() core.OpMeta
Meta returns the operation metadata.
type AvroToJSON ¶
type AvroToJSON struct{}
AvroToJSON converts Avro Object Container File data into JSON.
CyberChef's operation is a thin wrapper around the avsc npm library's BlockDecoder. This reads the Avro OCF format (BIP-less; see https://avro.apache.org/docs/1.11.1/specification/) that reproduces avsc's value representation: bytes/fixed render as Node Buffers ({"type":"Buffer","data":[...]}), records/maps keep field order, and unions are unwrapped unless ambiguous, in which case avsc's wrapUnions:"auto" wraps every non-null branch as {"<branchName>": value}.
func (AvroToJSON) Args ¶
func (AvroToJSON) Args() []core.ArgDef
Args returns the argument definitions.
type BLAKE2b ¶
type BLAKE2b struct{}
BLAKE2b computes the BLAKE2b hash (64-bit optimised) with an optional key, backed by golang.org/x/crypto/blake2b.
type BLAKE2s ¶
type BLAKE2s struct{}
BLAKE2s computes the BLAKE2s hash (8- to 32-bit optimised) with an optional key. An implementation of RFC 7693: x/crypto/blake2s only offers 256-bit and keyed 128-bit digests, so it cannot produce the 160-bit / unkeyed 128-bit variants this operation needs.
type BLAKE3 ¶
type BLAKE3 struct{}
BLAKE3 hashes the input with BLAKE3, with an optional 32-byte key, producing a hex digest of the requested length. Ported from CyberChef BLAKE3.mjs (which wraps @noble/hashes); the algorithm is reimplemented from the BLAKE3 spec.
type BSONDeserialise ¶
type BSONDeserialise struct{}
BSONDeserialise struct.
func (BSONDeserialise) Args ¶
func (BSONDeserialise) Args() []core.ArgDef
Args returns the argument definitions.
func (BSONDeserialise) Meta ¶
func (BSONDeserialise) Meta() core.OpMeta
Meta returns the operation metadata.
type BSONSerialise ¶
type BSONSerialise struct{}
BSONSerialise struct.
func (BSONSerialise) Args ¶
func (BSONSerialise) Args() []core.ArgDef
Args returns the argument definitions.
func (BSONSerialise) Meta ¶
func (BSONSerialise) Meta() core.OpMeta
Meta returns the operation metadata.
type BaconCipherDecode ¶
type BaconCipherDecode struct{}
BaconCipherDecode recovers the concealed message.
func (BaconCipherDecode) Args ¶
func (BaconCipherDecode) Args() []core.ArgDef
Args returns the argument definitions.
func (BaconCipherDecode) Meta ¶
func (BaconCipherDecode) Meta() core.OpMeta
Meta returns the operation metadata.
type BaconCipherEncode ¶
type BaconCipherEncode struct{}
BaconCipherEncode conceals a message as groups of five binary digits (or A/B), one per letter.
func (BaconCipherEncode) Args ¶
func (BaconCipherEncode) Args() []core.ArgDef
Args returns the argument definitions.
func (BaconCipherEncode) Meta ¶
func (BaconCipherEncode) Meta() core.OpMeta
Meta returns the operation metadata.
type BcryptCompare ¶
type BcryptCompare struct{}
BcryptCompare tests whether the input matches the given bcrypt hash.
func (BcryptCompare) Args ¶
func (BcryptCompare) Args() []core.ArgDef
Args returns the argument definitions.
func (BcryptCompare) Meta ¶
func (BcryptCompare) Meta() core.OpMeta
Meta returns the operation metadata.
type BcryptParse ¶
type BcryptParse struct{}
BcryptParse parses a bcrypt hash into its rounds, salt, and hash components.
func (BcryptParse) Args ¶
func (BcryptParse) Args() []core.ArgDef
Args returns the argument definitions.
func (BcryptParse) Meta ¶
func (BcryptParse) Meta() core.OpMeta
Meta returns the operation metadata.
type BifidCipherDecode ¶
type BifidCipherDecode struct{}
BifidCipherDecode deciphers Bifid-encoded text.
func (BifidCipherDecode) Args ¶
func (BifidCipherDecode) Args() []core.ArgDef
Args returns the argument definitions.
func (BifidCipherDecode) Meta ¶
func (BifidCipherDecode) Meta() core.OpMeta
Meta returns the operation metadata.
type BifidCipherEncode ¶
type BifidCipherEncode struct{}
BifidCipherEncode enciphers text with the Bifid cipher.
func (BifidCipherEncode) Args ¶
func (BifidCipherEncode) Args() []core.ArgDef
Args returns the argument definitions.
func (BifidCipherEncode) Meta ¶
func (BifidCipherEncode) Meta() core.OpMeta
Meta returns the operation metadata.
type BitShiftLeft ¶
type BitShiftLeft struct{}
BitShiftLeft shifts the bits in each byte left by a fixed amount.
func (BitShiftLeft) Args ¶
func (BitShiftLeft) Args() []core.ArgDef
Args returns the argument definitions.
func (BitShiftLeft) Meta ¶
func (BitShiftLeft) Meta() core.OpMeta
Meta returns the operation metadata.
type BitShiftRight ¶
type BitShiftRight struct{}
BitShiftRight shifts the bits in each byte right by a fixed amount.
func (BitShiftRight) Args ¶
func (BitShiftRight) Args() []core.ArgDef
Args returns the argument definitions.
func (BitShiftRight) Meta ¶
func (BitShiftRight) Meta() core.OpMeta
Meta returns the operation metadata.
type BlowfishDecrypt ¶
type BlowfishDecrypt struct{}
BlowfishDecrypt decrypts Blowfish ciphertext.
func (BlowfishDecrypt) Args ¶
func (BlowfishDecrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (BlowfishDecrypt) Meta ¶
func (BlowfishDecrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type BlowfishEncrypt ¶
type BlowfishEncrypt struct{}
BlowfishEncrypt encrypts input with the Blowfish block cipher.
func (BlowfishEncrypt) Args ¶
func (BlowfishEncrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (BlowfishEncrypt) Meta ¶
func (BlowfishEncrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type BlurImage ¶
type BlurImage struct{}
BlurImage blurs an image with a fast box blur or a Gaussian blur.
type Bzip2Compress ¶
type Bzip2Compress struct{}
Bzip2Compress compresses the input into a bzip2 stream.
func (Bzip2Compress) Args ¶
func (Bzip2Compress) Args() []core.ArgDef
Args returns the argument definitions.
func (Bzip2Compress) Meta ¶
func (Bzip2Compress) Meta() core.OpMeta
Meta returns the operation metadata.
type Bzip2Decompress ¶
type Bzip2Decompress struct{}
Bzip2Decompress reads a bzip2 stream back into the bytes it was made from.
func (Bzip2Decompress) Args ¶
func (Bzip2Decompress) Args() []core.ArgDef
Args returns the argument definitions.
func (Bzip2Decompress) Meta ¶
func (Bzip2Decompress) Meta() core.OpMeta
Meta returns the operation metadata.
type CBORDecode ¶
type CBORDecode struct{}
CBORDecode deserializes CBOR (RFC 8949) into JSON.
CyberChef wraps the `cbor` library's Cbor.decodeFirstSync; this reproduces its value model: byte strings render as Node Buffers, string-keyed maps keep their order (non-string keys collapse to {}), integers beyond MAX_SAFE_INTEGER and bignum tags become BigInts that fail to serialise, and date tags 0/1 render as ISO strings.
func (CBORDecode) Args ¶
func (CBORDecode) Args() []core.ArgDef
Args returns the argument definitions.
type CBOREncode ¶
type CBOREncode struct{}
CBOREncode serializes JSON into canonical CBOR (RFC 8949).
CyberChef wraps the `cbor` npm library's Cbor.encodeCanonical; this is a port of its canonical rules: shortest integer/float forms (including half-precision and the negative-zero special case), the MAX_SAFE_INTEGER-to-float fallback, and length-first map key ordering.
func (CBOREncode) Args ¶
func (CBOREncode) Args() []core.ArgDef
Args returns the argument definitions.
type CMAC ¶
type CMAC struct{}
CMAC computes a block-cipher-based message authentication code (RFC 4493 / NIST SP 800-38B) using AES or Triple DES. Ported from CyberChef CMAC.mjs (which wraps node-forge for the cipher); the CMAC construction is the .mjs logic, over the standard crypto/aes and crypto/des primitives.
type CRCChecksum ¶
type CRCChecksum struct{}
CRCChecksum computes a Cyclic Redundancy Check. It follows CyberChef's CRCChecksum: ~170 named CRC variants plus a fully custom width/polynomial/ initialisation/reflection/xor configuration, using the Rocksoft parameterised model computed bit-by-bit over big integers (so arbitrary widths up to 82 bits work).
func (CRCChecksum) Args ¶
func (CRCChecksum) Args() []core.ArgDef
Args returns the argument definitions.
func (CRCChecksum) Meta ¶
func (CRCChecksum) Meta() core.OpMeta
Meta returns the operation metadata.
type CSSBeautify ¶
type CSSBeautify struct{}
CSSBeautify struct.
func (CSSBeautify) Args ¶
func (CSSBeautify) Args() []core.ArgDef
Args returns the argument definitions.
func (CSSBeautify) Meta ¶
func (CSSBeautify) Meta() core.OpMeta
Meta returns the operation metadata.
type CSSMinify ¶
type CSSMinify struct{}
CSSMinify struct.
type CSSSelector ¶
type CSSSelector struct{}
CSSSelector extracts information from an HTML document with a CSS selector. Ported from CyberChef CSSSelector.mjs, which wraps @xmldom/xmldom (a lenient XML DOM parser) and nwmatcher (a CSS3 selector engine): the matched nodes are serialized via the DOM's node.toString() and joined by a delimiter. cchef evaluates selection by translating the CSS selector to XPath (cssToXPath) over the parsed tree via antchfx/xpath, reproducing xmldom+nwmatcher's exact output.
Known minor divergences (all confined to inputs that essentially never occur in real, lowercase HTML):
- Selectors that combine a mixed/upper-case type with a structural pseudo (e.g. "P:first-child" against "<P>") hit an nwmatcher code path that is case-sensitive for XML documents; cchef stays case-insensitive.
- Serializing a namespace-prefixed element in isolation does not re-emit the ancestor's xmlns declaration.
- CSS identifier escapes (e.g. "x\:item") are unsupported and error.
func (CSSSelector) Args ¶
func (CSSSelector) Args() []core.ArgDef
Args returns the argument definitions.
func (CSSSelector) Meta ¶
func (CSSSelector) Meta() core.OpMeta
Meta returns the operation metadata.
type CSVToJSON ¶
type CSVToJSON struct{}
CSVToJSON converts CSV text into JSON. It ports CyberChef's operation: parse the CSV with Utils.parseCSV (shared with To Table), then shape the rows as either an array of arrays or an array of header-keyed dictionaries.
type CTPH ¶
type CTPH struct{}
CTPH computes a Context Triggered Piecewise Hash (fuzzy hash). Ported from CyberChef CTPH.mjs (which wraps the non-standard ctph.js package); the algorithm is reimplemented from that package to match its output.
type CaesarBoxCipher ¶
type CaesarBoxCipher struct{}
CaesarBoxCipher is a transposition cipher: the message is written row-by-row into a box of a given height and read back column-by-column.
func (CaesarBoxCipher) Args ¶
func (CaesarBoxCipher) Args() []core.ArgDef
Args returns the argument definitions.
func (CaesarBoxCipher) Meta ¶
func (CaesarBoxCipher) Meta() core.OpMeta
Meta returns the operation metadata.
type CaretMDecode ¶
type CaretMDecode struct{}
CaretMDecode decodes caret-notation and M-notation escapes (as produced by tools such as `cat -v`).
func (CaretMDecode) Args ¶
func (CaretMDecode) Args() []core.ArgDef
Args returns the argument definitions.
func (CaretMDecode) Meta ¶
func (CaretMDecode) Meta() core.OpMeta
Meta returns the operation metadata.
type CartesianProduct ¶
type CartesianProduct struct{}
CartesianProduct calculates the cartesian product of multiple sets.
func (CartesianProduct) Args ¶
func (CartesianProduct) Args() []core.ArgDef
Args returns the argument definitions.
func (CartesianProduct) Meta ¶
func (CartesianProduct) Meta() core.OpMeta
Meta returns the operation metadata.
type CetaceanCipherDecode ¶
type CetaceanCipherDecode struct{}
CetaceanCipherDecode reverses CetaceanCipherEncode: each 16-'e'/'E' group is read back as a 16-bit code unit ('e' is 1, anything else is 0).
func (CetaceanCipherDecode) Args ¶
func (CetaceanCipherDecode) Args() []core.ArgDef
Args returns the argument definitions.
func (CetaceanCipherDecode) Meta ¶
func (CetaceanCipherDecode) Meta() core.OpMeta
Meta returns the operation metadata.
type CetaceanCipherEncode ¶
type CetaceanCipherEncode struct{}
CetaceanCipherEncode encodes each UTF-16 code unit as its 16-bit binary representation, writing 'e' for a 1 bit and 'E' for a 0 bit.
func (CetaceanCipherEncode) Args ¶
func (CetaceanCipherEncode) Args() []core.ArgDef
Args returns the argument definitions.
func (CetaceanCipherEncode) Meta ¶
func (CetaceanCipherEncode) Meta() core.OpMeta
Meta returns the operation metadata.
type ChaCha ¶
type ChaCha struct{}
ChaCha is Daniel J. Bernstein's ChaCha stream cipher, in the parameterised form CyberChef ships: 16- or 32-byte key, 8- or 12-byte nonce (or an integer nonce), a counter, and 8/12/20 rounds.
type ChangeIPFormat ¶
type ChangeIPFormat struct{}
ChangeIPFormat converts IPv4 addresses between dotted-decimal, decimal, octal and hex representations.
func (ChangeIPFormat) Args ¶
func (ChangeIPFormat) Args() []core.ArgDef
Args returns the argument definitions.
func (ChangeIPFormat) Meta ¶
func (ChangeIPFormat) Meta() core.OpMeta
Meta returns the operation metadata.
type ChiSquare ¶
type ChiSquare struct{}
ChiSquare measures how far the byte distribution strays from a flat one.
type CipherSaber2Decrypt ¶
type CipherSaber2Decrypt struct{}
CipherSaber2Decrypt reverses CipherSaber2Encrypt: the first 10 input bytes are the IV and the remainder is the ciphertext.
func (CipherSaber2Decrypt) Args ¶
func (CipherSaber2Decrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (CipherSaber2Decrypt) Meta ¶
func (CipherSaber2Decrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type CipherSaber2Encrypt ¶
type CipherSaber2Encrypt struct{}
CipherSaber2Encrypt encrypts with the CipherSaber-2 protocol (RC4 keyed with the key followed by a random 10-byte IV, mixed over N rounds).
func (CipherSaber2Encrypt) Args ¶
func (CipherSaber2Encrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (CipherSaber2Encrypt) Meta ¶
func (CipherSaber2Encrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type CitrixCTX1Decode ¶
type CitrixCTX1Decode struct{}
CitrixCTX1Decode decodes a Citrix CTX1 password back to plaintext.
func (CitrixCTX1Decode) Args ¶
func (CitrixCTX1Decode) Args() []core.ArgDef
Args returns the argument definitions.
func (CitrixCTX1Decode) Meta ¶
func (CitrixCTX1Decode) Meta() core.OpMeta
Meta returns the operation metadata.
type CitrixCTX1Encode ¶
type CitrixCTX1Encode struct{}
CitrixCTX1Encode encodes a string to the Citrix CTX1 password format.
func (CitrixCTX1Encode) Args ¶
func (CitrixCTX1Encode) Args() []core.ArgDef
Args returns the argument definitions.
func (CitrixCTX1Encode) Meta ¶
func (CitrixCTX1Encode) Meta() core.OpMeta
Meta returns the operation metadata.
type Colossus ¶
type Colossus struct{}
Colossus emulates the WW2 Colossus codebreaking computer.
type Comment ¶
type Comment struct{}
Comment is a note in a recipe.
type CompareCTPHHashes ¶
type CompareCTPHHashes struct{}
CompareCTPHHashes compares two CTPH hashes, returning a 0–100 similarity.
func (CompareCTPHHashes) Args ¶
func (CompareCTPHHashes) Args() []core.ArgDef
Args returns the argument definitions.
func (CompareCTPHHashes) Meta ¶
func (CompareCTPHHashes) Meta() core.OpMeta
Meta returns the operation metadata.
type CompareSSDEEPHashes ¶
type CompareSSDEEPHashes struct{}
CompareSSDEEPHashes compares two SSDEEP hashes, returning a 0–100 similarity.
func (CompareSSDEEPHashes) Args ¶
func (CompareSSDEEPHashes) Args() []core.ArgDef
Args returns the argument definitions.
func (CompareSSDEEPHashes) Meta ¶
func (CompareSSDEEPHashes) Meta() core.OpMeta
Meta returns the operation metadata.
type ConditionalJump ¶
type ConditionalJump struct{}
ConditionalJump moves execution to a label when the data matches.
func (ConditionalJump) Args ¶
func (ConditionalJump) Args() []core.ArgDef
Args returns the test, whether to invert it, the label, and the jump allowance.
func (ConditionalJump) Meta ¶
func (ConditionalJump) Meta() core.OpMeta
Meta returns the operation metadata.
type ContainImage ¶
type ContainImage struct{}
ContainImage scales an image to fit within a bounding box, letterboxing it.
func (ContainImage) Args ¶
func (ContainImage) Args() []core.ArgDef
Args returns the argument definitions.
func (ContainImage) Meta ¶
func (ContainImage) Meta() core.OpMeta
Meta returns the operation metadata.
type ConvertCoordinateFormat ¶
type ConvertCoordinateFormat struct{}
ConvertCoordinateFormat converts geographic coordinates between formats.
func (ConvertCoordinateFormat) Args ¶
func (ConvertCoordinateFormat) Args() []core.ArgDef
Args returns the argument definitions.
func (ConvertCoordinateFormat) Meta ¶
func (ConvertCoordinateFormat) Meta() core.OpMeta
Meta returns the operation metadata.
type ConvertImageFormat ¶
type ConvertImageFormat struct{}
ConvertImageFormat re-encodes an image to a different format. Ported from CyberChef's Convert Image Format.
Reduced fidelity, by design: for lossless targets (PNG/BMP/TIFF) the pixels are identical to CyberChef but the encoded bytes differ (different encoders), and the PNG filter-type/deflate-level options do not affect the pixels (Go's PNG encoder doesn't expose the filter type; the deflate level only changes compression). JPEG output is lossy and re-encoded with Go's encoder, so it is an approximation.
func (ConvertImageFormat) Args ¶
func (ConvertImageFormat) Args() []core.ArgDef
Args returns the argument definitions.
func (ConvertImageFormat) Meta ¶
func (ConvertImageFormat) Meta() core.OpMeta
Meta returns the operation metadata.
type ConvertLeetSpeak ¶
type ConvertLeetSpeak struct{}
ConvertLeetSpeak converts text to and from leet speak.
func (ConvertLeetSpeak) Args ¶
func (ConvertLeetSpeak) Args() []core.ArgDef
Args returns the direction.
func (ConvertLeetSpeak) Meta ¶
func (ConvertLeetSpeak) Meta() core.OpMeta
Meta returns the operation metadata.
func (ConvertLeetSpeak) Run ¶
Run converts the input. Upstream's tables map every letter, but only six pairs differ from identity: a/e/i/o/s/t against 4/3/1/0/5/7. Going to leet either case of the letter becomes the digit; coming back the digit becomes the lowercase letter (leet digits carry no case to restore), and everything else — other digits, punctuation, anything beyond ASCII — passes through.
type ConvertToNATOAlphabet ¶
type ConvertToNATOAlphabet struct{}
ConvertToNATOAlphabet spells characters out in the NATO phonetic alphabet.
func (ConvertToNATOAlphabet) Args ¶
func (ConvertToNATOAlphabet) Args() []core.ArgDef
Args returns no arguments; the operation takes none.
func (ConvertToNATOAlphabet) Meta ¶
func (ConvertToNATOAlphabet) Meta() core.OpMeta
Meta returns the operation metadata.
type CountOccurrences ¶
type CountOccurrences struct{}
CountOccurrences counts how many times a search term appears.
func (CountOccurrences) Args ¶
func (CountOccurrences) Args() []core.ArgDef
Args returns the argument definitions.
func (CountOccurrences) Meta ¶
func (CountOccurrences) Meta() core.OpMeta
Meta returns the operation metadata.
type CoverImage ¶
type CoverImage struct{}
CoverImage scales an image to fill a box and crops the overflow.
func (CoverImage) Args ¶
func (CoverImage) Args() []core.ArgDef
Args returns the argument definitions.
type CropImage ¶
type CropImage struct{}
CropImage crops an image to a region, or auto-crops a uniform border.
type DESDecrypt ¶
type DESDecrypt struct{}
DESDecrypt decrypts DES ciphertext.
func (DESDecrypt) Args ¶
func (DESDecrypt) Args() []core.ArgDef
Args returns the argument definitions.
type DESEncrypt ¶
type DESEncrypt struct{}
DESEncrypt encrypts input with the DES block cipher.
func (DESEncrypt) Args ¶
func (DESEncrypt) Args() []core.ArgDef
Args returns the argument definitions.
type DNSOverHTTPS ¶
type DNSOverHTTPS struct{}
DNSOverHTTPS resolves a domain via a DNS-over-HTTPS resolver.
func (DNSOverHTTPS) Args ¶
func (DNSOverHTTPS) Args() []core.ArgDef
Args returns the argument definitions.
func (DNSOverHTTPS) Meta ¶
func (DNSOverHTTPS) Meta() core.OpMeta
Meta returns the operation metadata.
type DateTimeDelta ¶
type DateTimeDelta struct{}
DateTimeDelta adds or subtracts a time delta from a datetime string.
func (DateTimeDelta) Args ¶
func (DateTimeDelta) Args() []core.ArgDef
Args returns the argument definitions.
func (DateTimeDelta) Meta ¶
func (DateTimeDelta) Meta() core.OpMeta
Meta returns the operation metadata.
type DechunkHTTPResponse ¶
type DechunkHTTPResponse struct{}
DechunkHTTPResponse reassembles a chunked transfer-encoding HTTP body.
func (DechunkHTTPResponse) Args ¶
func (DechunkHTTPResponse) Args() []core.ArgDef
Args returns the argument definitions.
func (DechunkHTTPResponse) Meta ¶
func (DechunkHTTPResponse) Meta() core.OpMeta
Meta returns the operation metadata.
type DecodeNetBIOSName ¶
type DecodeNetBIOSName struct{}
DecodeNetBIOSName decodes a NetBIOS name (level-1 encoding).
func (DecodeNetBIOSName) Args ¶
func (DecodeNetBIOSName) Args() []core.ArgDef
Args returns the argument definitions.
func (DecodeNetBIOSName) Meta ¶
func (DecodeNetBIOSName) Meta() core.OpMeta
Meta returns the operation metadata.
type DecodeText ¶
type DecodeText struct{}
DecodeText decodes bytes from a chosen character encoding into text.
func (DecodeText) Args ¶
func (DecodeText) Args() []core.ArgDef
Args returns the argument definitions.
type DefangIPAddresses ¶
type DefangIPAddresses struct{}
DefangIPAddresses makes IP addresses safe by wrapping their separators.
func (DefangIPAddresses) Args ¶
func (DefangIPAddresses) Args() []core.ArgDef
Args returns the argument definitions.
func (DefangIPAddresses) Meta ¶
func (DefangIPAddresses) Meta() core.OpMeta
Meta returns the operation metadata.
type DefangURL ¶
type DefangURL struct{}
DefangURL makes URLs safe to share by neutralising them.
type DeriveEVPKey ¶
type DeriveEVPKey struct{}
DeriveEVPKey performs the OpenSSL EVP_BytesToKey password-based key derivation function (as implemented by crypto-js's EvpKDF).
func (DeriveEVPKey) Args ¶
func (DeriveEVPKey) Args() []core.ArgDef
Args returns the argument definitions.
func (DeriveEVPKey) Meta ¶
func (DeriveEVPKey) Meta() core.OpMeta
Meta returns the operation metadata.
type DeriveHKDFKey ¶
type DeriveHKDFKey struct{}
DeriveHKDFKey derives a key with the HMAC-based KDF from RFC 5869.
func (DeriveHKDFKey) Args ¶
func (DeriveHKDFKey) Args() []core.ArgDef
Args returns the argument definitions.
func (DeriveHKDFKey) Meta ¶
func (DeriveHKDFKey) Meta() core.OpMeta
Meta returns the operation metadata.
type DerivePBKDF2Key ¶
type DerivePBKDF2Key struct{}
DerivePBKDF2Key performs the PBKDF2 password-based key derivation function (PKCS #5 v2.0 / RFC 2898).
func (DerivePBKDF2Key) Args ¶
func (DerivePBKDF2Key) Args() []core.ArgDef
Args returns the argument definitions.
func (DerivePBKDF2Key) Meta ¶
func (DerivePBKDF2Key) Meta() core.OpMeta
Meta returns the operation metadata.
func (DerivePBKDF2Key) Run ¶
Run derives the key. Ported from CyberChef DerivePBKDF2Key.mjs (a wrapper over forge.pkcs5.pbkdf2). The operation ignores its input — the passphrase is the first argument.
forge in the browser uses pure-JS PBKDF2, which truncates the derived-key length toward zero: a key size that is not a multiple of 8 floors to keySizeBits/8 bytes (Go integer division floors identically), and a key size of zero or below yields an empty key.
type DetectFileType ¶
type DetectFileType struct{}
DetectFileType guesses the MIME type of the input from its magic bytes.
func (DetectFileType) Args ¶
func (DetectFileType) Args() []core.ArgDef
Args returns one boolean per signature category (all enabled by default).
func (DetectFileType) Meta ¶
func (DetectFileType) Meta() core.OpMeta
Meta returns the operation metadata.
type DisassembleARM ¶
type DisassembleARM struct{}
DisassembleARM translates ARM machine code into assembly language. CyberChef runs Capstone compiled to WebAssembly; cchef decodes with golang.org/x/arch, which is pure Go, and formats the result to Capstone's conventions so the output matches.
func (DisassembleARM) Args ¶
func (DisassembleARM) Args() []core.ArgDef
Args returns the argument definitions.
func (DisassembleARM) Meta ¶
func (DisassembleARM) Meta() core.OpMeta
Meta returns the operation metadata.
type DisassembleX86 ¶
type DisassembleX86 struct{}
DisassembleX86 translates x86 machine code into assembly language. Ported from CyberChef, which wraps Damian Recoskie's X86-64-Disassembler-JS (src/core/vendor/DisassembleX86-64.mjs, MIT). The port reproduces that engine rather than wrapping a Go disassembler so the output matches CyberChef exactly, down to its quirks: it predates ENDBR64, resolves RIP-relative operands to absolute addresses, and prints NaN where an instruction runs off the end of the input. Its opcode tables are vendored in x86tables/.
func (DisassembleX86) Args ¶
func (DisassembleX86) Args() []core.ArgDef
Args returns the argument definitions.
func (DisassembleX86) Meta ¶
func (DisassembleX86) Meta() core.OpMeta
Meta returns the operation metadata.
type DitherImage ¶
type DitherImage struct{}
DitherImage applies an ordered dither effect.
func (DitherImage) Args ¶
func (DitherImage) Args() []core.ArgDef
Args returns the argument definitions.
func (DitherImage) Meta ¶
func (DitherImage) Meta() core.OpMeta
Meta returns the operation metadata.
type DropBytes ¶
type DropBytes struct{}
DropBytes removes a range of bytes from the input.
type DropNthBytes ¶
type DropNthBytes struct{}
DropNthBytes drops every nth byte.
func (DropNthBytes) Args ¶
func (DropNthBytes) Args() []core.ArgDef
Args returns the argument definitions.
func (DropNthBytes) Meta ¶
func (DropNthBytes) Meta() core.OpMeta
Meta returns the operation metadata.
type ECDSASign ¶
type ECDSASign struct{}
ECDSASign signs a message with a PEM EC private key.
type ECDSASignatureConversion ¶
type ECDSASignatureConversion struct{}
ECDSASignatureConversion converts a signature between formats.
func (ECDSASignatureConversion) Args ¶
func (ECDSASignatureConversion) Args() []core.ArgDef
Args returns the argument definitions.
func (ECDSASignatureConversion) Meta ¶
func (ECDSASignatureConversion) Meta() core.OpMeta
Meta returns the operation metadata.
type ECDSAVerify ¶
type ECDSAVerify struct{}
ECDSAVerify verifies a signature against a message and a PEM EC public key.
func (ECDSAVerify) Args ¶
func (ECDSAVerify) Args() []core.ArgDef
Args returns the argument definitions.
func (ECDSAVerify) Meta ¶
func (ECDSAVerify) Meta() core.OpMeta
Meta returns the operation metadata.
type ELFInfo ¶
type ELFInfo struct{}
ELFInfo reports the header, program headers, section headers and symbol table of an ELF file.
type EncodeNetBIOSName ¶
type EncodeNetBIOSName struct{}
EncodeNetBIOSName encodes a NetBIOS name (level-1 encoding).
func (EncodeNetBIOSName) Args ¶
func (EncodeNetBIOSName) Args() []core.ArgDef
Args returns the argument definitions.
func (EncodeNetBIOSName) Meta ¶
func (EncodeNetBIOSName) Meta() core.OpMeta
Meta returns the operation metadata.
type EncodeText ¶
type EncodeText struct{}
EncodeText encodes text into a chosen character encoding.
func (EncodeText) Args ¶
func (EncodeText) Args() []core.ArgDef
Args returns the argument definitions.
type EscapeSmartCharacters ¶
type EscapeSmartCharacters struct{}
EscapeSmartCharacters converts typographic Unicode characters to their plain ASCII equivalents.
func (EscapeSmartCharacters) Args ¶
func (EscapeSmartCharacters) Args() []core.ArgDef
Args returns the argument definitions.
func (EscapeSmartCharacters) Meta ¶
func (EscapeSmartCharacters) Meta() core.OpMeta
Meta returns the operation metadata.
type EscapeString ¶
type EscapeString struct{}
EscapeString escapes special characters in a string. This is an in-repo implementation of the behaviour CyberChef gets from the jsesc library; it covers the documented options but is not guaranteed byte-identical to jsesc in every edge case.
func (EscapeString) Args ¶
func (EscapeString) Args() []core.ArgDef
Args returns the argument definitions.
func (EscapeString) Meta ¶
func (EscapeString) Meta() core.OpMeta
Meta returns the operation metadata.
type EscapeUnicodeCharacters ¶
type EscapeUnicodeCharacters struct{}
EscapeUnicodeCharacters converts characters to unicode-escaped notation.
func (EscapeUnicodeCharacters) Args ¶
func (EscapeUnicodeCharacters) Args() []core.ArgDef
Args returns the argument definitions.
func (EscapeUnicodeCharacters) Meta ¶
func (EscapeUnicodeCharacters) Meta() core.OpMeta
Meta returns the operation metadata.
type ExpandAlphabetRange ¶
type ExpandAlphabetRange struct{}
ExpandAlphabetRange expands an alphabet range specification.
func (ExpandAlphabetRange) Args ¶
func (ExpandAlphabetRange) Args() []core.ArgDef
Args returns the argument definitions.
func (ExpandAlphabetRange) Meta ¶
func (ExpandAlphabetRange) Meta() core.OpMeta
Meta returns the operation metadata.
type ExtendedGCD ¶
type ExtendedGCD struct{}
ExtendedGCD finds the greatest common divisor of two numbers along with the coefficients that express it.
func (ExtendedGCD) Args ¶
func (ExtendedGCD) Args() []core.ArgDef
Args returns the two values, either of which may be left blank to take it from the input instead.
func (ExtendedGCD) Meta ¶
func (ExtendedGCD) Meta() core.OpMeta
Meta returns the operation metadata.
type ExtractAudioMetadata ¶
type ExtractAudioMetadata struct{}
ExtractAudioMetadata reads the metadata out of an audio file.
func (ExtractAudioMetadata) Args ¶
func (ExtractAudioMetadata) Args() []core.ArgDef
Args returns the argument definitions.
func (ExtractAudioMetadata) Meta ¶
func (ExtractAudioMetadata) Meta() core.OpMeta
Meta returns the operation metadata.
type ExtractDates ¶
type ExtractDates struct{}
ExtractDates extracts dates in yyyy-mm-dd, dd/mm/yyyy and mm/dd/yyyy shapes.
func (ExtractDates) Args ¶
func (ExtractDates) Args() []core.ArgDef
Args returns the argument definitions.
func (ExtractDates) Meta ¶
func (ExtractDates) Meta() core.OpMeta
Meta returns the operation metadata.
type ExtractDomains ¶
type ExtractDomains struct{}
ExtractDomains pulls the fully qualified domain names out of the input.
func (ExtractDomains) Args ¶
func (ExtractDomains) Args() []core.ArgDef
Args returns the argument definitions.
func (ExtractDomains) Meta ¶
func (ExtractDomains) Meta() core.OpMeta
Meta returns the operation metadata.
type ExtractEXIF ¶
type ExtractEXIF struct{}
ExtractEXIF extracts EXIF metadata from an image.
func (ExtractEXIF) Args ¶
func (ExtractEXIF) Args() []core.ArgDef
Args returns the argument definitions.
func (ExtractEXIF) Meta ¶
func (ExtractEXIF) Meta() core.OpMeta
Meta returns the operation metadata.
type ExtractEmailAddresses ¶
type ExtractEmailAddresses struct{}
ExtractEmailAddresses pulls the email addresses out of the input.
func (ExtractEmailAddresses) Args ¶
func (ExtractEmailAddresses) Args() []core.ArgDef
Args returns the argument definitions.
func (ExtractEmailAddresses) Meta ¶
func (ExtractEmailAddresses) Meta() core.OpMeta
Meta returns the operation metadata.
type ExtractFilePaths ¶
type ExtractFilePaths struct{}
ExtractFilePaths pulls anything shaped like a file path out of the input.
func (ExtractFilePaths) Args ¶
func (ExtractFilePaths) Args() []core.ArgDef
Args returns the argument definitions.
func (ExtractFilePaths) Meta ¶
func (ExtractFilePaths) Meta() core.OpMeta
Meta returns the operation metadata.
type ExtractFiles ¶
type ExtractFiles struct{}
ExtractFiles carves embedded files out of a buffer.
func (ExtractFiles) Args ¶
func (ExtractFiles) Args() []core.ArgDef
Args returns the argument definitions: one switch per signature category, then whether to keep quiet about carves that fail and the size floor.
func (ExtractFiles) Meta ¶
func (ExtractFiles) Meta() core.OpMeta
Meta returns the operation metadata.
type ExtractHashes ¶
type ExtractHashes struct{}
ExtractHashes pulls runs of hexadecimal the length of a hash out of the input.
func (ExtractHashes) Args ¶
func (ExtractHashes) Args() []core.ArgDef
Args returns the argument definitions.
func (ExtractHashes) Meta ¶
func (ExtractHashes) Meta() core.OpMeta
Meta returns the operation metadata.
type ExtractID3 ¶
type ExtractID3 struct{}
ExtractID3 reads the ID3 metadata out of an MP3 file.
func (ExtractID3) Args ¶
func (ExtractID3) Args() []core.ArgDef
Args returns the argument definitions.
type ExtractIPAddresses ¶
type ExtractIPAddresses struct{}
ExtractIPAddresses pulls the IP addresses out of the input.
func (ExtractIPAddresses) Args ¶
func (ExtractIPAddresses) Args() []core.ArgDef
Args returns the argument definitions.
func (ExtractIPAddresses) Meta ¶
func (ExtractIPAddresses) Meta() core.OpMeta
Meta returns the operation metadata.
type ExtractLSB ¶
type ExtractLSB struct{}
ExtractLSB reads a chosen bit of chosen channels from every pixel of an image.
func (ExtractLSB) Args ¶
func (ExtractLSB) Args() []core.ArgDef
Args returns four colour patterns (the last three may be empty), the pixel order, and which bit to read.
type ExtractMACAddresses ¶
type ExtractMACAddresses struct{}
ExtractMACAddresses pulls the MAC addresses out of the input.
func (ExtractMACAddresses) Args ¶
func (ExtractMACAddresses) Args() []core.ArgDef
Args returns the argument definitions.
func (ExtractMACAddresses) Meta ¶
func (ExtractMACAddresses) Meta() core.OpMeta
Meta returns the operation metadata.
type ExtractRGBA ¶
type ExtractRGBA struct{}
ExtractRGBA lists every pixel's channel values.
func (ExtractRGBA) Args ¶
func (ExtractRGBA) Args() []core.ArgDef
Args returns the delimiter (any string, comma by default) and whether the alpha channel is included.
func (ExtractRGBA) Meta ¶
func (ExtractRGBA) Meta() core.OpMeta
Meta returns the operation metadata.
type ExtractURLs ¶
type ExtractURLs struct{}
ExtractURLs pulls the URLs out of the input.
func (ExtractURLs) Args ¶
func (ExtractURLs) Args() []core.ArgDef
Args returns the argument definitions.
func (ExtractURLs) Meta ¶
func (ExtractURLs) Meta() core.OpMeta
Meta returns the operation metadata.
type FernetDecrypt ¶
type FernetDecrypt struct{}
FernetDecrypt decrypts a Fernet token.
func (FernetDecrypt) Args ¶
func (FernetDecrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (FernetDecrypt) Meta ¶
func (FernetDecrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type FernetEncrypt ¶
type FernetEncrypt struct{}
FernetEncrypt encrypts input into a Fernet token.
func (FernetEncrypt) Args ¶
func (FernetEncrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (FernetEncrypt) Meta ¶
func (FernetEncrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type Filter ¶
type Filter struct{}
Filter keeps only the sections matching (or not matching) a regex.
type FindReplace ¶
type FindReplace struct{}
FindReplace replaces matches of a pattern with a replacement string.
func (FindReplace) Args ¶
func (FindReplace) Args() []core.ArgDef
Args returns the argument definitions.
func (FindReplace) Meta ¶
func (FindReplace) Meta() core.OpMeta
Meta returns the operation metadata.
type FlaskSessionDecode ¶
type FlaskSessionDecode struct{}
FlaskSessionDecode decodes a Flask session cookie payload into JSON.
func (FlaskSessionDecode) Args ¶
func (FlaskSessionDecode) Args() []core.ArgDef
Args returns the argument definitions.
func (FlaskSessionDecode) Meta ¶
func (FlaskSessionDecode) Meta() core.OpMeta
Meta returns the operation metadata.
type FlaskSessionSign ¶
type FlaskSessionSign struct{}
FlaskSessionSign signs a JSON payload into a Flask session cookie.
func (FlaskSessionSign) Args ¶
func (FlaskSessionSign) Args() []core.ArgDef
Args returns the argument definitions.
func (FlaskSessionSign) Meta ¶
func (FlaskSessionSign) Meta() core.OpMeta
Meta returns the operation metadata.
type FlaskSessionVerify ¶
type FlaskSessionVerify struct{}
FlaskSessionVerify verifies a Flask session cookie's HMAC signature.
func (FlaskSessionVerify) Args ¶
func (FlaskSessionVerify) Args() []core.ArgDef
Args returns the argument definitions.
func (FlaskSessionVerify) Meta ¶
func (FlaskSessionVerify) Meta() core.OpMeta
Meta returns the operation metadata.
type Fletcher8Checksum ¶
type Fletcher8Checksum struct{}
Fletcher8Checksum computes the 8-bit Fletcher checksum (two 4-bit sums mod 15).
func (Fletcher8Checksum) Args ¶
func (Fletcher8Checksum) Args() []core.ArgDef
Args returns the argument definitions.
func (Fletcher8Checksum) Meta ¶
func (Fletcher8Checksum) Meta() core.OpMeta
Meta returns the operation metadata.
type Fletcher16Checksum ¶
type Fletcher16Checksum struct{}
Fletcher16Checksum computes the 16-bit Fletcher checksum (two 8-bit sums mod 255).
func (Fletcher16Checksum) Args ¶
func (Fletcher16Checksum) Args() []core.ArgDef
Args returns the argument definitions.
func (Fletcher16Checksum) Meta ¶
func (Fletcher16Checksum) Meta() core.OpMeta
Meta returns the operation metadata.
type Fletcher32Checksum ¶
type Fletcher32Checksum struct{}
Fletcher32Checksum computes the 32-bit Fletcher checksum over 16-bit little-endian words (two 16-bit sums mod 65535).
func (Fletcher32Checksum) Args ¶
func (Fletcher32Checksum) Args() []core.ArgDef
Args returns the argument definitions.
func (Fletcher32Checksum) Meta ¶
func (Fletcher32Checksum) Meta() core.OpMeta
Meta returns the operation metadata.
type Fletcher64Checksum ¶
type Fletcher64Checksum struct{}
Fletcher64Checksum computes the 64-bit Fletcher checksum over 32-bit little-endian words (two 32-bit sums mod 2^32 − 1).
func (Fletcher64Checksum) Args ¶
func (Fletcher64Checksum) Args() []core.ArgDef
Args returns the argument definitions.
func (Fletcher64Checksum) Meta ¶
func (Fletcher64Checksum) Meta() core.OpMeta
Meta returns the operation metadata.
type FlipImage ¶
type FlipImage struct{}
FlipImage flips an image along its X or Y axis. Ported from CyberChef's Flip Image (Jimp's flip): each pixel is moved to the mirrored position.
type Fork ¶
type Fork struct{}
Fork splits the data and runs the rest of the recipe over each piece.
type FormatMACAddresses ¶
type FormatMACAddresses struct{}
FormatMACAddresses reformats MAC addresses into a variety of styles.
func (FormatMACAddresses) Args ¶
func (FormatMACAddresses) Args() []core.ArgDef
Args returns the argument definitions.
func (FormatMACAddresses) Meta ¶
func (FormatMACAddresses) Meta() core.OpMeta
Meta returns the operation metadata.
type FrequencyDistribution ¶
type FrequencyDistribution struct{}
FrequencyDistribution reports how often each byte value occurs.
func (FrequencyDistribution) Args ¶
func (FrequencyDistribution) Args() []core.ArgDef
Args returns the argument definitions.
func (FrequencyDistribution) Meta ¶
func (FrequencyDistribution) Meta() core.OpMeta
Meta returns the operation metadata.
type FromBCD ¶
type FromBCD struct{}
FromBCD decodes a Binary-Coded Decimal value into a decimal number.
type FromBase ¶
type FromBase struct{}
FromBase converts a string in the given radix to a decimal integer.
type FromBase32 ¶
type FromBase32 struct{}
FromBase32 decodes a Base32 string back into raw bytes.
func (FromBase32) Args ¶
func (FromBase32) Args() []core.ArgDef
Args returns the argument definitions.
type FromBase45 ¶
type FromBase45 struct{}
FromBase45 decodes a Base45 string back into raw bytes.
func (FromBase45) Args ¶
func (FromBase45) Args() []core.ArgDef
Args returns the argument definitions.
type FromBase58 ¶
type FromBase58 struct{}
FromBase58 decodes a Base58 string back into raw bytes.
func (FromBase58) Args ¶
func (FromBase58) Args() []core.ArgDef
Args returns the argument definitions.
type FromBase62 ¶
type FromBase62 struct{}
FromBase62 decodes a Base62 string back into raw bytes.
func (FromBase62) Args ¶
func (FromBase62) Args() []core.ArgDef
Args returns the argument definitions.
type FromBase64 ¶
type FromBase64 struct{}
FromBase64 decodes data from an ASCII Base64 string back into raw bytes.
func (FromBase64) Args ¶
func (FromBase64) Args() []core.ArgDef
Args returns the argument definitions.
type FromBase85 ¶
type FromBase85 struct{}
FromBase85 decodes a Base85 (Ascii85) string back into raw bytes.
func (FromBase85) Args ¶
func (FromBase85) Args() []core.ArgDef
Args returns the argument definitions.
type FromBase92 ¶
type FromBase92 struct{}
FromBase92 decodes a Base92 string back into raw bytes.
func (FromBase92) Args ¶
func (FromBase92) Args() []core.ArgDef
Args returns the argument definitions.
type FromBech32 ¶
type FromBech32 struct{}
FromBech32 decodes a Bech32/Bech32m string.
func (FromBech32) Args ¶
func (FromBech32) Args() []core.ArgDef
Args returns the argument definitions.
type FromBinary ¶
type FromBinary struct{}
FromBinary converts a binary string back into its raw byte value.
func (FromBinary) Args ¶
func (FromBinary) Args() []core.ArgDef
Args returns the argument definitions.
type FromBraille ¶
type FromBraille struct{}
FromBraille converts six-dot braille symbols to text.
func (FromBraille) Args ¶
func (FromBraille) Args() []core.ArgDef
Args returns the argument definitions.
func (FromBraille) Meta ¶
func (FromBraille) Meta() core.OpMeta
Meta returns the operation metadata.
type FromCOBS ¶
type FromCOBS struct{}
FromCOBS puts back the zero bytes COBS removed.
type FromCaseInsensitiveRegex ¶
type FromCaseInsensitiveRegex struct{}
FromCaseInsensitiveRegex collapses [lL] pairs back to a single letter.
func (FromCaseInsensitiveRegex) Args ¶
func (FromCaseInsensitiveRegex) Args() []core.ArgDef
Args returns the argument definitions.
func (FromCaseInsensitiveRegex) Meta ¶
func (FromCaseInsensitiveRegex) Meta() core.OpMeta
Meta returns the operation metadata.
type FromCharcode ¶
type FromCharcode struct{}
FromCharcode converts numeric character codes back into text.
func (FromCharcode) Args ¶
func (FromCharcode) Args() []core.ArgDef
Args returns the argument definitions.
func (FromCharcode) Meta ¶
func (FromCharcode) Meta() core.OpMeta
Meta returns the operation metadata.
type FromDecimal ¶
type FromDecimal struct{}
FromDecimal converts a delimited list of decimal values back into bytes.
func (FromDecimal) Args ¶
func (FromDecimal) Args() []core.ArgDef
Args returns the argument definitions.
func (FromDecimal) Meta ¶
func (FromDecimal) Meta() core.OpMeta
Meta returns the operation metadata.
type FromFloat ¶
type FromFloat struct{}
FromFloat converts decimal numbers into their IEEE754 byte representation.
type FromHTMLEntity ¶
type FromHTMLEntity struct{}
FromHTMLEntity converts HTML entities back into raw characters.
func (FromHTMLEntity) Args ¶
func (FromHTMLEntity) Args() []core.ArgDef
Args returns the argument definitions.
func (FromHTMLEntity) Meta ¶
func (FromHTMLEntity) Meta() core.OpMeta
Meta returns the operation metadata.
type FromHex ¶
type FromHex struct{}
FromHex converts a hexadecimal byte string back to its raw value.
type FromHexContent ¶
type FromHexContent struct{}
FromHexContent translates SNORT hex-content notation back to raw bytes (e.g. foo|3d|bar -> foo=bar).
func (FromHexContent) Args ¶
func (FromHexContent) Args() []core.ArgDef
Args returns the argument definitions.
func (FromHexContent) Meta ¶
func (FromHexContent) Meta() core.OpMeta
Meta returns the operation metadata.
type FromHexdump ¶
type FromHexdump struct{}
FromHexdump attempts to convert a hexdump back into raw data.
func (FromHexdump) Args ¶
func (FromHexdump) Args() []core.ArgDef
Args returns the argument definitions.
func (FromHexdump) Meta ¶
func (FromHexdump) Meta() core.OpMeta
Meta returns the operation metadata.
type FromMessagePack ¶
type FromMessagePack struct{}
FromMessagePack deserialises MessagePack into JSON.
CyberChef wraps the `notepack.io` library's decode; this reproduces its value model: byte strings render as Node Buffers, map keys are String()-coerced, integers beyond 2^53 lose precision to floats, undefined markers are omitted from objects, ext types render as [type, Buffer] and timestamp extensions become ISO date strings.
func (FromMessagePack) Args ¶
func (FromMessagePack) Args() []core.ArgDef
Args returns the argument definitions.
func (FromMessagePack) Meta ¶
func (FromMessagePack) Meta() core.OpMeta
Meta returns the operation metadata.
type FromModhex ¶
type FromModhex struct{}
FromModhex converts a modhex string back into its raw value.
func (FromModhex) Args ¶
func (FromModhex) Args() []core.ArgDef
Args returns the argument definitions.
type FromMorseCode ¶
type FromMorseCode struct{}
FromMorseCode translates Morse Code back into upper-case text.
func (FromMorseCode) Args ¶
func (FromMorseCode) Args() []core.ArgDef
Args returns the argument definitions.
func (FromMorseCode) Meta ¶
func (FromMorseCode) Meta() core.OpMeta
Meta returns the operation metadata.
type FromOctal ¶
type FromOctal struct{}
FromOctal converts an octal byte string back into its raw value.
type FromPunycode ¶
type FromPunycode struct{}
FromPunycode converts Punycode to Unicode.
CyberChef wraps punycode.js's decode (raw) and toUnicode (IDN); this is a RFC 3492 implementation serving both.
func (FromPunycode) Args ¶
func (FromPunycode) Args() []core.ArgDef
Args returns the argument definitions.
func (FromPunycode) Meta ¶
func (FromPunycode) Meta() core.OpMeta
Meta returns the operation metadata.
type FromQuotedPrintable ¶
type FromQuotedPrintable struct{}
FromQuotedPrintable decodes a Quoted-Printable string back into raw bytes.
func (FromQuotedPrintable) Args ¶
func (FromQuotedPrintable) Args() []core.ArgDef
Args returns the argument definitions.
func (FromQuotedPrintable) Meta ¶
func (FromQuotedPrintable) Meta() core.OpMeta
Meta returns the operation metadata.
type FromUNIXTimestamp ¶
type FromUNIXTimestamp struct{}
FromUNIXTimestamp renders a UNIX timestamp as a human-readable UTC datetime.
func (FromUNIXTimestamp) Args ¶
func (FromUNIXTimestamp) Args() []core.ArgDef
Args returns the argument definitions.
func (FromUNIXTimestamp) Meta ¶
func (FromUNIXTimestamp) Meta() core.OpMeta
Meta returns the operation metadata.
type FuzzyMatch ¶
type FuzzyMatch struct{}
FuzzyMatch performs a fuzzy search for a pattern within the input.
func (FuzzyMatch) Args ¶
func (FuzzyMatch) Args() []core.ArgDef
Args returns the argument definitions.
type GOSTDecrypt ¶
type GOSTDecrypt struct{}
GOSTDecrypt decrypts GOST ciphertext (Magma or Kuznyechik).
func (GOSTDecrypt) Args ¶
func (GOSTDecrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (GOSTDecrypt) Meta ¶
func (GOSTDecrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type GOSTEncrypt ¶
type GOSTEncrypt struct{}
GOSTEncrypt encrypts input with a GOST block cipher (Magma or Kuznyechik).
func (GOSTEncrypt) Args ¶
func (GOSTEncrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (GOSTEncrypt) Meta ¶
func (GOSTEncrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type GOSTKeyUnwrap ¶
type GOSTKeyUnwrap struct{}
GOSTKeyUnwrap decrypts a key wrapped with a GOST cipher.
func (GOSTKeyUnwrap) Args ¶
func (GOSTKeyUnwrap) Args() []core.ArgDef
Args returns the argument definitions.
func (GOSTKeyUnwrap) Meta ¶
func (GOSTKeyUnwrap) Meta() core.OpMeta
Meta returns the operation metadata.
type GOSTKeyWrap ¶
type GOSTKeyWrap struct{}
GOSTKeyWrap wraps a content-encryption key under a KEK using a GOST cipher.
func (GOSTKeyWrap) Args ¶
func (GOSTKeyWrap) Args() []core.ArgDef
Args returns the argument definitions.
func (GOSTKeyWrap) Meta ¶
func (GOSTKeyWrap) Meta() core.OpMeta
Meta returns the operation metadata.
type GOSTSign ¶
type GOSTSign struct{}
GOSTSign signs a message with a GOST block-cipher MAC (imitovstavka).
type GOSTVerify ¶
type GOSTVerify struct{}
GOSTVerify verifies a GOST block-cipher MAC against a message.
func (GOSTVerify) Args ¶
func (GOSTVerify) Args() []core.ArgDef
Args returns the argument definitions.
type GenerateAllChecksums ¶
type GenerateAllChecksums struct{}
GenerateAllChecksums runs every built-in checksum over the input and lists the results, in CyberChef's GenerateAllChecksums shape: the same ordered set of CRC variants plus the Fletcher and Adler-32 checksums, optionally filtered by bit width and labelled with aligned names.
func (GenerateAllChecksums) Args ¶
func (GenerateAllChecksums) Args() []core.ArgDef
Args returns the argument definitions.
func (GenerateAllChecksums) Meta ¶
func (GenerateAllChecksums) Meta() core.OpMeta
Meta returns the operation metadata.
type GenerateAllHashes ¶
type GenerateAllHashes struct{}
GenerateAllHashes runs every available hash and checksum over the input.
func (GenerateAllHashes) Args ¶
func (GenerateAllHashes) Args() []core.ArgDef
Args returns the argument definitions.
func (GenerateAllHashes) Meta ¶
func (GenerateAllHashes) Meta() core.OpMeta
Meta returns the operation metadata.
type GenerateDeBruijnSequence ¶
type GenerateDeBruijnSequence struct{}
GenerateDeBruijnSequence builds a De Bruijn sequence.
func (GenerateDeBruijnSequence) Args ¶
func (GenerateDeBruijnSequence) Args() []core.ArgDef
Args returns the argument definitions.
func (GenerateDeBruijnSequence) Meta ¶
func (GenerateDeBruijnSequence) Meta() core.OpMeta
Meta returns the operation metadata.
type GenerateECDSAKeyPair ¶
type GenerateECDSAKeyPair struct{}
GenerateECDSAKeyPair generates an EC key pair.
func (GenerateECDSAKeyPair) Args ¶
func (GenerateECDSAKeyPair) Args() []core.ArgDef
Args returns the argument definitions.
func (GenerateECDSAKeyPair) Meta ¶
func (GenerateECDSAKeyPair) Meta() core.OpMeta
Meta returns the operation metadata.
type GenerateHOTP ¶
type GenerateHOTP struct{}
GenerateHOTP works out a counter-based one-time password.
func (GenerateHOTP) Args ¶
func (GenerateHOTP) Args() []core.ArgDef
Args returns the argument definitions.
func (GenerateHOTP) Meta ¶
func (GenerateHOTP) Meta() core.OpMeta
Meta returns the operation metadata.
type GenerateImage ¶
type GenerateImage struct{}
GenerateImage builds an image whose pixels come from the input bytes.
func (GenerateImage) Args ¶
func (GenerateImage) Args() []core.ArgDef
Args returns the argument definitions.
func (GenerateImage) Meta ¶
func (GenerateImage) Meta() core.OpMeta
Meta returns the operation metadata.
type GenerateLoremIpsum ¶
type GenerateLoremIpsum struct{}
GenerateLoremIpsum makes placeholder text.
func (GenerateLoremIpsum) Args ¶
func (GenerateLoremIpsum) Args() []core.ArgDef
Args returns the argument definitions.
func (GenerateLoremIpsum) Meta ¶
func (GenerateLoremIpsum) Meta() core.OpMeta
Meta returns the operation metadata.
type GeneratePGPKeyPair ¶
type GeneratePGPKeyPair struct{}
GeneratePGPKeyPair generates a PGP key pair.
func (GeneratePGPKeyPair) Args ¶
func (GeneratePGPKeyPair) Args() []core.ArgDef
Args returns the argument definitions.
func (GeneratePGPKeyPair) Meta ¶
func (GeneratePGPKeyPair) Meta() core.OpMeta
Meta returns the operation metadata.
type GenerateQRCode ¶
type GenerateQRCode struct{}
GenerateQRCode renders the input as a QR code. Ported from CyberChef's Generate QR Code, which wraps the qr-image package; the vector renderers come from that package's vector.js and are byte-exact.
func (GenerateQRCode) Args ¶
func (GenerateQRCode) Args() []core.ArgDef
Args returns the argument definitions.
func (GenerateQRCode) Meta ¶
func (GenerateQRCode) Meta() core.OpMeta
Meta returns the operation metadata.
type GenerateRSAKeyPair ¶
type GenerateRSAKeyPair struct{}
GenerateRSAKeyPair generates an RSA key pair.
func (GenerateRSAKeyPair) Args ¶
func (GenerateRSAKeyPair) Args() []core.ArgDef
Args returns the argument definitions.
func (GenerateRSAKeyPair) Meta ¶
func (GenerateRSAKeyPair) Meta() core.OpMeta
Meta returns the operation metadata.
type GenerateTOTP ¶
type GenerateTOTP struct{}
GenerateTOTP works out a time-based one-time password.
func (GenerateTOTP) Args ¶
func (GenerateTOTP) Args() []core.ArgDef
Args returns the argument definitions.
func (GenerateTOTP) Meta ¶
func (GenerateTOTP) Meta() core.OpMeta
Meta returns the operation metadata.
type GenerateUUID ¶
type GenerateUUID struct{}
GenerateUUID makes a universally unique identifier.
func (GenerateUUID) Args ¶
func (GenerateUUID) Args() []core.ArgDef
Args returns the argument definitions.
func (GenerateUUID) Meta ¶
func (GenerateUUID) Meta() core.OpMeta
Meta returns the operation metadata.
type GenericCodeBeautify ¶
type GenericCodeBeautify struct{}
GenericCodeBeautify struct.
func (GenericCodeBeautify) Args ¶
func (GenericCodeBeautify) Args() []core.ArgDef
Args returns the argument definitions.
func (GenericCodeBeautify) Meta ¶
func (GenericCodeBeautify) Meta() core.OpMeta
Meta returns the operation metadata.
type GetAllCasings ¶
type GetAllCasings struct{}
GetAllCasings produces every combination of upper/lower casing of the input.
func (GetAllCasings) Args ¶
func (GetAllCasings) Args() []core.ArgDef
Args returns the argument definitions.
func (GetAllCasings) Meta ¶
func (GetAllCasings) Meta() core.OpMeta
Meta returns the operation metadata.
type GroupIPAddresses ¶
type GroupIPAddresses struct{}
GroupIPAddresses groups a list of IP addresses into their subnets.
func (GroupIPAddresses) Args ¶
func (GroupIPAddresses) Args() []core.ArgDef
Args returns the argument definitions.
func (GroupIPAddresses) Meta ¶
func (GroupIPAddresses) Meta() core.OpMeta
Meta returns the operation metadata.
type HASSHClientFingerprint ¶
type HASSHClientFingerprint struct{}
HASSHClientFingerprint generates a HASSH fingerprint from an SSH client Key Exchange Init message.
func (HASSHClientFingerprint) Args ¶
func (HASSHClientFingerprint) Args() []core.ArgDef
Args returns the argument definitions.
func (HASSHClientFingerprint) Meta ¶
func (HASSHClientFingerprint) Meta() core.OpMeta
Meta returns the operation metadata.
type HASSHServerFingerprint ¶
type HASSHServerFingerprint struct{}
HASSHServerFingerprint generates a HASSH fingerprint from an SSH server Key Exchange Init message.
func (HASSHServerFingerprint) Args ¶
func (HASSHServerFingerprint) Args() []core.ArgDef
Args returns the argument definitions.
func (HASSHServerFingerprint) Meta ¶
func (HASSHServerFingerprint) Meta() core.OpMeta
Meta returns the operation metadata.
type HTMLToText ¶
type HTMLToText struct{}
HTMLToText hands markup on as plain text.
In CyberChef this changes how a result is displayed rather than what it holds: the interface renders a value it has been told is HTML, and this operation passes the same value on as text so the markup is shown as it stands. Nothing renders anything at a command line, so here the input comes straight back.
func (HTMLToText) Args ¶
func (HTMLToText) Args() []core.ArgDef
Args returns the argument definitions.
type HTTPRequest ¶
type HTTPRequest struct{}
HTTPRequest makes an HTTP request and returns the response.
func (HTTPRequest) Args ¶
func (HTTPRequest) Args() []core.ArgDef
Args returns the argument definitions.
func (HTTPRequest) Meta ¶
func (HTTPRequest) Meta() core.OpMeta
Meta returns the operation metadata.
type HammingDistance ¶
type HammingDistance struct{}
HammingDistance computes the Hamming distance between two equal-length samples.
func (HammingDistance) Args ¶
func (HammingDistance) Args() []core.ArgDef
Args returns the argument definitions.
func (HammingDistance) Meta ¶
func (HammingDistance) Meta() core.OpMeta
Meta returns the operation metadata.
type HaversineDistance ¶
type HaversineDistance struct{}
HaversineDistance measures the distance between two points on the Earth.
func (HaversineDistance) Args ¶
func (HaversineDistance) Args() []core.ArgDef
Args returns the argument definitions.
func (HaversineDistance) Meta ¶
func (HaversineDistance) Meta() core.OpMeta
Meta returns the operation metadata.
type HeatmapChart ¶
type HeatmapChart struct{}
HeatmapChart bins two-variable data into a grid and shades each cell by how many points fall in it.
func (HeatmapChart) Args ¶
func (HeatmapChart) Args() []core.ArgDef
Args returns the argument definitions.
func (HeatmapChart) Meta ¶
func (HeatmapChart) Meta() core.OpMeta
Meta returns the operation metadata.
type HexDensityChart ¶
type HexDensityChart struct{}
HexDensityChart groups two-variable data into hexagonal cells and shades each by how many points it holds.
func (HexDensityChart) Args ¶
func (HexDensityChart) Args() []core.ArgDef
Args returns the argument definitions.
func (HexDensityChart) Meta ¶
func (HexDensityChart) Meta() core.OpMeta
Meta returns the operation metadata.
type HexToObjectIdentifier ¶
type HexToObjectIdentifier struct{}
HexToObjectIdentifier converts the hex of ASN.1 OID content octets back into dotted-decimal notation. Ported from CyberChef's HexToObjectIdentifier, which wraps jsrsasign's KJUR.asn1.ASN1Util.oidHexToInt after stripping whitespace.
func (HexToObjectIdentifier) Args ¶
func (HexToObjectIdentifier) Args() []core.ArgDef
Args returns the argument definitions.
func (HexToObjectIdentifier) Meta ¶
func (HexToObjectIdentifier) Meta() core.OpMeta
Meta returns the operation metadata.
type HexToPEM ¶
type HexToPEM struct{}
HexToPEM wraps a hex-encoded DER blob in PEM armor.
type IPv6TransitionAddresses ¶
type IPv6TransitionAddresses struct{}
IPv6TransitionAddresses converts between IPv4/MAC and IPv6 transition addresses.
func (IPv6TransitionAddresses) Args ¶
func (IPv6TransitionAddresses) Args() []core.ArgDef
Args returns the argument definitions.
func (IPv6TransitionAddresses) Meta ¶
func (IPv6TransitionAddresses) Meta() core.OpMeta
Meta returns the operation metadata.
type ImageBrightnessContrast ¶
type ImageBrightnessContrast struct{}
ImageBrightnessContrast adjusts image brightness and contrast.
func (ImageBrightnessContrast) Args ¶
func (ImageBrightnessContrast) Args() []core.ArgDef
Args returns the argument definitions.
func (ImageBrightnessContrast) Meta ¶
func (ImageBrightnessContrast) Meta() core.OpMeta
Meta returns the operation metadata.
type ImageFilter ¶
type ImageFilter struct{}
ImageFilter applies a greyscale or sepia filter to an image.
func (ImageFilter) Args ¶
func (ImageFilter) Args() []core.ArgDef
Args returns the argument definitions.
func (ImageFilter) Meta ¶
func (ImageFilter) Meta() core.OpMeta
Meta returns the operation metadata.
type ImageHueSaturationLightness ¶
type ImageHueSaturationLightness struct{}
ImageHueSaturationLightness adjusts an image's hue, saturation and lightness.
func (ImageHueSaturationLightness) Args ¶
func (ImageHueSaturationLightness) Args() []core.ArgDef
Args returns the argument definitions.
func (ImageHueSaturationLightness) Meta ¶
func (ImageHueSaturationLightness) Meta() core.OpMeta
Meta returns the operation metadata.
type ImageOpacity ¶
type ImageOpacity struct{}
ImageOpacity adjusts the opacity of an image. Ported from CyberChef's Image Opacity (Jimp's opacity): each pixel's alpha is multiplied by opacity/100.
func (ImageOpacity) Args ¶
func (ImageOpacity) Args() []core.ArgDef
Args returns the argument definitions.
func (ImageOpacity) Meta ¶
func (ImageOpacity) Meta() core.OpMeta
Meta returns the operation metadata.
type IndexOfCoincidence ¶
type IndexOfCoincidence struct{}
IndexOfCoincidence measures how often two letters drawn from the text are the same.
func (IndexOfCoincidence) Args ¶
func (IndexOfCoincidence) Args() []core.ArgDef
Args returns the argument definitions.
func (IndexOfCoincidence) Meta ¶
func (IndexOfCoincidence) Meta() core.OpMeta
Meta returns the operation metadata.
type InvertImage ¶
type InvertImage struct{}
InvertImage inverts the colours of an image. Ported from CyberChef's Invert Image (Jimp's invert): each RGB channel becomes 255-value; alpha is untouched.
func (InvertImage) Args ¶
func (InvertImage) Args() []core.ArgDef
Args returns the argument definitions.
func (InvertImage) Meta ¶
func (InvertImage) Meta() core.OpMeta
Meta returns the operation metadata.
type JA3Fingerprint ¶
type JA3Fingerprint struct{}
JA3Fingerprint generates a JA3 fingerprint from a TLS Client Hello.
func (JA3Fingerprint) Args ¶
func (JA3Fingerprint) Args() []core.ArgDef
Args returns the argument definitions.
func (JA3Fingerprint) Meta ¶
func (JA3Fingerprint) Meta() core.OpMeta
Meta returns the operation metadata.
type JA3SFingerprint ¶
type JA3SFingerprint struct{}
JA3SFingerprint generates a JA3S fingerprint from a TLS Server Hello.
func (JA3SFingerprint) Args ¶
func (JA3SFingerprint) Args() []core.ArgDef
Args returns the argument definitions.
func (JA3SFingerprint) Meta ¶
func (JA3SFingerprint) Meta() core.OpMeta
Meta returns the operation metadata.
type JA4Fingerprint ¶
type JA4Fingerprint struct{}
JA4Fingerprint generates a JA4 fingerprint from a TLS Client Hello.
func (JA4Fingerprint) Args ¶
func (JA4Fingerprint) Args() []core.ArgDef
Args returns the argument definitions.
func (JA4Fingerprint) Meta ¶
func (JA4Fingerprint) Meta() core.OpMeta
Meta returns the operation metadata.
type JA4ServerFingerprint ¶
type JA4ServerFingerprint struct{}
JA4ServerFingerprint generates a JA4S fingerprint from a TLS Server Hello.
func (JA4ServerFingerprint) Args ¶
func (JA4ServerFingerprint) Args() []core.ArgDef
Args returns the argument definitions.
func (JA4ServerFingerprint) Meta ¶
func (JA4ServerFingerprint) Meta() core.OpMeta
Meta returns the operation metadata.
type JPathExpression ¶
type JPathExpression struct{}
JPathExpression extracts information from a JSON object with a JSONPath query. Ported from CyberChef JPathExpression.mjs, which wraps the jsonpath-plus npm library. cchef reimplements the JSONPath evaluator over the order-preserving jsonvalue.go representation (jsonval.Object / []any) so matched values serialize byte-for-byte like jsonpath-plus's results.map(JSON.stringify).join(delimiter), including ECMAScript object key ordering.
Known minor divergences (all on degenerate inputs, compared with the oracle): a query with a trailing unterminated '[' errors here but is ignored by jsonpath-plus; a bare null document returns null here whereas jsonpath-plus throws an uncaught TypeError; and string-coercing an array/object inside a filter yields "" rather than JavaScript's comma-joined form.
func (JPathExpression) Args ¶
func (JPathExpression) Args() []core.ArgDef
Args returns the argument definitions.
func (JPathExpression) Meta ¶
func (JPathExpression) Meta() core.OpMeta
Meta returns the operation metadata.
type JSONBeautify ¶
type JSONBeautify struct{}
JSONBeautify indents and pretty-prints JSON. Ported from CyberChef JSONBeautify.mjs, which parses the input leniently with JSON5 and re-emits it with JSON.stringify(value, null, indent). cchef reproduces run()'s plain-string output over a JSON5 parser feeding the shared order-preserving JSON serialiser (jsonvalue.go).
The third argument (Formatted) is inert in cchef: it only controls CyberChef's browser present() view (a collapsible HTML tree), which the CLI does not produce. It is kept so recipes round-trip.
func (JSONBeautify) Args ¶
func (JSONBeautify) Args() []core.ArgDef
Args returns the argument definitions.
func (JSONBeautify) Meta ¶
func (JSONBeautify) Meta() core.OpMeta
Meta returns the operation metadata.
type JSONMinify ¶
type JSONMinify struct{}
JSONMinify struct.
func (JSONMinify) Args ¶
func (JSONMinify) Args() []core.ArgDef
Args returns the argument definitions.
type JSONToCSV ¶
type JSONToCSV struct{}
JSONToCSV converts JSON data into CSV (RFC 4180). It reproduces CyberChef's operation: a direct pass over an array of arrays or array of dictionaries, falling back to flattening nested structures into dotted keys (the `flat` npm library) and forcing remaining containers through JSON.stringify.
type JSONToYAML ¶
type JSONToYAML struct{}
JSONToYAML formats a JSON value as YAML.
func (JSONToYAML) Args ¶
func (JSONToYAML) Args() []core.ArgDef
Args returns the argument definitions.
type JWKToPEM ¶
type JWKToPEM struct{}
JWKToPEM converts JSON Web Keys (a single key, an array, or a JWK Set) into PEM: PKCS#8 for private keys, SPKI for public keys. Ported from CyberChef's JWKToPem.mjs (jsrsasign KEYUTIL.getPEM); only RSA and EC keys are supported, as upstream. Go's crypto/x509 marshaling is byte-identical to jsrsasign for these key types.
type JWTDecode ¶
type JWTDecode struct{}
JWTDecode decodes a JSON Web Token without verifying its signature.
type JWTVerify ¶
type JWTVerify struct{}
JWTVerify verifies a JSON Web Token's signature and returns its payload.
type JavaScriptBeautify ¶
type JavaScriptBeautify struct{}
JavaScriptBeautify parses JavaScript (or JSON) and pretty-prints it. Ported from CyberChef JavaScriptBeautify.mjs, which parses with esprima.parseScript and regenerates with escodegen; jsparse.Parse/jsparse.ParseFull and jsbeautify.Generate (jsbeautify_*.go) mirror those. With "Include comments" enabled, comments are collected with source ranges, attached to the AST (a port of estraverse.attachComments), and re-emitted.
func (JavaScriptBeautify) Args ¶
func (JavaScriptBeautify) Args() []core.ArgDef
Args returns the argument definitions.
func (JavaScriptBeautify) Meta ¶
func (JavaScriptBeautify) Meta() core.OpMeta
Meta returns the operation metadata.
type JavaScriptMinify ¶
type JavaScriptMinify struct{}
JavaScriptMinify compresses JavaScript code. CyberChef wraps the npm `terser` library; there is no logic to port, so this uses esbuild's minifier (pure Go, via github.com/evanw/esbuild/pkg/api) instead. The output is therefore NOT byte-identical to CyberChef's — esbuild and terser use different identifier manglers and compression passes — but is equivalently minified.
func (JavaScriptMinify) Args ¶
func (JavaScriptMinify) Args() []core.ArgDef
Args returns the argument definitions (none, matching CyberChef).
func (JavaScriptMinify) Meta ¶
func (JavaScriptMinify) Meta() core.OpMeta
Meta returns the operation metadata.
type JavaScriptParser ¶
type JavaScriptParser struct{}
JavaScriptParser returns the ESTree AST (as pretty JSON) for JavaScript code. Ported from CyberChef JavaScriptParser.mjs, which wraps esprima.parseScript; the parser mirrors esprima (see jsparser_*.go). The full script grammar is supported byte-for-byte — including classes, async/await, generators/yield, destructuring, and Unicode identifiers. Only the output-shaping options (loc/range/tokens/comment/tolerant) are not yet ported and raise an error rather than diverging. (import/export are syntax errors in script mode, matching esprima.)
func (JavaScriptParser) Args ¶
func (JavaScriptParser) Args() []core.ArgDef
Args returns the argument definitions.
func (JavaScriptParser) Meta ¶
func (JavaScriptParser) Meta() core.OpMeta
Meta returns the operation metadata.
type Jq ¶
type Jq struct{}
Jq processes the JSON input with a jq query. Ported from CyberChef Jq.mjs, which wraps jq-web (jq compiled to WASM); cchef reimplements it over gojq, a pure-Go jq. It reproduces jq-web's jq.json() collapse of jq's output stream: zero results is an error, a single result is returned directly, and multiple results become a JSON array. The value is then printed raw (when Raw is set and the result is a string) or serialized like JSON.stringify.
type JsonataQuery ¶
type JsonataQuery struct{}
JsonataQuery reshapes a JSON document with a JSONata expression.
func (JsonataQuery) Args ¶
func (JsonataQuery) Args() []core.ArgDef
Args returns the argument definitions.
func (JsonataQuery) Meta ¶
func (JsonataQuery) Meta() core.OpMeta
Meta returns the operation metadata.
type Jump ¶
type Jump struct{}
Jump moves execution to a label.
type Keccak ¶
type Keccak struct{}
Keccak computes a legacy Keccak digest (as used by e.g. Ethereum), which differs from SHA-3 in its padding.
type LMHash ¶
type LMHash struct{}
LMHash computes an LM (LAN Manager) hash. Ported from CyberChef LMHash.mjs (which wraps the ntlm npm package); the algorithm is implemented in-repo using the standard crypto/des primitive.
type LS47Decrypt ¶
type LS47Decrypt struct{}
LS47Decrypt decrypts with the LS47 cipher.
func (LS47Decrypt) Args ¶
func (LS47Decrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (LS47Decrypt) Meta ¶
func (LS47Decrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type LS47Encrypt ¶
type LS47Encrypt struct{}
LS47Encrypt encrypts with the LS47 cipher.
func (LS47Encrypt) Args ¶
func (LS47Encrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (LS47Encrypt) Meta ¶
func (LS47Encrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type LZ4Compress ¶
type LZ4Compress struct{}
LZ4Compress compresses the input into an LZ4 frame.
func (LZ4Compress) Args ¶
func (LZ4Compress) Args() []core.ArgDef
Args returns the argument definitions.
func (LZ4Compress) Meta ¶
func (LZ4Compress) Meta() core.OpMeta
Meta returns the operation metadata.
type LZ4Decompress ¶
type LZ4Decompress struct{}
LZ4Decompress reads an LZ4 frame back into the bytes it was made from.
func (LZ4Decompress) Args ¶
func (LZ4Decompress) Args() []core.ArgDef
Args returns the argument definitions.
func (LZ4Decompress) Meta ¶
func (LZ4Decompress) Meta() core.OpMeta
Meta returns the operation metadata.
type LZMACompress ¶
type LZMACompress struct{}
LZMACompress compresses the input into an LZMA stream.
func (LZMACompress) Args ¶
func (LZMACompress) Args() []core.ArgDef
Args returns the argument definitions.
func (LZMACompress) Meta ¶
func (LZMACompress) Meta() core.OpMeta
Meta returns the operation metadata.
type LZMADecompress ¶
type LZMADecompress struct{}
LZMADecompress reads an LZMA stream back into the bytes it was made from.
func (LZMADecompress) Args ¶
func (LZMADecompress) Args() []core.ArgDef
Args returns the argument definitions.
func (LZMADecompress) Meta ¶
func (LZMADecompress) Meta() core.OpMeta
Meta returns the operation metadata.
type LZNT1Decompress ¶
type LZNT1Decompress struct{}
LZNT1Decompress reads an LZNT1 stream back into the bytes it was made from.
func (LZNT1Decompress) Args ¶
func (LZNT1Decompress) Args() []core.ArgDef
Args returns the argument definitions.
func (LZNT1Decompress) Meta ¶
func (LZNT1Decompress) Meta() core.OpMeta
Meta returns the operation metadata.
type LZStringCompress ¶
type LZStringCompress struct{}
LZStringCompress compresses text with lz-string.
func (LZStringCompress) Args ¶
func (LZStringCompress) Args() []core.ArgDef
Args returns the argument definitions.
func (LZStringCompress) Meta ¶
func (LZStringCompress) Meta() core.OpMeta
Meta returns the operation metadata.
type LZStringDecompress ¶
type LZStringDecompress struct{}
LZStringDecompress reads text back out of an lz-string stream.
func (LZStringDecompress) Args ¶
func (LZStringDecompress) Args() []core.ArgDef
Args returns the argument definitions.
func (LZStringDecompress) Meta ¶
func (LZStringDecompress) Meta() core.OpMeta
Meta returns the operation metadata.
type Label ¶
type Label struct{}
Label marks a place in a recipe for a jump to return to.
type LevenshteinDistance ¶
type LevenshteinDistance struct{}
LevenshteinDistance computes the weighted edit distance between two samples.
func (LevenshteinDistance) Args ¶
func (LevenshteinDistance) Args() []core.ArgDef
Args returns the argument definitions.
func (LevenshteinDistance) Meta ¶
func (LevenshteinDistance) Meta() core.OpMeta
Meta returns the operation metadata.
type Lorenz ¶
type Lorenz struct{}
Lorenz emulates the Lorenz SZ40/42 cipher attachment.
type LuhnChecksum ¶
type LuhnChecksum struct{}
LuhnChecksum computes the Luhn mod-N checksum, check digit, and the validated string.
func (LuhnChecksum) Args ¶
func (LuhnChecksum) Args() []core.ArgDef
Args returns the argument definitions.
func (LuhnChecksum) Meta ¶
func (LuhnChecksum) Meta() core.OpMeta
Meta returns the operation metadata.
type MD6 ¶
type MD6 struct{}
MD6 computes the MD6 hash. Ported from CyberChef MD6.mjs (which wraps the self-contained node-md6 package); the algorithm is reimplemented from that package, which is a standard MD6 implementation.
type MIMEDecoding ¶
type MIMEDecoding struct{}
MIMEDecoding decodes RFC 2047 MIME encoded-word header extensions.
func (MIMEDecoding) Args ¶
func (MIMEDecoding) Args() []core.ArgDef
Args returns the argument definitions.
func (MIMEDecoding) Meta ¶
func (MIMEDecoding) Meta() core.OpMeta
Meta returns the operation metadata.
type MOD ¶
type MOD struct{}
MOD reduces every number in a list by a modulus.
type Magic ¶
type Magic struct{}
Magic detects what data might be and suggests recipes to make sense of it.
type Merge ¶
type Merge struct{}
Merge closes a Fork or Subsection.
type MicrosoftScriptDecoder ¶
type MicrosoftScriptDecoder struct{}
MicrosoftScriptDecoder struct.
func (MicrosoftScriptDecoder) Args ¶
func (MicrosoftScriptDecoder) Args() []core.ArgDef
Args returns the argument definitions.
func (MicrosoftScriptDecoder) Meta ¶
func (MicrosoftScriptDecoder) Meta() core.OpMeta
Meta returns the operation metadata.
type ModularExponentiation ¶ added in v1.1.0
type ModularExponentiation struct{}
ModularExponentiation raises a base to an exponent modulo a modulus.
func (ModularExponentiation) Args ¶ added in v1.1.0
func (ModularExponentiation) Args() []core.ArgDef
Args returns the argument definitions.
func (ModularExponentiation) Meta ¶ added in v1.1.0
func (ModularExponentiation) Meta() core.OpMeta
Meta returns the operation metadata.
type ModularInverse ¶
type ModularInverse struct{}
ModularInverse finds the number that multiplies with a to give one, modulo m.
func (ModularInverse) Args ¶
func (ModularInverse) Args() []core.ArgDef
Args returns the value and the modulus, either of which may be left blank to take it from the input instead.
func (ModularInverse) Meta ¶
func (ModularInverse) Meta() core.OpMeta
Meta returns the operation metadata.
type MultipleBombe ¶
type MultipleBombe struct{}
MultipleBombe runs the Bombe over many rotor configurations.
func (MultipleBombe) Args ¶
func (MultipleBombe) Args() []core.ArgDef
Args returns the argument definitions.
func (MultipleBombe) Meta ¶
func (MultipleBombe) Meta() core.OpMeta
Meta returns the operation metadata.
type MurmurHash3 ¶
type MurmurHash3 struct{}
MurmurHash3 computes the 32-bit MurmurHash v3 (x86_32 variant) of the input, with an optional seed. Ported from CyberChef's MurmurHash3 (based on Gary Court's murmurhash-js): each input character contributes its low byte, and the result is returned as an unsigned (or optionally signed) 32-bit integer.
func (MurmurHash3) Args ¶
func (MurmurHash3) Args() []core.ArgDef
Args returns the argument definitions.
func (MurmurHash3) Meta ¶
func (MurmurHash3) Meta() core.OpMeta
Meta returns the operation metadata.
type NTHash ¶
type NTHash struct{}
NTHash computes an NT (NTLM) hash: MD4 over the UTF-16LE-encoded input.
type NormaliseImage ¶
type NormaliseImage struct{}
NormaliseImage stretches each colour channel to the full 0-255 range.
func (NormaliseImage) Args ¶
func (NormaliseImage) Args() []core.ArgDef
Args returns the argument definitions.
func (NormaliseImage) Meta ¶
func (NormaliseImage) Meta() core.OpMeta
Meta returns the operation metadata.
type NormaliseUnicode ¶
type NormaliseUnicode struct{}
NormaliseUnicode transforms text to one of the Unicode Normalisation Forms.
func (NormaliseUnicode) Args ¶
func (NormaliseUnicode) Args() []core.ArgDef
Args returns the argument definitions.
func (NormaliseUnicode) Meta ¶
func (NormaliseUnicode) Meta() core.OpMeta
Meta returns the operation metadata.
type Numberwang ¶
type Numberwang struct{}
Numberwang plays Numberwang.
func (Numberwang) Args ¶
func (Numberwang) Args() []core.ArgDef
Args returns the argument definitions.
type ObjectIdentifierToHex ¶
type ObjectIdentifierToHex struct{}
ObjectIdentifierToHex converts a dotted-decimal OID into the hex of its ASN.1 content octets. Ported from CyberChef's ObjectIdentifierToHex, which wraps jsrsasign's KJUR.asn1.ASN1Util.oidIntToHex.
func (ObjectIdentifierToHex) Args ¶
func (ObjectIdentifierToHex) Args() []core.ArgDef
Args returns the argument definitions.
func (ObjectIdentifierToHex) Meta ¶
func (ObjectIdentifierToHex) Meta() core.OpMeta
Meta returns the operation metadata.
type OffsetChecker ¶
type OffsetChecker struct{}
OffsetChecker highlights the offsets that are common across all samples.
func (OffsetChecker) Args ¶
func (OffsetChecker) Args() []core.ArgDef
Args returns the argument definitions.
func (OffsetChecker) Meta ¶
func (OffsetChecker) Meta() core.OpMeta
Meta returns the operation metadata.
type OpticalCharacterRecognition ¶
type OpticalCharacterRecognition struct{}
OpticalCharacterRecognition reads text out of an image. cchef drives the locally installed `tesseract` binary instead: the only cgo-free Go bindings run Tesseract under a WebAssembly runtime, and the one library doing so is unmaintained, so shelling out is what keeps cchef a single static binary. Same engine and language data, so the recognised text matches.
func (OpticalCharacterRecognition) Args ¶
func (OpticalCharacterRecognition) Args() []core.ArgDef
Args returns the argument definitions.
func (OpticalCharacterRecognition) Meta ¶
func (OpticalCharacterRecognition) Meta() core.OpMeta
Meta returns the operation metadata.
type PEMToHex ¶
type PEMToHex struct{}
PEMToHex extracts the DER content of PEM blocks as a hex string.
type PEMToJWK ¶
type PEMToJWK struct{}
PEMToJWK converts PEM keys and certificates to JSON Web Key format. Ported from CyberChef's PEMToJWK.mjs (jsrsasign KEYUTIL.getJWKFromKey): each PEM block is scanned out, parsed, and emitted as a compact JWK; multiple keys are newline-separated. Only RSA and EC keys are supported, as upstream.
type PGPDecrypt ¶
type PGPDecrypt struct{}
PGPDecrypt decrypts a message with the recipient's private key.
func (PGPDecrypt) Args ¶
func (PGPDecrypt) Args() []core.ArgDef
Args returns the argument definitions.
type PGPDecryptAndVerify ¶
type PGPDecryptAndVerify struct{}
PGPDecryptAndVerify decrypts and verifies a message.
func (PGPDecryptAndVerify) Args ¶
func (PGPDecryptAndVerify) Args() []core.ArgDef
Args returns the argument definitions.
func (PGPDecryptAndVerify) Meta ¶
func (PGPDecryptAndVerify) Meta() core.OpMeta
Meta returns the operation metadata.
type PGPEncrypt ¶
type PGPEncrypt struct{}
PGPEncrypt encrypts a message with a recipient's public key.
func (PGPEncrypt) Args ¶
func (PGPEncrypt) Args() []core.ArgDef
Args returns the argument definitions.
type PGPEncryptAndSign ¶
type PGPEncryptAndSign struct{}
PGPEncryptAndSign encrypts and signs a message.
func (PGPEncryptAndSign) Args ¶
func (PGPEncryptAndSign) Args() []core.ArgDef
Args returns the argument definitions.
func (PGPEncryptAndSign) Meta ¶
func (PGPEncryptAndSign) Meta() core.OpMeta
Meta returns the operation metadata.
type PGPVerify ¶
type PGPVerify struct{}
PGPVerify verifies a signed message with the signer's public key.
type PHPDeserialize ¶
type PHPDeserialize struct{}
PHPDeserialize struct.
func (PHPDeserialize) Args ¶
func (PHPDeserialize) Args() []core.ArgDef
Args returns the argument definitions.
func (PHPDeserialize) Meta ¶
func (PHPDeserialize) Meta() core.OpMeta
Meta returns the operation metadata.
type PHPSerialize ¶
type PHPSerialize struct{}
PHPSerialize struct.
func (PHPSerialize) Args ¶
func (PHPSerialize) Args() []core.ArgDef
Args returns the argument definitions.
func (PHPSerialize) Meta ¶
func (PHPSerialize) Meta() core.OpMeta
Meta returns the operation metadata.
type PRESENTDecrypt ¶
type PRESENTDecrypt struct{}
PRESENTDecrypt decrypts PRESENT ciphertext.
func (PRESENTDecrypt) Args ¶
func (PRESENTDecrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (PRESENTDecrypt) Meta ¶
func (PRESENTDecrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type PRESENTEncrypt ¶
type PRESENTEncrypt struct{}
PRESENTEncrypt encrypts input with the PRESENT block cipher.
func (PRESENTEncrypt) Args ¶
func (PRESENTEncrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (PRESENTEncrypt) Meta ¶
func (PRESENTEncrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type PadLines ¶
type PadLines struct{}
PadLines pads each line at the start or end by a number of characters.
type ParityBit ¶
type ParityBit struct{}
ParityBit adds or removes a parity bit on a string of binary digits. Ported from CyberChef's ParityBit operation (and its lib/ParityBit.mjs helpers): with a delimiter set, each delimited token is handled independently.
type ParseASN1HexString ¶
type ParseASN1HexString struct{}
ParseASN1HexString parses ASN.1 data given as a hex string into a text tree. It follows jsrsasign's ASN1HEX.dump (the library CyberChef's "Parse ASN.1 hex string" operation wraps): a recursive walk over BER/DER Type-Length-Value structures producing an indented, human-readable dump.
func (ParseASN1HexString) Args ¶
func (ParseASN1HexString) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseASN1HexString) Meta ¶
func (ParseASN1HexString) Meta() core.OpMeta
Meta returns the operation metadata.
type ParseCSR ¶
type ParseCSR struct{}
ParseCSR renders a Certificate Signing Request in a human-readable form, ported from CyberChef's ParseCSR.mjs (jsrsasign CSRUtil.getParam). The request is walked directly over its DER hex using the shared asn1* helpers.
type ParseColourCode ¶
type ParseColourCode struct{}
ParseColourCode parses a colour (hex/rgb/hsl/cmyk) and converts between formats.
func (ParseColourCode) Args ¶
func (ParseColourCode) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseColourCode) Meta ¶
func (ParseColourCode) Meta() core.OpMeta
Meta returns the operation metadata.
type ParseDateTime ¶
type ParseDateTime struct{}
ParseDateTime parses a datetime string and reports its components.
func (ParseDateTime) Args ¶
func (ParseDateTime) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseDateTime) Meta ¶
func (ParseDateTime) Meta() core.OpMeta
Meta returns the operation metadata.
type ParseEthernetFrame ¶
type ParseEthernetFrame struct{}
ParseEthernetFrame parses an Ethernet II frame, including VLAN tags.
func (ParseEthernetFrame) Args ¶
func (ParseEthernetFrame) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseEthernetFrame) Meta ¶
func (ParseEthernetFrame) Meta() core.OpMeta
Meta returns the operation metadata.
type ParseIPRange ¶
type ParseIPRange struct{}
ParseIPRange enumerates and describes an IPv4/IPv6 CIDR, hyphenated range, or list of addresses.
func (ParseIPRange) Args ¶
func (ParseIPRange) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseIPRange) Meta ¶
func (ParseIPRange) Meta() core.OpMeta
Meta returns the operation metadata.
type ParseIPv4Header ¶
type ParseIPv4Header struct{}
ParseIPv4Header parses an IPv4 header, rendering it as a table or extracting the payload.
func (ParseIPv4Header) Args ¶
func (ParseIPv4Header) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseIPv4Header) Meta ¶
func (ParseIPv4Header) Meta() core.OpMeta
Meta returns the operation metadata.
type ParseIPv6Address ¶
type ParseIPv6Address struct{}
ParseIPv6Address parses an IPv6 address and reports its type and details.
func (ParseIPv6Address) Args ¶
func (ParseIPv6Address) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseIPv6Address) Meta ¶
func (ParseIPv6Address) Meta() core.OpMeta
Meta returns the operation metadata.
type ParseObjectIDTimestamp ¶
type ParseObjectIDTimestamp struct{}
ParseObjectIDTimestamp extracts the embedded timestamp from a MongoDB ObjectID.
func (ParseObjectIDTimestamp) Args ¶
func (ParseObjectIDTimestamp) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseObjectIDTimestamp) Meta ¶
func (ParseObjectIDTimestamp) Meta() core.OpMeta
Meta returns the operation metadata.
type ParseQRCode ¶
type ParseQRCode struct{}
ParseQRCode reads a QR code out of an image. Ported from CyberChef's Parse QR Code, which preprocesses with Jimp and reads with jsQR.
func (ParseQRCode) Args ¶
func (ParseQRCode) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseQRCode) Meta ¶
func (ParseQRCode) Meta() core.OpMeta
Meta returns the operation metadata.
type ParseSSHHostKey ¶
type ParseSSHHostKey struct{}
ParseSSHHostKey parses an SSH host key into its type and parameters.
func (ParseSSHHostKey) Args ¶
func (ParseSSHHostKey) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseSSHHostKey) Meta ¶
func (ParseSSHHostKey) Meta() core.OpMeta
Meta returns the operation metadata.
type ParseTCP ¶
type ParseTCP struct{}
ParseTCP parses a TCP segment header (and options) into a JSON object.
type ParseTLSRecord ¶
type ParseTLSRecord struct{}
ParseTLSRecord parses one or more raw TLS records into structured JSON.
func (ParseTLSRecord) Args ¶
func (ParseTLSRecord) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseTLSRecord) Meta ¶
func (ParseTLSRecord) Meta() core.OpMeta
Meta returns the operation metadata.
type ParseTLV ¶
type ParseTLV struct{}
ParseTLV converts a Type-Length-Value encoded string into JSON.
type ParseUNIXFilePermissions ¶
type ParseUNIXFilePermissions struct{}
ParseUNIXFilePermissions describes a UNIX permission string (octal or textual).
func (ParseUNIXFilePermissions) Args ¶
func (ParseUNIXFilePermissions) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseUNIXFilePermissions) Meta ¶
func (ParseUNIXFilePermissions) Meta() core.OpMeta
Meta returns the operation metadata.
type ParseUserAgent ¶
type ParseUserAgent struct{}
ParseUserAgent identifies the browser, device, engine, OS and CPU described by a user-agent string.
func (ParseUserAgent) Args ¶
func (ParseUserAgent) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseUserAgent) Meta ¶
func (ParseUserAgent) Meta() core.OpMeta
Meta returns the operation metadata.
type ParseX509CRL ¶
type ParseX509CRL struct{}
ParseX509CRL parses a Certificate Revocation List into a human-readable dump. The container is walked directly over its DER hex using the shared asn1* helpers.
func (ParseX509CRL) Args ¶
func (ParseX509CRL) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseX509CRL) Meta ¶
func (ParseX509CRL) Meta() core.OpMeta
Meta returns the operation metadata.
type ParseX509Certificate ¶
type ParseX509Certificate struct{}
ParseX509Certificate renders an X.509 certificate in an openssl-like human readable form. The certificate is walked directly over its DER hex.
func (ParseX509Certificate) Args ¶
func (ParseX509Certificate) Args() []core.ArgDef
Args returns the argument definitions.
func (ParseX509Certificate) Meta ¶
func (ParseX509Certificate) Meta() core.OpMeta
Meta returns the operation metadata.
type PlayMedia ¶
type PlayMedia struct{}
PlayMedia validates that the input is an audio or video file and passes the bytes through. Ported from CyberChef PlayMedia.mjs, whose browser <audio>/ <video> presentation is dropped; cchef offers Raw or base64 data-URI output.
type PlistViewer ¶
type PlistViewer struct{}
PlistViewer lays a property list out in a form that can be read.
func (PlistViewer) Args ¶
func (PlistViewer) Args() []core.ArgDef
Args returns the argument definitions.
func (PlistViewer) Meta ¶
func (PlistViewer) Meta() core.OpMeta
Meta returns the operation metadata.
type ProtobufDecode ¶
type ProtobufDecode struct{}
ProtobufDecode decodes protobuf wire data to JSON, with or without a schema.
func (ProtobufDecode) Args ¶
func (ProtobufDecode) Args() []core.ArgDef
Args returns the argument definitions.
func (ProtobufDecode) Meta ¶
func (ProtobufDecode) Meta() core.OpMeta
Meta returns the operation metadata.
type ProtobufEncode ¶
type ProtobufEncode struct{}
ProtobufEncode encodes a JSON object into protobuf wire data using a schema.
func (ProtobufEncode) Args ¶
func (ProtobufEncode) Args() []core.ArgDef
Args returns the argument definitions.
func (ProtobufEncode) Meta ¶
func (ProtobufEncode) Meta() core.OpMeta
Meta returns the operation metadata.
type PseudoRandomIntegerGenerator ¶
type PseudoRandomIntegerGenerator struct{}
PseudoRandomIntegerGenerator draws integers from a range.
func (PseudoRandomIntegerGenerator) Args ¶
func (PseudoRandomIntegerGenerator) Args() []core.ArgDef
Args returns the argument definitions.
func (PseudoRandomIntegerGenerator) Meta ¶
func (PseudoRandomIntegerGenerator) Meta() core.OpMeta
Meta returns the operation metadata.
type PubKeyFromCert ¶
type PubKeyFromCert struct{}
PubKeyFromCert extracts the Public Key from one or more X.509 certificates. Faithful port of CyberChef's PubKeyFromCert.mjs: each PEM certificate block is located, its SubjectPublicKeyInfo extracted, and emitted as a PUBLIC KEY PEM block (CRLF line endings). RSA, EC and DSA keys are supported, as upstream.
func (PubKeyFromCert) Args ¶
func (PubKeyFromCert) Args() []core.ArgDef
Args returns the argument definitions.
func (PubKeyFromCert) Meta ¶
func (PubKeyFromCert) Meta() core.OpMeta
Meta returns the operation metadata.
type PubKeyFromPrivKey ¶
type PubKeyFromPrivKey struct{}
PubKeyFromPrivKey extracts the Public Key from one or more Private Keys. Faithful port of CyberChef's PubKeyFromPrivKey.mjs (jsrsasign KEYUTIL.getKey): each private-key PEM block is located, parsed, and its public key emitted as a PUBLIC KEY PEM block (CRLF line endings). RSA, EC and DSA keys are supported; DSA in PKCS#8 and EdDSA are rejected, as upstream.
func (PubKeyFromPrivKey) Args ¶
func (PubKeyFromPrivKey) Args() []core.ArgDef
Args returns the argument definitions.
func (PubKeyFromPrivKey) Meta ¶
func (PubKeyFromPrivKey) Meta() core.OpMeta
Meta returns the operation metadata.
type RC2Decrypt ¶
type RC2Decrypt struct{}
RC2Decrypt decrypts RC2 ciphertext.
func (RC2Decrypt) Args ¶
func (RC2Decrypt) Args() []core.ArgDef
Args returns the argument definitions.
type RC2Encrypt ¶
type RC2Encrypt struct{}
RC2Encrypt encrypts input with the RC2 block cipher.
func (RC2Encrypt) Args ¶
func (RC2Encrypt) Args() []core.ArgDef
Args returns the argument definitions.
type RC4Drop ¶
type RC4Drop struct{}
RC4Drop is RC4 with an initial portion of the keystream discarded.
type RC6Decrypt ¶
type RC6Decrypt struct{}
RC6Decrypt decrypts RC6 ciphertext.
func (RC6Decrypt) Args ¶
func (RC6Decrypt) Args() []core.ArgDef
Args returns the argument definitions.
type RC6Encrypt ¶
type RC6Encrypt struct{}
RC6Encrypt encrypts input with the RC6 block cipher.
func (RC6Encrypt) Args ¶
func (RC6Encrypt) Args() []core.ArgDef
Args returns the argument definitions.
type ROR13 ¶
type ROR13 struct{}
ROR13 computes the ROR13 hash used in Windows API-name hashing techniques.
type ROT13 ¶
type ROT13 struct{}
ROT13 is a Caesar substitution cipher rotating alphabet characters (and optionally digits) by a configurable amount.
type ROT13BruteForce ¶
type ROT13BruteForce struct{}
ROT13BruteForce tries every ROT13 rotation, optionally filtering by a crib.
func (ROT13BruteForce) Args ¶
func (ROT13BruteForce) Args() []core.ArgDef
Args returns the argument definitions.
func (ROT13BruteForce) Meta ¶
func (ROT13BruteForce) Meta() core.OpMeta
Meta returns the operation metadata.
type ROT47 ¶
type ROT47 struct{}
ROT47 rotates printable ASCII characters from 33 ('!') to 126 ('~').
type ROT47BruteForce ¶
type ROT47BruteForce struct{}
ROT47BruteForce tries every ROT47 rotation, optionally filtering by a crib.
func (ROT47BruteForce) Args ¶
func (ROT47BruteForce) Args() []core.ArgDef
Args returns the argument definitions.
func (ROT47BruteForce) Meta ¶
func (ROT47BruteForce) Meta() core.OpMeta
Meta returns the operation metadata.
type ROT8000 ¶
type ROT8000 struct{}
ROT8000 is a Caesar cipher over the valid BMP code points, replacing each character with the one 0x8000 positions along the (compacted) alphabet.
type RSADecrypt ¶
type RSADecrypt struct{}
RSADecrypt decrypts an RSA message with a PEM private key.
func (RSADecrypt) Args ¶
func (RSADecrypt) Args() []core.ArgDef
Args returns the argument definitions.
type RSAEncrypt ¶
type RSAEncrypt struct{}
RSAEncrypt encrypts a message with a PEM RSA public key.
func (RSAEncrypt) Args ¶
func (RSAEncrypt) Args() []core.ArgDef
Args returns the argument definitions.
type RSAVerify ¶
type RSAVerify struct{}
RSAVerify verifies a message against a signature and a PEM RSA public key.
type RailFenceDecode ¶
type RailFenceDecode struct{}
RailFenceDecode decodes Rail Fence cipher text.
func (RailFenceDecode) Args ¶
func (RailFenceDecode) Args() []core.ArgDef
Args returns the argument definitions.
func (RailFenceDecode) Meta ¶
func (RailFenceDecode) Meta() core.OpMeta
Meta returns the operation metadata.
type RailFenceEncode ¶
type RailFenceEncode struct{}
RailFenceEncode encodes with the Rail Fence cipher.
func (RailFenceEncode) Args ¶
func (RailFenceEncode) Args() []core.ArgDef
Args returns the argument definitions.
func (RailFenceEncode) Meta ¶
func (RailFenceEncode) Meta() core.OpMeta
Meta returns the operation metadata.
type RandomPrime ¶
type RandomPrime struct{}
RandomPrime generates a probable prime of a given size.
func (RandomPrime) Args ¶
func (RandomPrime) Args() []core.ArgDef
Args returns the size wanted, how thoroughly to test, and how to write the answer.
func (RandomPrime) Meta ¶
func (RandomPrime) Meta() core.OpMeta
Meta returns the operation metadata.
type RandomizeColourPalette ¶
type RandomizeColourPalette struct{}
RandomizeColourPalette recolours an image so that every distinct colour becomes a new one derived from a seed.
func (RandomizeColourPalette) Args ¶
func (RandomizeColourPalette) Args() []core.ArgDef
Args returns the seed; empty means a random one.
func (RandomizeColourPalette) Meta ¶
func (RandomizeColourPalette) Meta() core.OpMeta
Meta returns the operation metadata.
type RawDeflate ¶
type RawDeflate struct{}
RawDeflate compresses the input into a raw DEFLATE stream.
func (RawDeflate) Args ¶
func (RawDeflate) Args() []core.ArgDef
Args returns the argument definitions.
type RawInflate ¶
type RawInflate struct{}
RawInflate reads a raw DEFLATE stream back into the bytes it was made from.
func (RawInflate) Args ¶
func (RawInflate) Args() []core.ArgDef
Args returns the argument definitions.
type Register ¶
type Register struct{}
Register extracts data from the input into registers that later steps can refer to.
type RegularExpression ¶
type RegularExpression struct{}
RegularExpression highlights or lists the matches of a regular expression.
func (RegularExpression) Args ¶
func (RegularExpression) Args() []core.ArgDef
Args returns the argument definitions. The first argument mirrors CyberChef's "Built in regexes" populate-option, which is ignored at run time; supply the pattern via the Regex argument.
func (RegularExpression) Meta ¶
func (RegularExpression) Meta() core.OpMeta
Meta returns the operation metadata.
type RemoveANSIEscapeCodes ¶
type RemoveANSIEscapeCodes struct{}
RemoveANSIEscapeCodes strips ANSI terminal escape sequences.
func (RemoveANSIEscapeCodes) Args ¶
func (RemoveANSIEscapeCodes) Args() []core.ArgDef
Args returns the argument definitions.
func (RemoveANSIEscapeCodes) Meta ¶
func (RemoveANSIEscapeCodes) Meta() core.OpMeta
Meta returns the operation metadata.
type RemoveDiacritics ¶
type RemoveDiacritics struct{}
RemoveDiacritics strips accents from characters.
func (RemoveDiacritics) Args ¶
func (RemoveDiacritics) Args() []core.ArgDef
Args returns no arguments; the operation takes none.
func (RemoveDiacritics) Meta ¶
func (RemoveDiacritics) Meta() core.OpMeta
Meta returns the operation metadata.
type RemoveEXIF ¶
type RemoveEXIF struct{}
RemoveEXIF removes EXIF metadata from a JPEG.
func (RemoveEXIF) Args ¶
func (RemoveEXIF) Args() []core.ArgDef
Args returns the argument definitions.
type RemoveLineNumbers ¶
type RemoveLineNumbers struct{}
RemoveLineNumbers removes leading line numbers from each line.
func (RemoveLineNumbers) Args ¶
func (RemoveLineNumbers) Args() []core.ArgDef
Args returns the argument definitions.
func (RemoveLineNumbers) Meta ¶
func (RemoveLineNumbers) Meta() core.OpMeta
Meta returns the operation metadata.
type RemoveNullBytes ¶
type RemoveNullBytes struct{}
RemoveNullBytes strips all 0x00 bytes from the input.
func (RemoveNullBytes) Args ¶
func (RemoveNullBytes) Args() []core.ArgDef
Args returns the argument definitions.
func (RemoveNullBytes) Meta ¶
func (RemoveNullBytes) Meta() core.OpMeta
Meta returns the operation metadata.
type RemoveWhitespace ¶
type RemoveWhitespace struct{}
RemoveWhitespace removes selected whitespace (and optionally full stops).
func (RemoveWhitespace) Args ¶
func (RemoveWhitespace) Args() []core.ArgDef
Args returns the argument definitions.
func (RemoveWhitespace) Meta ¶
func (RemoveWhitespace) Meta() core.OpMeta
Meta returns the operation metadata.
type RenderImage ¶
type RenderImage struct{}
RenderImage validates that the input is an image and passes the bytes through. CyberChef renders the bytes as an <img> in the browser via presentType=html; cchef drops that browser-only presentation and instead offers an "Output" option: Raw bytes (the default, save with -o or a pipe), a base64 data-URI, or an inline terminal preview.
func (RenderImage) Args ¶
func (RenderImage) Args() []core.ArgDef
Args returns the argument definitions.
func (RenderImage) Meta ¶
func (RenderImage) Meta() core.OpMeta
Meta returns the operation metadata.
type RenderMarkdown ¶
type RenderMarkdown struct{}
RenderMarkdown renders Markdown input as HTML. Ported from CyberChef RenderMarkdown.mjs, which uses markdown-it (with raw HTML disabled) plus highlight.js for fenced code blocks, wrapping the result in a div. cchef reimplements it over goldmark.
Reduced fidelity, by design: goldmark is not markdown-it. The common Markdown surface (headings, emphasis, lists, links, code, blockquotes, linkify) matches byte-for-byte, but two areas differ and are not ported: syntax highlighting of fenced code blocks (CyberChef colours them with highlight.js; cchef emits the escaped code) and block-level raw HTML (markdown-it escapes it as text, cchef escapes it without the surrounding paragraph).
func (RenderMarkdown) Args ¶
func (RenderMarkdown) Args() []core.ArgDef
Args returns the argument definitions.
func (RenderMarkdown) Meta ¶
func (RenderMarkdown) Meta() core.OpMeta
Meta returns the operation metadata.
type RenderPDF ¶
type RenderPDF struct{}
RenderPDF validates that the input is a PDF and passes the bytes through. Ported from CyberChef RenderPDF.mjs, whose browser <iframe> PDF preview is dropped; cchef offers Raw or base64 data-URI output.
type ResizeImage ¶
type ResizeImage struct{}
ResizeImage resizes an image.
func (ResizeImage) Args ¶
func (ResizeImage) Args() []core.ArgDef
Args returns the argument definitions.
func (ResizeImage) Meta ¶
func (ResizeImage) Meta() core.OpMeta
Meta returns the operation metadata.
type Return ¶
type Return struct{}
Return ends a recipe early.
type Reverse ¶
type Reverse struct{}
Reverse reverses the input by byte, character (UTF-8 rune), or line.
type RisonDecode ¶
type RisonDecode struct{}
RisonDecode parses a Rison string into a JSON value.
func (RisonDecode) Args ¶
func (RisonDecode) Args() []core.ArgDef
Args returns the argument definitions.
func (RisonDecode) Meta ¶
func (RisonDecode) Meta() core.OpMeta
Meta returns the operation metadata.
type RisonEncode ¶
type RisonEncode struct{}
RisonEncode serialises a JSON value into Rison, a compact URI-friendly format.
This is an in-repo port of the `rison` npm library CyberChef wraps (a pure JS encoder/parser), reusing cchef's JSON dish model. It reproduces the library's behaviour, including object-key sorting on encode and the replace-first-only quirk in its URI quoting.
func (RisonEncode) Args ¶
func (RisonEncode) Args() []core.ArgDef
Args returns the argument definitions.
func (RisonEncode) Meta ¶
func (RisonEncode) Meta() core.OpMeta
Meta returns the operation metadata.
type RotateImage ¶
type RotateImage struct{}
RotateImage rotates an image by a number of degrees. Multiples of 90 degrees use Jimp's exact matrix rotation (pixel-identical); other angles use an approximate rotation with the same output canvas size (Jimp upscales first, so pixels differ — reduced fidelity, documented).
func (RotateImage) Args ¶
func (RotateImage) Args() []core.ArgDef
Args returns the argument definitions.
func (RotateImage) Meta ¶
func (RotateImage) Meta() core.OpMeta
Meta returns the operation metadata.
type RotateLeft ¶
type RotateLeft struct{}
RotateLeft rotates the bits of each byte left, optionally carrying overflow bits into the next byte.
func (RotateLeft) Args ¶
func (RotateLeft) Args() []core.ArgDef
Args returns the argument definitions.
type RotateRight ¶
type RotateRight struct{}
RotateRight rotates the bits of each byte right, optionally carrying overflow bits into the next byte.
func (RotateRight) Args ¶
func (RotateRight) Args() []core.ArgDef
Args returns the argument definitions.
func (RotateRight) Meta ¶
func (RotateRight) Meta() core.OpMeta
Meta returns the operation metadata.
type SHA2 ¶
type SHA2 struct{}
SHA2 computes a SHA-2 digest at a chosen size and round count.
type SIGABA ¶
type SIGABA struct{}
SIGABA emulates the WW2 SIGABA (ECM Mark II) cipher machine.
type SM2Decrypt ¶
type SM2Decrypt struct{}
SM2Decrypt decrypts an SM2-encrypted message.
func (SM2Decrypt) Args ¶
func (SM2Decrypt) Args() []core.ArgDef
Args returns the argument definitions.
type SM2Encrypt ¶
type SM2Encrypt struct{}
SM2Encrypt encrypts a message with the SM2 public-key standard.
func (SM2Encrypt) Args ¶
func (SM2Encrypt) Args() []core.ArgDef
Args returns the argument definitions.
type SM4Decrypt ¶
type SM4Decrypt struct{}
SM4Decrypt decrypts with the SM4 block cipher.
func (SM4Decrypt) Args ¶
func (SM4Decrypt) Args() []core.ArgDef
Args returns the argument definitions.
type SM4Encrypt ¶
type SM4Encrypt struct{}
SM4Encrypt encrypts with the SM4 block cipher.
func (SM4Encrypt) Args ¶
func (SM4Encrypt) Args() []core.ArgDef
Args returns the argument definitions.
type SQLBeautify ¶
type SQLBeautify struct{}
SQLBeautify indents and prettifies SQL. Ported from CyberChef SQLBeautify.mjs, which wraps the sql-formatter npm library with a fixed configuration (MySQL dialect, "standard" indent style, keywordCase "preserve") and a bind-variable placeholder shuffle. cchef reimplements sql-formatter's tokenizer and layout formatter (the WS/Layout/Indentation engine follows sql-formatter's); keyword categories that drive the layout are curated for the MySQL dialect.
func (SQLBeautify) Args ¶
func (SQLBeautify) Args() []core.ArgDef
Args returns the argument definitions.
func (SQLBeautify) Meta ¶
func (SQLBeautify) Meta() core.OpMeta
Meta returns the operation metadata.
type SQLMinify ¶
type SQLMinify struct{}
SQLMinify struct.
type SSDEEP ¶
type SSDEEP struct{}
SSDEEP computes an SSDEEP fuzzy hash. Ported from CyberChef SSDEEP.mjs (which wraps the non-standard ssdeep.js package); the algorithm is reimplemented from that package to match its output.
type ScanForEmbeddedFiles ¶
type ScanForEmbeddedFiles struct{}
ScanForEmbeddedFiles looks for file signatures at every offset of the input.
func (ScanForEmbeddedFiles) Args ¶
func (ScanForEmbeddedFiles) Args() []core.ArgDef
Args returns one boolean per signature category, everything on except Miscellaneous, whose false positives drown the rest.
func (ScanForEmbeddedFiles) Meta ¶
func (ScanForEmbeddedFiles) Meta() core.OpMeta
Meta returns the operation metadata.
type ScatterChart ¶
type ScatterChart struct{}
ScatterChart plots two-variable data as points. Ported from CyberChef's Scatter chart, which builds the SVG with d3 and nodom; cchef reproduces d3's scales and axis markup directly. See svgbuild.go for the places the serialisation deliberately differs.
func (ScatterChart) Args ¶
func (ScatterChart) Args() []core.ArgDef
Args returns the argument definitions.
func (ScatterChart) Meta ¶
func (ScatterChart) Meta() core.OpMeta
Meta returns the operation metadata.
type Scrypt ¶
type Scrypt struct{}
Scrypt derives a key from the input password using the scrypt PBKDF.
func (Scrypt) Run ¶
Run derives the scrypt key. The parameter validation mirrors scryptsy; the derivation itself uses the canonical golang.org/x/crypto/scrypt (an RFC 7914 implementation), so outputs match byte-for-byte on all standard parameters. cchef diverges from scryptsy only at RFC-forbidden degenerate parameters (e.g. N=1 or p=0, which scryptsy still computes but the standard scrypt rejects).
type SeriesChart ¶
type SeriesChart struct{}
SeriesChart draws one line graph per named series over a shared x axis.
func (SeriesChart) Args ¶
func (SeriesChart) Args() []core.ArgDef
Args returns the argument definitions.
func (SeriesChart) Meta ¶
func (SeriesChart) Meta() core.OpMeta
Meta returns the operation metadata.
type SetDifference ¶
type SetDifference struct{}
SetDifference calculates the relative complement of two sets.
func (SetDifference) Args ¶
func (SetDifference) Args() []core.ArgDef
Args returns the argument definitions.
func (SetDifference) Meta ¶
func (SetDifference) Meta() core.OpMeta
Meta returns the operation metadata.
type SetIntersection ¶
type SetIntersection struct{}
SetIntersection calculates the intersection of two sets.
func (SetIntersection) Args ¶
func (SetIntersection) Args() []core.ArgDef
Args returns the argument definitions.
func (SetIntersection) Meta ¶
func (SetIntersection) Meta() core.OpMeta
Meta returns the operation metadata.
type Shake ¶
type Shake struct{}
Shake is the SHAKE extendable-output function (XOF) of SHA-3, producing a variable-length digest. Ported from CyberChef's Shake: the Size argument is in bits and the output is floor(size/8) bytes of SHAKE output, as hex.
type SharpenImage ¶
type SharpenImage struct{}
SharpenImage sharpens an image with an unsharp mask. Ported from CyberChef's Sharpen Image, which builds the mask from a Gaussian blur (Jimp's gaussian) and merges it back weighted by a luminance threshold.
func (SharpenImage) Args ¶
func (SharpenImage) Args() []core.ArgDef
Args returns the argument definitions.
func (SharpenImage) Meta ¶
func (SharpenImage) Meta() core.OpMeta
Meta returns the operation metadata.
type ShowBase64Offsets ¶
type ShowBase64Offsets struct{}
ShowBase64Offsets shows the three possible Base64 encodings of a string depending on its byte offset within a larger block.
func (ShowBase64Offsets) Args ¶
func (ShowBase64Offsets) Args() []core.ArgDef
Args returns the argument definitions.
func (ShowBase64Offsets) Meta ¶
func (ShowBase64Offsets) Meta() core.OpMeta
Meta returns the operation metadata.
type ShowOnMap ¶
type ShowOnMap struct{}
ShowOnMap converts coordinates to a latitude/longitude pair for display on a map.
type Sleep ¶
type Sleep struct{}
Sleep delays for the given number of milliseconds, then passes the input on.
type Snefru ¶
type Snefru struct{}
Snefru computes the Snefru hash at the given output length and round count.
type Split ¶
type Split struct{}
Split splits the input on one delimiter and rejoins with another.
type SplitColourChannels ¶
type SplitColourChannels struct{}
SplitColourChannels separates an image into its red, green and blue channels. Alpha is kept and every channel is written as PNG regardless of the input format, as CyberChef does. The three images are pixel-identical to CyberChef.
func (SplitColourChannels) Args ¶
func (SplitColourChannels) Args() []core.ArgDef
Args returns the argument definitions.
func (SplitColourChannels) Meta ¶
func (SplitColourChannels) Meta() core.OpMeta
Meta returns the operation metadata.
type StandardDeviation ¶
type StandardDeviation struct{}
StandardDeviation computes the standard deviation of a list of numbers.
func (StandardDeviation) Args ¶
func (StandardDeviation) Args() []core.ArgDef
Args returns the argument definitions.
func (StandardDeviation) Meta ¶
func (StandardDeviation) Meta() core.OpMeta
Meta returns the operation metadata.
type Streebog ¶
type Streebog struct{}
Streebog computes the GOST R 34.11-2012 "Streebog" hash. Ported from CyberChef's Streebog operation, which wraps the same GOST digest engine as GOST Hash (see gosthash.go's gostDigest2012).
type Strings ¶
type Strings struct{}
Strings pulls the runs of readable characters out of the input.
type StripHTMLTags ¶
type StripHTMLTags struct{}
StripHTMLTags struct.
func (StripHTMLTags) Args ¶
func (StripHTMLTags) Args() []core.ArgDef
Args returns the argument definitions.
func (StripHTMLTags) Meta ¶
func (StripHTMLTags) Meta() core.OpMeta
Meta returns the operation metadata.
type StripHTTPHeaders ¶
type StripHTTPHeaders struct{}
StripHTTPHeaders removes the header block from an HTTP request or response.
func (StripHTTPHeaders) Args ¶
func (StripHTTPHeaders) Args() []core.ArgDef
Args returns the argument definitions.
func (StripHTTPHeaders) Meta ¶
func (StripHTTPHeaders) Meta() core.OpMeta
Meta returns the operation metadata.
type StripIPv4Header ¶
type StripIPv4Header struct{}
StripIPv4Header removes the IPv4 header, leaving the payload.
func (StripIPv4Header) Args ¶
func (StripIPv4Header) Args() []core.ArgDef
Args returns the argument definitions.
func (StripIPv4Header) Meta ¶
func (StripIPv4Header) Meta() core.OpMeta
Meta returns the operation metadata.
type StripTCPHeader ¶
type StripTCPHeader struct{}
StripTCPHeader removes the TCP header, leaving the payload.
func (StripTCPHeader) Args ¶
func (StripTCPHeader) Args() []core.ArgDef
Args returns the argument definitions.
func (StripTCPHeader) Meta ¶
func (StripTCPHeader) Meta() core.OpMeta
Meta returns the operation metadata.
type StripUDPHeader ¶
type StripUDPHeader struct{}
StripUDPHeader removes the 8-byte UDP header, leaving the payload.
func (StripUDPHeader) Args ¶
func (StripUDPHeader) Args() []core.ArgDef
Args returns the argument definitions.
func (StripUDPHeader) Meta ¶
func (StripUDPHeader) Meta() core.OpMeta
Meta returns the operation metadata.
type Subsection ¶
type Subsection struct{}
Subsection runs the rest of the recipe over only the parts of the data that match a pattern.
func (Subsection) Args ¶
func (Subsection) Args() []core.ArgDef
Args returns the pattern, its flags, and whether a failing section stops the recipe.
type Substitute ¶
type Substitute struct{}
Substitute is a byte-substitution cipher.
func (Substitute) Args ¶
func (Substitute) Args() []core.ArgDef
Args returns the argument definitions.
type SwapEndianness ¶
type SwapEndianness struct{}
SwapEndianness reverses the byte order within fixed-length words.
func (SwapEndianness) Args ¶
func (SwapEndianness) Args() []core.ArgDef
Args returns the argument definitions.
func (SwapEndianness) Meta ¶
func (SwapEndianness) Meta() core.OpMeta
Meta returns the operation metadata.
type SymmetricDifference ¶
type SymmetricDifference struct{}
SymmetricDifference calculates the symmetric difference of two sets.
func (SymmetricDifference) Args ¶
func (SymmetricDifference) Args() []core.ArgDef
Args returns the argument definitions.
func (SymmetricDifference) Meta ¶
func (SymmetricDifference) Meta() core.OpMeta
Meta returns the operation metadata.
type SyntaxHighlighter ¶
type SyntaxHighlighter struct{}
SyntaxHighlighter adds syntax highlighting to a range of source-code languages, emitting HTML spans that carry hljs-* CSS classes so the output can be styled with a highlight.js theme. The highlighting comes from chroma (github.com/alecthomas/chroma), whose token types are mapped onto the hljs-* class vocabulary; token boundaries and language auto-detection therefore differ from highlight.js.
func (SyntaxHighlighter) Args ¶
func (SyntaxHighlighter) Args() []core.ArgDef
Args returns the argument definitions. "Language" is a free-form language name (a chroma lexer name or alias, matched case-insensitively) or "auto detect". CyberChef offers highlight.js's language list here; chroma's differs, so the argument takes any name rather than a fixed set of choices.
func (SyntaxHighlighter) Meta ¶
func (SyntaxHighlighter) Meta() core.OpMeta
Meta returns the operation metadata.
type TCPIPChecksum ¶
type TCPIPChecksum struct{}
TCPIPChecksum computes the 16-bit one's-complement Internet checksum (RFC 1071) over the raw input bytes. Ported from CyberChef's TCPIPChecksum; the core sum is the shared tcpipChecksum helper (also used by the IPv4 header parser).
func (TCPIPChecksum) Args ¶
func (TCPIPChecksum) Args() []core.ArgDef
Args returns the argument definitions.
func (TCPIPChecksum) Meta ¶
func (TCPIPChecksum) Meta() core.OpMeta
Meta returns the operation metadata.
type TEADecrypt ¶
type TEADecrypt struct{}
TEADecrypt decrypts with the TEA block cipher.
func (TEADecrypt) Args ¶
func (TEADecrypt) Args() []core.ArgDef
Args returns the argument definitions.
type TEAEncrypt ¶
type TEAEncrypt struct{}
TEAEncrypt encrypts with the TEA block cipher.
func (TEAEncrypt) Args ¶
func (TEAEncrypt) Args() []core.ArgDef
Args returns the argument definitions.
type TakeBytes ¶
type TakeBytes struct{}
TakeBytes keeps only a range of bytes from the input.
type TakeNthBytes ¶
type TakeNthBytes struct{}
TakeNthBytes keeps every nth byte.
func (TakeNthBytes) Args ¶
func (TakeNthBytes) Args() []core.ArgDef
Args returns the argument definitions.
func (TakeNthBytes) Meta ¶
func (TakeNthBytes) Meta() core.OpMeta
Meta returns the operation metadata.
type TextEncodingBruteForce ¶
type TextEncodingBruteForce struct{}
TextEncodingBruteForce enumerates every supported text encoding for the input.
func (TextEncodingBruteForce) Args ¶
func (TextEncodingBruteForce) Args() []core.ArgDef
Args returns the argument definitions.
func (TextEncodingBruteForce) Meta ¶
func (TextEncodingBruteForce) Meta() core.OpMeta
Meta returns the operation metadata.
type TextIntegerConversion ¶
type TextIntegerConversion struct{}
TextIntegerConversion converts between text and large integers (decimal or hexadecimal), interpreting text as a big-endian sequence of character codes.
func (TextIntegerConversion) Args ¶
func (TextIntegerConversion) Args() []core.ArgDef
Args returns the argument definitions.
func (TextIntegerConversion) Meta ¶
func (TextIntegerConversion) Meta() core.OpMeta
Meta returns the operation metadata.
type ToBase ¶
type ToBase struct{}
ToBase converts an arbitrary-precision integer to a string in the given radix.
type ToBraille ¶
type ToBraille struct{}
ToBraille converts text to six-dot braille symbols.
type ToCOBS ¶
type ToCOBS struct{}
ToCOBS encodes bytes so that none of them is zero.
type ToCamelCase ¶
type ToCamelCase struct{}
ToCamelCase struct.
func (ToCamelCase) Args ¶
func (ToCamelCase) Args() []core.ArgDef
Args returns the argument definitions.
func (ToCamelCase) Meta ¶
func (ToCamelCase) Meta() core.OpMeta
Meta returns the operation metadata.
type ToCaseInsensitiveRegex ¶
type ToCaseInsensitiveRegex struct{}
ToCaseInsensitiveRegex rewrites a regex to match either case.
func (ToCaseInsensitiveRegex) Args ¶
func (ToCaseInsensitiveRegex) Args() []core.ArgDef
Args returns the argument definitions.
func (ToCaseInsensitiveRegex) Meta ¶
func (ToCaseInsensitiveRegex) Meta() core.OpMeta
Meta returns the operation metadata.
type ToCharcode ¶
type ToCharcode struct{}
ToCharcode converts input characters to their numeric code points.
func (ToCharcode) Args ¶
func (ToCharcode) Args() []core.ArgDef
Args returns the argument definitions.
type ToDecimal ¶
type ToDecimal struct{}
ToDecimal converts input bytes to a delimited list of decimal values.
type ToFloat ¶
type ToFloat struct{}
ToFloat converts IEEE754 bytes into their decimal representation.
type ToHTMLEntity ¶
type ToHTMLEntity struct{}
ToHTMLEntity converts characters to HTML entities.
func (ToHTMLEntity) Args ¶
func (ToHTMLEntity) Args() []core.ArgDef
Args returns the argument definitions.
func (ToHTMLEntity) Meta ¶
func (ToHTMLEntity) Meta() core.OpMeta
Meta returns the operation metadata.
type ToHex ¶
type ToHex struct{}
ToHex converts input bytes to hexadecimal separated by the chosen delimiter.
type ToHexContent ¶
type ToHexContent struct{}
ToHexContent converts special characters in a string to SNORT hex-content notation (e.g. foo=bar -> foo|3d|bar).
func (ToHexContent) Args ¶
func (ToHexContent) Args() []core.ArgDef
Args returns the argument definitions.
func (ToHexContent) Meta ¶
func (ToHexContent) Meta() core.OpMeta
Meta returns the operation metadata.
type ToHexdump ¶
type ToHexdump struct{}
ToHexdump renders the input as a classic hexdump.
type ToKebabCase ¶
type ToKebabCase struct{}
ToKebabCase struct.
func (ToKebabCase) Args ¶
func (ToKebabCase) Args() []core.ArgDef
Args returns the argument definitions.
func (ToKebabCase) Meta ¶
func (ToKebabCase) Meta() core.OpMeta
Meta returns the operation metadata.
type ToLowerCase ¶
type ToLowerCase struct{}
ToLowerCase converts every character in the input to lower case.
func (ToLowerCase) Args ¶
func (ToLowerCase) Args() []core.ArgDef
Args returns the argument definitions.
func (ToLowerCase) Meta ¶
func (ToLowerCase) Meta() core.OpMeta
Meta returns the operation metadata.
type ToMessagePack ¶
type ToMessagePack struct{}
ToMessagePack serialises JSON into MessagePack.
CyberChef wraps the `notepack.io` library's encode; this is an in-repo port of its rules: shortest integer forms, the always-float-64 fallback for non-integers, JavaScript ECMAScript key ordering, and the (lossy) bit operations notepack uses to split integers beyond 2^32.
func (ToMessagePack) Args ¶
func (ToMessagePack) Args() []core.ArgDef
Args returns the argument definitions.
func (ToMessagePack) Meta ¶
func (ToMessagePack) Meta() core.OpMeta
Meta returns the operation metadata.
type ToMorseCode ¶
type ToMorseCode struct{}
ToMorseCode translates text into International Morse Code.
func (ToMorseCode) Args ¶
func (ToMorseCode) Args() []core.ArgDef
Args returns the argument definitions.
func (ToMorseCode) Meta ¶
func (ToMorseCode) Meta() core.OpMeta
Meta returns the operation metadata.
type ToOctal ¶
type ToOctal struct{}
ToOctal converts the input to octal bytes separated by the chosen delimiter.
type ToPunycode ¶
type ToPunycode struct{}
ToPunycode converts Unicode to Punycode.
CyberChef wraps punycode.js's encode (raw) and toASCII (IDN); this is a RFC 3492 implementation serving both.
func (ToPunycode) Args ¶
func (ToPunycode) Args() []core.ArgDef
Args returns the argument definitions.
type ToQuotedPrintable ¶
type ToQuotedPrintable struct{}
ToQuotedPrintable encodes bytes as Quoted-Printable (RFC 2045).
func (ToQuotedPrintable) Args ¶
func (ToQuotedPrintable) Args() []core.ArgDef
Args returns the argument definitions.
func (ToQuotedPrintable) Meta ¶
func (ToQuotedPrintable) Meta() core.OpMeta
Meta returns the operation metadata.
type ToSnakeCase ¶
type ToSnakeCase struct{}
ToSnakeCase struct.
func (ToSnakeCase) Args ¶
func (ToSnakeCase) Args() []core.ArgDef
Args returns the argument definitions.
func (ToSnakeCase) Meta ¶
func (ToSnakeCase) Meta() core.OpMeta
Meta returns the operation metadata.
type ToTable ¶
type ToTable struct{}
ToTable renders delimited data as an ASCII, HTML or Markdown table.
type ToUNIXTimestamp ¶
type ToUNIXTimestamp struct{}
ToUNIXTimestamp parses a datetime string into a UNIX timestamp.
func (ToUNIXTimestamp) Args ¶
func (ToUNIXTimestamp) Args() []core.ArgDef
Args returns the argument definitions.
func (ToUNIXTimestamp) Meta ¶
func (ToUNIXTimestamp) Meta() core.OpMeta
Meta returns the operation metadata.
type ToUpperCase ¶
type ToUpperCase struct{}
ToUpperCase converts the input to upper case, optionally limited in scope.
func (ToUpperCase) Args ¶
func (ToUpperCase) Args() []core.ArgDef
Args returns the argument definitions.
func (ToUpperCase) Meta ¶
func (ToUpperCase) Meta() core.OpMeta
Meta returns the operation metadata.
type TranslateDateTimeFormat ¶
type TranslateDateTimeFormat struct{}
TranslateDateTimeFormat reformats a datetime string between formats/timezones.
func (TranslateDateTimeFormat) Args ¶
func (TranslateDateTimeFormat) Args() []core.ArgDef
Args returns the argument definitions.
func (TranslateDateTimeFormat) Meta ¶
func (TranslateDateTimeFormat) Meta() core.OpMeta
Meta returns the operation metadata.
type TripleDESDecrypt ¶
type TripleDESDecrypt struct{}
TripleDESDecrypt decrypts Triple DES ciphertext.
func (TripleDESDecrypt) Args ¶
func (TripleDESDecrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (TripleDESDecrypt) Meta ¶
func (TripleDESDecrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type TripleDESEncrypt ¶
type TripleDESEncrypt struct{}
TripleDESEncrypt encrypts input with the Triple DES block cipher.
func (TripleDESEncrypt) Args ¶
func (TripleDESEncrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (TripleDESEncrypt) Meta ¶
func (TripleDESEncrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type TwofishDecrypt ¶
type TwofishDecrypt struct{}
TwofishDecrypt decrypts with the Twofish block cipher.
func (TwofishDecrypt) Args ¶
func (TwofishDecrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (TwofishDecrypt) Meta ¶
func (TwofishDecrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type TwofishEncrypt ¶
type TwofishEncrypt struct{}
TwofishEncrypt encrypts with the Twofish block cipher.
func (TwofishEncrypt) Args ¶
func (TwofishEncrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (TwofishEncrypt) Meta ¶
func (TwofishEncrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type Typex ¶
type Typex struct{}
Typex emulates the WW2 Typex machine.
type UNIXTimestampToWindowsFiletime ¶
type UNIXTimestampToWindowsFiletime struct{}
UNIXTimestampToWindowsFiletime converts a UNIX timestamp to a Windows Filetime.
func (UNIXTimestampToWindowsFiletime) Args ¶
func (UNIXTimestampToWindowsFiletime) Args() []core.ArgDef
Args returns the argument definitions.
func (UNIXTimestampToWindowsFiletime) Meta ¶
func (UNIXTimestampToWindowsFiletime) Meta() core.OpMeta
Meta returns the operation metadata.
type URLDecode ¶
type URLDecode struct{}
URLDecode converts percent-encoded characters back to their raw values.
type URLEncode ¶
type URLEncode struct{}
URLEncode percent-encodes problematic characters into a URL-safe form.
type UnescapeString ¶
type UnescapeString struct{}
UnescapeString converts backslash escape sequences into their raw characters.
func (UnescapeString) Args ¶
func (UnescapeString) Args() []core.ArgDef
Args returns the argument definitions.
func (UnescapeString) Meta ¶
func (UnescapeString) Meta() core.OpMeta
Meta returns the operation metadata.
type UnescapeUnicodeCharacters ¶
type UnescapeUnicodeCharacters struct{}
UnescapeUnicodeCharacters converts unicode-escaped notation back to characters.
func (UnescapeUnicodeCharacters) Args ¶
func (UnescapeUnicodeCharacters) Args() []core.ArgDef
Args returns the argument definitions.
func (UnescapeUnicodeCharacters) Meta ¶
func (UnescapeUnicodeCharacters) Meta() core.OpMeta
Meta returns the operation metadata.
type UnicodeTextFormat ¶
type UnicodeTextFormat struct{}
UnicodeTextFormat decorates text with Unicode combining characters.
func (UnicodeTextFormat) Args ¶
func (UnicodeTextFormat) Args() []core.ArgDef
Args returns the two formats.
func (UnicodeTextFormat) Meta ¶
func (UnicodeTextFormat) Meta() core.OpMeta
Meta returns the operation metadata.
func (UnicodeTextFormat) Run ¶
Run decorates the input: after every character — a whole UTF-8 sequence, or a single byte where the bytes are not UTF-8 — the strikethrough mark and then the underline mark are appended, for whichever formats are asked for. Upstream appends them after every byte instead, splitting multi-byte characters apart, which is logged as a CyberChef bug.
type Unique ¶
type Unique struct{}
Unique removes duplicate sections, optionally displaying occurrence counts.
type VarIntDecode ¶
type VarIntDecode struct{}
VarIntDecode decodes a Protobuf-style LEB128 variable-length integer.
func (VarIntDecode) Args ¶
func (VarIntDecode) Args() []core.ArgDef
Args returns the argument definitions.
func (VarIntDecode) Meta ¶
func (VarIntDecode) Meta() core.OpMeta
Meta returns the operation metadata.
type VarIntEncode ¶
type VarIntEncode struct{}
VarIntEncode encodes a non-negative integer as an LEB128 variable-length int.
func (VarIntEncode) Args ¶
func (VarIntEncode) Args() []core.ArgDef
Args returns the argument definitions.
func (VarIntEncode) Meta ¶
func (VarIntEncode) Meta() core.OpMeta
Meta returns the operation metadata.
type ViewBitPlane ¶
type ViewBitPlane struct{}
ViewBitPlane renders a single bit of a single channel as a black-and-white image.
func (ViewBitPlane) Args ¶
func (ViewBitPlane) Args() []core.ArgDef
Args returns the channel and which bit to show.
func (ViewBitPlane) Meta ¶
func (ViewBitPlane) Meta() core.OpMeta
Meta returns the operation metadata.
type VigenereDecode ¶
type VigenereDecode struct{}
VigenereDecode decrypts with the Vigenère cipher.
func (VigenereDecode) Args ¶
func (VigenereDecode) Args() []core.ArgDef
Args returns the argument definitions.
func (VigenereDecode) Meta ¶
func (VigenereDecode) Meta() core.OpMeta
Meta returns the operation metadata.
type VigenereEncode ¶
type VigenereEncode struct{}
VigenereEncode encrypts with the Vigenère cipher.
func (VigenereEncode) Args ¶
func (VigenereEncode) Args() []core.ArgDef
Args returns the argument definitions.
func (VigenereEncode) Meta ¶
func (VigenereEncode) Meta() core.OpMeta
Meta returns the operation metadata.
type Whirlpool ¶
type Whirlpool struct{}
Whirlpool computes the Whirlpool hash (or its -0/-T variants).
type WindowsFiletimeToUNIXTimestamp ¶
type WindowsFiletimeToUNIXTimestamp struct{}
WindowsFiletimeToUNIXTimestamp converts a Windows Filetime to a UNIX timestamp.
func (WindowsFiletimeToUNIXTimestamp) Args ¶
func (WindowsFiletimeToUNIXTimestamp) Args() []core.ArgDef
Args returns the argument definitions.
func (WindowsFiletimeToUNIXTimestamp) Meta ¶
func (WindowsFiletimeToUNIXTimestamp) Meta() core.OpMeta
Meta returns the operation metadata.
type Wrap ¶
type Wrap struct{}
Wrap breaks the input into fixed-width lines.
func (Wrap) Run ¶
Run wraps the input. Ported from CyberChef Wrap.mjs, which matches /.{1,width}/g and joins with newlines — "." excludes line terminators, so existing line breaks split runs and empty runs are dropped. Reimplemented with rune chunking rather than a regexp, since Go's regexp caps repeat counts at 1000 (below the 65536 max width) and would otherwise panic.
type XKCDRandomNumber ¶
type XKCDRandomNumber struct{}
XKCDRandomNumber gives a random number.
func (XKCDRandomNumber) Args ¶
func (XKCDRandomNumber) Args() []core.ArgDef
Args returns the argument definitions.
func (XKCDRandomNumber) Meta ¶
func (XKCDRandomNumber) Meta() core.OpMeta
Meta returns the operation metadata.
type XMLBeautify ¶
type XMLBeautify struct{}
XMLBeautify struct.
func (XMLBeautify) Args ¶
func (XMLBeautify) Args() []core.ArgDef
Args returns the argument definitions.
func (XMLBeautify) Meta ¶
func (XMLBeautify) Meta() core.OpMeta
Meta returns the operation metadata.
type XMLMinify ¶
type XMLMinify struct{}
XMLMinify struct.
type XOR ¶
type XOR struct{}
XOR XORs the input with a repeating key, supporting CyberChef's key schemes.
type XORBruteForce ¶
type XORBruteForce struct{}
XORBruteForce enumerates every XOR key up to the configured length, optionally filtering results by a crib (known plaintext).
func (XORBruteForce) Args ¶
func (XORBruteForce) Args() []core.ArgDef
Args returns the argument definitions.
func (XORBruteForce) Meta ¶
func (XORBruteForce) Meta() core.OpMeta
Meta returns the operation metadata.
type XORChecksum ¶
type XORChecksum struct{}
XORChecksum computes a block-wise XOR checksum: the input is split into blocks of the given size, and the checksum is the XOR of all blocks (a short final block leaves the trailing positions unchanged). Ported from CyberChef's XORChecksum; the result is returned as hex.
func (XORChecksum) Args ¶
func (XORChecksum) Args() []core.ArgDef
Args returns the argument definitions.
func (XORChecksum) Meta ¶
func (XORChecksum) Meta() core.OpMeta
Meta returns the operation metadata.
type XPRESSDecompress ¶ added in v1.1.0
type XPRESSDecompress struct{}
XPRESSDecompress reads a plain LZ77 stream back into the bytes it was made from.
func (XPRESSDecompress) Args ¶ added in v1.1.0
func (XPRESSDecompress) Args() []core.ArgDef
Args returns the argument definitions.
func (XPRESSDecompress) Meta ¶ added in v1.1.0
func (XPRESSDecompress) Meta() core.OpMeta
Meta returns the operation metadata.
type XPRESSHuffmanDecompress ¶ added in v1.1.0
type XPRESSHuffmanDecompress struct{}
XPRESSHuffmanDecompress reads an LZ77+Huffman stream back into the bytes it was made from.
func (XPRESSHuffmanDecompress) Args ¶ added in v1.1.0
func (XPRESSHuffmanDecompress) Args() []core.ArgDef
Args returns the argument definitions. The size counts bytes, so a fractional value is a mistake rather than something to truncate.
func (XPRESSHuffmanDecompress) Meta ¶ added in v1.1.0
func (XPRESSHuffmanDecompress) Meta() core.OpMeta
Meta returns the operation metadata.
type XPathExpression ¶
type XPathExpression struct{}
XPathExpression extracts information from an XML document with an XPath query. Ported from CyberChef XPathExpression.mjs, which wraps @xmldom/xmldom and the npm `xpath` library. cchef reuses the internal xmldom parser/serializer and evaluates the query with antchfx/xpath over the parsed tree. Only node-set results are supported (as in the original): a number/string/boolean result is an error, matching the `xpath` library's "Cannot convert X to nodeset".
Known divergence: antchfx/xpath has no processing-instruction node type (it compiles `processing-instruction()` to a match-all test), so that rarely-used node test returns every node instead of only PIs. All other node tests — including `comment()`, which correctly skips the XML declaration — match the oracle.
func (XPathExpression) Args ¶
func (XPathExpression) Args() []core.ArgDef
Args returns the argument definitions.
func (XPathExpression) Meta ¶
func (XPathExpression) Meta() core.OpMeta
Meta returns the operation metadata.
type XTEADecrypt ¶
type XTEADecrypt struct{}
XTEADecrypt decrypts with the XTEA block cipher.
func (XTEADecrypt) Args ¶
func (XTEADecrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (XTEADecrypt) Meta ¶
func (XTEADecrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type XTEAEncrypt ¶
type XTEAEncrypt struct{}
XTEAEncrypt encrypts with the XTEA block cipher.
func (XTEAEncrypt) Args ¶
func (XTEAEncrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (XTEAEncrypt) Meta ¶
func (XTEAEncrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type XXTEADecrypt ¶
type XXTEADecrypt struct{}
XXTEADecrypt decrypts with the XXTEA (Corrected Block TEA) cipher.
func (XXTEADecrypt) Args ¶
func (XXTEADecrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (XXTEADecrypt) Meta ¶
func (XXTEADecrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type XXTEAEncrypt ¶
type XXTEAEncrypt struct{}
XXTEAEncrypt encrypts with the XXTEA (Corrected Block TEA) cipher.
func (XXTEAEncrypt) Args ¶
func (XXTEAEncrypt) Args() []core.ArgDef
Args returns the argument definitions.
func (XXTEAEncrypt) Meta ¶
func (XXTEAEncrypt) Meta() core.OpMeta
Meta returns the operation metadata.
type YAMLToJSON ¶
type YAMLToJSON struct{}
YAMLToJSON converts YAML into JSON.
func (YAMLToJSON) Args ¶
func (YAMLToJSON) Args() []core.ArgDef
Args returns the argument definitions.
type YARARules ¶
type YARARules struct{}
YARARules matches the input against a set of YARA rules.
type ZlibDeflate ¶
type ZlibDeflate struct{}
ZlibDeflate compresses the input into a zlib stream.
func (ZlibDeflate) Args ¶
func (ZlibDeflate) Args() []core.ArgDef
Args returns the argument definitions.
func (ZlibDeflate) Meta ¶
func (ZlibDeflate) Meta() core.OpMeta
Meta returns the operation metadata.
type ZlibInflate ¶
type ZlibInflate struct{}
ZlibInflate reads a zlib stream back into the bytes it was made from.
func (ZlibInflate) Args ¶
func (ZlibInflate) Args() []core.ArgDef
Args returns the argument definitions.
func (ZlibInflate) Meta ¶
func (ZlibInflate) Meta() core.OpMeta
Meta returns the operation metadata.
Source Files
¶
- a1z26.go
- addtexttoimage.go
- adler32.go
- aes.go
- aeskeywrap.go
- affine.go
- amf.go
- analysehash.go
- analyseuuid.go
- argon2.go
- argon2core.go
- arithmetic.go
- ascon.go
- atbash.go
- automatedvalidationtestop.go
- avro.go
- bacon.go
- base32.go
- base45.go
- base58.go
- base62.go
- base64.go
- base85.go
- base92.go
- base_generic.go
- bcd.go
- bcrypt.go
- bech32.go
- bifid.go
- bigintutils.go
- bignum.go
- binary.go
- bitwise.go
- blake2.go
- blake3.go
- blake3core.go
- bletchley.go
- blockpadding.go
- blowfish.go
- blurimage.go
- bmfont.go
- bombe.go
- braille.go
- bson.go
- bytestats.go
- bzip2.go
- caesarbox.go
- caretmdecode.go
- case.go
- cbor.go
- cetacean.go
- chacha.go
- changeipformat.go
- charcode.go
- chisquare.go
- ciphersaber2.go
- citrixctx1.go
- cmac.go
- cobs.go
- colossus.go
- colossuscomputer.go
- containimage.go
- convert.go
- convert_data.go
- convertcoordinate.go
- convertimageformat.go
- convertleetspeak.go
- converttonatoalphabet.go
- coverimage.go
- crc.go
- cropimage.go
- cryptoapihashers.go
- cryptohashops.go
- cssbeautify.go
- cssminify.go
- cssselector.go
- csv.go
- ctph.go
- datetime.go
- datetime_formatexamples.go
- datetimeformat.go
- dechunkhttp.go
- decimal.go
- defang.go
- des.go
- detectfiletype.go
- diff.go
- disassemblearm.go
- disassemblex86.go
- dishtext.go
- ditherimage.go
- dnsoverhttps.go
- doc.go
- ecdsa.go
- elfinfo.go
- encodings.go
- enigma.go
- entropy.go
- entropycharts.go
- escapesmartcharacters.go
- escapestring.go
- evp.go
- extendedgcd.go
- extractaudiometadata.go
- extractdates.go
- extractdomains.go
- extractemailaddresses.go
- extractexif.go
- extractfilepaths.go
- extractfiles.go
- extracthashes.go
- extractid3.go
- extractipaddresses.go
- extractlsb.go
- extractmacaddresses.go
- extractrgba.go
- extractsearch.go
- extracturls.go
- fernet.go
- filetime.go
- findreplace.go
- fingerprint.go
- flasksession.go
- fletcher.go
- flipimage.go
- float.go
- flowcontrol.go
- fork.go
- formatmac.go
- frequencydistribution.go
- fuzzyhash.go
- fuzzymatch.go
- generateallchecksums.go
- generateallhashes.go
- generatedebruijnsequence.go
- generatehotp.go
- generateimage.go
- generateloremipsum.go
- generateqrcode.go
- generatetotp.go
- generateuuid.go
- genericcodebeautify.go
- gost.go
- gosthash.go
- groupip.go
- gzip.go
- has160.go
- hashes.go
- hasshclient.go
- hasshserver.go
- haversinedistance.go
- heatmapchart.go
- hex.go
- hexcontent.go
- hexdensitychart.go
- hexdump.go
- hkdf.go
- hmac.go
- htmlentity.go
- htmltotext.go
- httprequest.go
- id3frames.go
- imagebrightnesscontrast.go
- imagefilter.go
- imagehuesaturationlightness.go
- imageopacity.go
- indexofcoincidence.go
- invertimage.go
- ipprotocols.go
- ipv6transition.go
- ja3fingerprint.go
- ja3sfingerprint.go
- ja4.go
- ja4fingerprint.go
- ja4server.go
- jpath.go
- jq.go
- jsbeautify.go
- jsbuiltins.go
- jsminify.go
- jsonataquery.go
- jsonbeautify.go
- jsonminify.go
- jsparser.go
- jump.go
- jwk.go
- jwt.go
- keccak.go
- keyformat.go
- lmhash.go
- lorenz.go
- lorenzmachine.go
- ls47.go
- luhnchecksum.go
- lz4.go
- lzma.go
- lznt1decompress.go
- lzstring.go
- magicop.go
- md2.go
- md4.go
- md6.go
- md6core.go
- mdblock.go
- messagepack.go
- metrics.go
- microsoftscriptdecoder.go
- mime.go
- misc.go
- mod.go
- modhex.go
- modularexponentiation.go
- modularinverse.go
- morse.go
- murmurhash3.go
- netbios.go
- normaliseimage.go
- normaliseunicode.go
- nthash.go
- numberwang.go
- octal.go
- offsetchecker.go
- oid.go
- opticalcharacterrecognition.go
- otpsecret.go
- paritybit.go
- parseasn1hexstring.go
- parseasn1hexstring_oids.go
- parsecolour.go
- parsecsr.go
- parseethernetframe.go
- parseiprange.go
- parseipv4header.go
- parseipv6address.go
- parseqrcode.go
- parsesshhostkey.go
- parsetcp.go
- parsetlsrecord.go
- parsetlv.go
- parseudp.go
- parseuri.go
- parsex509certificate.go
- parsex509crl.go
- pbkdf2.go
- pem.go
- pgp.go
- phpdeserialize.go
- phpserialize.go
- playmedia.go
- plistviewer.go
- present.go
- protobufdecode.go
- protobufencode.go
- pseudorandomintegergenerator.go
- pubkeyfromcert.go
- pubkeyfromprivkey.go
- punycode.go
- quotedprintable.go
- rabbit.go
- railfence.go
- rake.go
- randomizecolourpalette.go
- randomprime.go
- rawdeflate.go
- rc2.go
- rc4.go
- rc6.go
- register.go
- regularexpression.go
- removediacritics.go
- removeexif.go
- renderimage.go
- rendermarkdown.go
- renderpdf.go
- resizeimage.go
- reverse.go
- ripemd.go
- rison.go
- ror13.go
- rot.go
- rot8000.go
- rotate.go
- rotateimage.go
- rsa.go
- salsa20.go
- scanforembeddedfiles.go
- scatterchart.go
- scrypt.go
- serieschart.go
- sets.go
- sha0.go
- sha1.go
- sha2.go
- sha3.go
- shake.go
- sharpenimage.go
- showbase64offsets.go
- showonmap.go
- sigaba.go
- sigabamachine.go
- sm2.go
- sm3.go
- sm4.go
- splitcolourchannels.go
- sqlbeautify.go
- sqlminify.go
- ssdeep.go
- streebog.go
- strings.go
- stripheaders.go
- striphtmltags.go
- striphttpheaders.go
- subsection.go
- substitute.go
- swapendianness.go
- syntaxhighlighter.go
- tar.go
- tcpipchecksum.go
- tea.go
- template.go
- textinteger.go
- tinycolor.go
- tocamelcase.go
- tokebabcase.go
- tosnakecase.go
- totable.go
- twofish.go
- typex.go
- typexmachine.go
- unicodeescape.go
- unicodetextformat.go
- unixperms.go
- unixtimestamp.go
- urlcode.go
- useragent.go
- useragent_rules.go
- utils_case.go
- utils_lines.go
- utils_simple.go
- utils_slice.go
- utils_text2.go
- varint.go
- viewbitplane.go
- vigenere.go
- vkbeautify.go
- whirlpool.go
- x509common.go
- xkcdrandomnumber.go
- xmlbeautify.go
- xmlminify.go
- xor.go
- xorbruteforce.go
- xorchecksum.go
- xpathexpr.go
- xpress.go
- xxtea.go
- yaml.go
- yararules.go
- zip.go
- zlib.go