Skip to content
This repository was archived by the owner on Mar 16, 2022. It is now read-only.
/ hexascii2bin Public archive

Script for creating binaries from an hex string. Takes a file with an hex string and creates a new one with those hex values

License

Notifications You must be signed in to change notification settings

regi18/hexascii2bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

hexascii2bin

Script for creating binaries from an hex string. Takes a file with an hex string and creates a new one with those hex values

For Example: you have a .txt file with an hex sequence, e.g. "18fe00080100080404080705080805080", and you want to encode that sequence into the file itself instead of considering it as ascii

usage: hexascii2bin.py file [output file]

Use case example:

For example, in CTFs, if they stream a file via netcat (or similar) as a hex string, you can use this script to convert it to a binary file.

About

Script for creating binaries from an hex string. Takes a file with an hex string and creates a new one with those hex values

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages