Skip to content

Bug report: Hexdump format is not compatible with xxd #2033

@NateChoe1

Description

@NateChoe1

Describe the bug

The "From Hexdump" tool can improperly parse certain hexdumps generated by the xxd utility.

To Reproduce

  1. Create a hexdump with an odd number of bytes
    $ echo -n 'abcde' | xxd
    00000000: 6162 6364 65                             abcde
    
  2. Create a new recipe to convert from a hexdump to a hexdump.
    From_Hexdump()
    To_Hexdump(16,false,false,false)
    
  3. Copy the created hexdump into the input. The generated output will be missing the final byte from the input.

Additional context

It would be very useful for CyberChef hexdumps to be compatible with xxd hexdumps as it would make transferring binary data from the terminal into CyberChef much simpler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions