Humour In Verse

From The warped mind of Emac

Wednesday, January 24, 2024

Fhex - A Full-Featured HexEditor

This project is born with the aim to develop a lightweight, but useful tool. The reason is that the existing hex editors have some different limitations (e.g. too many dependencies, missing hex coloring features, etc.).


This project is based on qhexedit2, capstone and keystone engines. New features could be added in the future, PRs are welcomed.

Features
  • Chunks loader - Used to load only a portion of large files without exhaust the memory (use alt + left/right arrows to move among chunks). Please note that in chunk mode, all the operations (e.g. search) applies only to the current chunk except for file save (the entire file is saved). However, each time you edit a chunk, save it before to move to another chunk, otherwise you will lose your changes.
  • Search and replace (UTF-8, HEX, regex, reverse search supported) [CTRL + F]
  • Colored output (white spaces, ASCII characters, 0xFF, UTF-8 and NULL bytes have different colors)
  • Interpret selected bytes as integer, long, unsigned long [CTRL + B]
  • Copy & Paste [CTRL + C and CTRL + V]
  • Copy selected unicode characters [CTRL + Space]
  • Zeroing all the selected bytes [Delete or CTRL + D]
  • Undo & Redo [CTRL + Z and CTRL + Y]
  • Drag & Drop (Hint: Drag&Drop two files to diff them)
  • Overwrite the same file or create a new one [CTRL + S]
  • Goto offset [CTRL + G]
  • Insert mode supported in order to insert new bytes instead to overwrite the existing one [INS]
  • Create new instances [CTRL + N]
  • Basic text viewer for the selected text [CTRL + T]
  • Reload the current file [F5]
  • Compare two different files at byte level
  • Browsable Binary Chart (see later for details) [F1]
  • Hex - Dec number converter [F2]
  • Hex String escaper (e.g from 010203 to \x01\x02\x03) [F3]
  • Pattern Matching Engine (see later for details)
  • Disassebler based on Capstone Engine [F4]
  • Assembler based on Keystone Engine [F4]
  • Zoom-Out/Zoom-In bytes view (CTRL + Up/Down or CTRL + -/+)
  • Shortcuts for all these features
Pattern Matching Engine

Fhex can load at startup a configuration file (from ~/fhex/config.json) in JSON format with a list of strings or bytes to highlight and a comment/label to add close to the matches.

Examples:

{
"PatternMatching":
[
{
"string" : "://www.",
"color" : "rgba(250,200,200,50)",
"message" : "Found url"
},
{
"bytes" : "414243",
"color" : "rgba(250,200,200,50)",
"message" : "Found ABC"
}
]
}

To activate pattern matching press CTRL + P At the end, Fhex will show also an offset list with all the result references. Note: Labels with comments are added only if the window is maximized, if labels are not displayed correctly please try to run pattern matching again.

Binary Chart

Fhex has the feature to chart the loaded binary file (Note: In order to compile the project, now you need also qt5-charts installed on the system). The y-axis range is between 0 and 255 (in hex 0x0 and 0xff, i.e. the byte values). The x-axis range is between 0 and the filesize.

The chart plots the byte values of the binary file and let you focus only on the relevant sections. For example, if in a binary file there is an area full of null bytes, you can easily detect it from the chart.

License

GPL-3



Related articles


  1. Hack Tools
  2. Hacker Hardware Tools
  3. Game Hacking
  4. Pentest Tools Windows
  5. Hacking Tools Software
  6. Hacking Apps
  7. Hack Tools Download
  8. Hack Apps
  9. Tools 4 Hack
  10. Hacker Techniques Tools And Incident Handling
  11. Hacker Tools Free Download
  12. Hacker Tools For Ios
  13. Android Hack Tools Github
  14. Hack Tools Mac
  15. Pentest Tools For Android
  16. Pentest Tools Free
  17. Hacking App
  18. Hack Tools For Windows
  19. Hacking Tools Hardware
  20. Hacker Tools Hardware
  21. Hacking Tools For Games
  22. Pentest Reporting Tools
  23. Hacker Tools
  24. Pentest Tools Website Vulnerability
  25. Kik Hack Tools
  26. Pentest Tools Windows
  27. Hacker Security Tools
  28. Hacker Tool Kit
  29. Pentest Tools Framework
  30. Pentest Recon Tools
  31. What Are Hacking Tools
  32. Hacker Tools For Windows
  33. Hack Tools Mac
  34. Hacker Tools Software
  35. Hacking App
  36. Hacker Tools Free
  37. Easy Hack Tools
  38. Pentest Automation Tools
  39. Pentest Tools Windows
  40. Hacking Tools Download
  41. Pentest Tools Apk
  42. Hack Tools For Ubuntu
  43. Hacker Tool Kit
  44. How To Hack
  45. New Hack Tools
  46. Pentest Tools Alternative
  47. Hack Tool Apk No Root
  48. Pentest Tools Tcp Port Scanner
  49. Hacking Tools Github
  50. Hak5 Tools
  51. Hacker Tools For Ios
  52. Android Hack Tools Github
  53. Hacker Tools 2019
  54. What Is Hacking Tools
  55. Hak5 Tools
  56. Hacker
  57. Hack Tools Mac
  58. Best Pentesting Tools 2018
  59. How To Hack
  60. Top Pentest Tools
  61. Tools Used For Hacking
  62. Pentest Tools Tcp Port Scanner
  63. Hacking Tools Kit
  64. Easy Hack Tools
  65. Growth Hacker Tools
  66. Tools 4 Hack
  67. Pentest Tools Free
  68. New Hacker Tools
  69. Hack Tools Github
  70. Pentest Tools Online
  71. Hacking Tools Kit
  72. Pentest Tools Download
  73. Hacks And Tools
  74. Pentest Tools Bluekeep
  75. Hacker Tools Github
  76. Hacker Tools Online
  77. Hack Tool Apk No Root
  78. Pentest Tools Nmap
  79. Easy Hack Tools
  80. Physical Pentest Tools
  81. Hacking Tools
  82. Hacking Tools Name
  83. Hacker Search Tools
  84. Hackrf Tools
  85. Pentest Tools Url Fuzzer
  86. Pentest Tools For Windows
  87. Hacking Tools For Mac
  88. New Hacker Tools
  89. Hacking Tools For Games
  90. Pentest Tools Open Source
  91. Hacking Tools For Windows

0 Comments:

Post a Comment

<< Home