mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 15:56:16 -04:00
Spelling
This commit is contained in:
parent
b14cb99587
commit
b8dbb11136
2 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@ class ParseUDP extends Operation {
|
|||
|
||||
this.name = "Parse UDP";
|
||||
this.module = "Default";
|
||||
this.description = "Parses a UDP header and payload if present.";
|
||||
this.description = "Parses a UDP header and payload (if present).";
|
||||
this.infoURL = "https://wikipedia.org/wiki/User_Datagram_Protocol";
|
||||
this.inputType = "byteArray";
|
||||
this.outputType = "json";
|
||||
|
@ -44,7 +44,7 @@ class ParseUDP extends Operation {
|
|||
//Parse Header
|
||||
const UDPPacket = {
|
||||
"Source port": s.readInt(2),
|
||||
"Desination port": s.readInt(2),
|
||||
"Destination port": s.readInt(2),
|
||||
"Length": s.readInt(2),
|
||||
"Checksum": toHex(s.getBytes(2), "0x")
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue