mirror of
https://github.com/gchq/CyberChef
synced 2025-12-16 08:13:53 +00:00
Merge pull request #75 from gchq/feature-netbios
'Encode NetBIOS Name' and 'Decode NetBIOS Name' operations
This commit is contained in:
@@ -1536,6 +1536,32 @@ var OperationConfig = {
|
||||
}
|
||||
]
|
||||
},
|
||||
"Encode NetBIOS Name": {
|
||||
description: "NetBIOS names as seen across the client interface to NetBIOS are exactly 16 bytes long. Within the NetBIOS-over-TCP protocols, a longer representation is used.<br><br>There are two levels of encoding. The first level maps a NetBIOS name into a domain system name. The second level maps the domain system name into the 'compressed' representation required for interaction with the domain name system.<br><br>This operation carries out the first level of encoding. See RFC 1001 for full details.",
|
||||
run: NetBIOS.runEncodeName,
|
||||
inputType: "byteArray",
|
||||
outputType: "byteArray",
|
||||
args: [
|
||||
{
|
||||
name: "Offset",
|
||||
type: "number",
|
||||
value: NetBIOS.OFFSET
|
||||
}
|
||||
]
|
||||
},
|
||||
"Decode NetBIOS Name": {
|
||||
description: "NetBIOS names as seen across the client interface to NetBIOS are exactly 16 bytes long. Within the NetBIOS-over-TCP protocols, a longer representation is used.<br><br>There are two levels of encoding. The first level maps a NetBIOS name into a domain system name. The second level maps the domain system name into the 'compressed' representation required for interaction with the domain name system.<br><br>This operation decodes the first level of encoding. See RFC 1001 for full details.",
|
||||
run: NetBIOS.runDecodeName,
|
||||
inputType: "byteArray",
|
||||
outputType: "byteArray",
|
||||
args: [
|
||||
{
|
||||
name: "Offset",
|
||||
type: "number",
|
||||
value: NetBIOS.OFFSET
|
||||
}
|
||||
]
|
||||
},
|
||||
"Offset checker": {
|
||||
description: "Compares multiple inputs (separated by the specified delimiter) and highlights matching characters which appear at the same position in all samples.",
|
||||
run: StrUtils.runOffsetChecker,
|
||||
|
||||
Reference in New Issue
Block a user