article in Tech
programming
Text HEX editors
Comparison of hex editors - Wikipedia, the free encyclopedia
Use vim for hex editor | use vi for viewing files in hexadecimal
:%!xxd
Windows Hexadecimal Editors (GUI)
Frhed - Free hex editor - open source C++ windows hex editor. 1.6.0:2009-06-25
HxD - Freeware Hex Editor and Disk Editor | mh-nexus
Notepad++ Plugins - Browse /Hex Editor at SourceForge.net - open source C++ plugin for notepad++.
windows file to hex | powershell file to hexadecimal
kwblog: PowerShell: Get File Contents in Hex
get-content -Encoding byte yourfile.txt | %{ "{0:x}" -f $_ } | %{ if ( $_.Length -eq 1 ) { $out = $out + 0 + $_ } else { $out = $out + $_ } }
$out
if you have PowerShell Community Extensions - Home installed, you have Join-String.
gc -en byte file.txt | % { '{0:X2}' -f $_ } | Join-String
Exploit Monday: Dropping Executables with Powershell - apparently just going to hex is enough to get past some file restrictions. anyways, this details going to and from decimal using powershell. they call it hex, but if the values are in decimal, it isn't hex.
# to decimal dump.
[byte[]] $hex = get-content -encoding byte -path payload.exe
[System.IO.File]::WriteAllLines("dump.txt", ([string]$hex))
# from decimal dump.
[string]$hex = get-content -path dump.txt
[Byte[]] $temp = $hex -split ' '
[System.IO.File]::WriteAllBytes("payload.exe", $temp)
8 bits: PowerShell Hex viewer - if you have the Pscx, then you also have format-hex -StringEncoding ASCII -hideheader -hideaddress -hideascii
Convert Hexadecimal to ASCII Using PowerShell - Hey, Scripting Guy! Blog - Site Home - TechNet Blogs - Superhero BATCHman defeats evil Hextor and converts hexadecimal to ASCII to retrieve passwords.
hex to ascii using powershell | windows hex to ascii
Convert Hexadecimal to ASCII Using PowerShell - Hey, Scripting Guy! Blog - Site Home - TechNet Blogs
active directory - PowerShell - Convert hex to string (AD export) - Stack Overflow
[System.Text.UTF8Encoding]::UTF8.GetString( ( "YOURHEXHERE" -split '(..)' | ? { $_ } | % {[BYTE]( [CONVERT]::toint16($_,16)) } ) )
hex dump from linux|unix cmdline
Doing a Reverse Hex Dump | Linux Journal - You can use xxd to dump binary files just like hexdump and od, but you can also use it to do the reverse: turn a hex dump back into binary.
Hex related questions & answers
How can I view the binary contents of a file natively in Windows 7? (Is it possible.) - Super User
Hex editors for Windows? - Super User
Hex dump implemented in various languages
C#: file hex dump application
Created: 2013-09-02 19:56:32
Modified: 2013-09-03 01:16:49