Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

hexedit

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexedit

Hexadecimal Editor

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

This is a hexadecimal editor. Here's how it works:

  • You type hexedit blah.bin
  • It dumps out the contents of blah.bin in hex to a temporary text file.
  • Every time you save that file, it picks up the change and writes the alteration back to blah.bin.
  • When the editor exits, it writes the change back to blah.bin.

Each line in the editor is something like this:

# offset: data                                     # ASCII value.
00000000: 5468 6973 2069 7320 6120 6865 7861 6465  # This.is.a.hexade
00000010: 6369 6d61 6c20 6564 6974 6f72 2e20 2048  # cimal.editor...H
00000020: 6572 6527 7320 686f 7720 6974 2077 6f72  # ere's.how.it.wor
00000030: 6b73 3a0a 0a31 2e20 596f 7520 7479 7065  # ks:..1..You.type

The annotations and whitespace are just for your benefit, and are ignored by the program. Everything before the first :, or after the first # is removed. Whitespace is stripped. If there are any invalid hex characters after this transformation, or if the result is an odd number of hex digits, then an error is thrown.

FAQs

Package last updated on 28 Oct 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts