Strip UDP header

Strips the UDP header from a UDP datagram, outputting the payload.

Input: Text (UTF-8) or original file bytesResult: Binary bytes

Text input

Run to see the result

Examples

Recover an eight-byte local payload 1

Recover an eight-byte local payload 1. Run the example, then compare the stated answer and settings.

Input

6932a470a4ea51896c5c1a78.bin

16 bytes

Download

Expected answer

sample1!
Recover an eight-byte local payload 2

Recover an eight-byte local payload 2. Run the example, then compare the stated answer and settings.

Input

b3742354ee00b5762e208c70.bin

16 bytes

Download

Expected answer

sample2!
Recover an eight-byte local payload 3

Recover an eight-byte local payload 3. Run the example, then compare the stated answer and settings.

Input

54009ec8709231ca003c54c5.bin

16 bytes

Download

Expected answer

sample3!
Recover an eight-byte local payload 4

Recover an eight-byte local payload 4. Run the example, then compare the stated answer and settings.

Input

cc221b86fed372bb902078a7.bin

16 bytes

Download

Expected answer

sample4!
Recover an eight-byte local payload 5

Recover an eight-byte local payload 5. Run the example, then compare the stated answer and settings.

Input

e6996f1b358c827b754dd96a.bin

16 bytes

Download

Expected answer

sample5!
Input length less than header length

Input

f049e62e5fb09288c7977066.bin

7 bytes

Download

Expected rejection

Message contains
Need 8 bytes for a UDP Header
No payload

Input

65477bbde41386a14797b590.bin

8 bytes

Download

Expected answer

Empty result
Payload

Input

da32fa325aeace211b130e14.bin

16 bytes

Download

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
00000000ff ff ff ff ff ff ff ff........

Format reference: Strip UDP header background and specification

Related tools

Browse networking tools