Sunday, 4 June 2023

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. Hackers Toolbox
  2. Easy Hack Tools
  3. Hacker Tools 2020
  4. Pentest Tools Framework
  5. How To Install Pentest Tools In Ubuntu
  6. Kik Hack Tools
  7. Pentest Tools List
  8. Hacking Tools For Mac
  9. Pentest Reporting Tools
  10. Hack Tools Mac
  11. Black Hat Hacker Tools
  12. Pentest Box Tools Download
  13. Hack Tools
  14. Physical Pentest Tools
  15. Hacking Apps
  16. Pentest Recon Tools
  17. Ethical Hacker Tools
  18. Hacker Tools Free
  19. Kik Hack Tools
  20. Hacks And Tools
  21. Hacker Hardware Tools
  22. Pentest Tools Website
  23. Hack Tools Mac
  24. Pentest Tools Review
  25. Hacking Tools For Windows Free Download
  26. Free Pentest Tools For Windows
  27. Hacking Tools For Windows 7
  28. Pentest Tools Apk
  29. Termux Hacking Tools 2019
  30. Pentest Tools Nmap
  31. Hacks And Tools
  32. Hacking Tools For Mac
  33. Hack Tools Github
  34. Pentest Tools For Windows
  35. Hacking Tools For Kali Linux
  36. Pentest Automation Tools
  37. Hacking Tools Windows
  38. Hacking Tools For Windows 7
  39. Pentest Tools Bluekeep
  40. Growth Hacker Tools
  41. Hacking App
  42. Hack Tools Github
  43. Hacking Tools Windows
  44. Hack Tools Online
  45. Hacker Tools 2019
  46. Hacking Tools For Windows Free Download
  47. Pentest Tools Website
  48. Hacker Tools For Windows
  49. Hack Tools For Windows
  50. Hack Tools Mac
  51. Pentest Tools For Mac
  52. Hacker Tools Hardware
  53. Hacker Tools Hardware
  54. Pentest Tools Online
  55. Hacker Techniques Tools And Incident Handling
  56. Hacking Tools For Windows
  57. Ethical Hacker Tools
  58. Hack Tools
  59. Hacks And Tools
  60. Hacking Tools For Pc
  61. Hack Tools For Mac
  62. Hacking Tools Kit
  63. Hacking Tools For Windows Free Download
  64. Hacker Tools Mac
  65. Hacking Tools For Kali Linux
  66. Hacking Tools Online
  67. New Hack Tools
  68. Pentest Box Tools Download
  69. Hack Tools For Pc
  70. Nsa Hack Tools
  71. Hack Tools Mac
  72. Hacker Tools 2020
  73. Hacking Tools Software
  74. Hacker Tools Mac
  75. Easy Hack Tools
  76. Underground Hacker Sites
  77. Hacking Tools Kit
  78. Hack Tools For Games
  79. How To Hack
  80. Hacker Tools Apk Download
  81. Pentest Tools For Windows
  82. Install Pentest Tools Ubuntu
  83. Hacking Tools 2019
  84. Hack Apps
  85. Hacker Tools Apk
  86. Hacker Tools List
  87. Black Hat Hacker Tools
  88. Pentest Tools Subdomain
  89. Hack Tools Mac
  90. Black Hat Hacker Tools
  91. Hacking Tools Name
  92. Hacking Tools For Games
  93. Hacking Tools For Mac
  94. Hacking Tools For Kali Linux
  95. Hacker Tools Linux
  96. Pentest Tools Linux
  97. Pentest Tools Windows
  98. Underground Hacker Sites
  99. Hack Tool Apk
  100. Hack App
  101. Hack Tools
  102. Hacking Tools Usb
  103. Hacker Tools List
  104. Hacking Tools 2020
  105. Hacker Tools 2019
  106. Nsa Hack Tools
  107. What Are Hacking Tools
  108. Hack Tools For Windows
  109. Black Hat Hacker Tools
  110. Hacker Tools 2020
  111. Termux Hacking Tools 2019
  112. Pentest Tools Review
  113. Pentest Tools Download
  114. Hacking Tools Windows 10
  115. New Hack Tools
  116. Hack Tool Apk
  117. Hack Tools Pc
  118. Pentest Recon Tools
  119. Hacking Tools Name
  120. Hacker Hardware Tools
  121. Hacking Tools Online
  122. Hack Tools Mac
  123. Hak5 Tools
  124. Underground Hacker Sites
  125. Hacker Tools Github
  126. Hacker Tools Software
  127. Pentest Tools Nmap
  128. Pentest Tools Website
  129. Physical Pentest Tools
  130. Pentest Tools Kali Linux
  131. Growth Hacker Tools
  132. Hacker Tools For Mac
  133. Hacks And Tools
  134. Hacking Tools Github
  135. Hacker Tools For Pc
  136. Github Hacking Tools
  137. Computer Hacker
  138. Hacking Tools Github
  139. Hack Tools For Mac
  140. Free Pentest Tools For Windows
  141. Hacking Tools For Windows
  142. Hacking App

No comments:

Post a Comment