Tuesday, January 23, 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



More information


  1. Hacking Tools Name
  2. Hack App
  3. Hacking Tools For Mac
  4. Nsa Hack Tools Download
  5. Pentest Tools For Android
  6. Hacker Tool Kit
  7. Pentest Tools Bluekeep
  8. Hacking Tools Windows
  9. Pentest Tools Website Vulnerability
  10. Blackhat Hacker Tools
  11. Termux Hacking Tools 2019
  12. Hacking Tools Software
  13. Hacking Tools
  14. Nsa Hack Tools
  15. Hacker
  16. Hack Tools For Mac
  17. Ethical Hacker Tools
  18. Pentest Tools Review
  19. Hack Tools
  20. Hacking App
  21. Hacking Tools For Beginners
  22. Hacker Tools
  23. How To Install Pentest Tools In Ubuntu
  24. Pentest Tools List
  25. Game Hacking
  26. Android Hack Tools Github
  27. Hacker Tools List
  28. Growth Hacker Tools
  29. Hacker Tools List
  30. Hacking Tools And Software
  31. Hack Tools Mac
  32. Hacker Search Tools
  33. Hacking Tools Github
  34. Hacker Tools For Ios
  35. Hacker Tools 2020
  36. Ethical Hacker Tools
  37. Install Pentest Tools Ubuntu
  38. Pentest Tools Download
  39. Beginner Hacker Tools
  40. Pentest Tools Windows
  41. Hacker Techniques Tools And Incident Handling
  42. Hacking Tools And Software
  43. Pentest Tools Free
  44. Hacker Tool Kit
  45. Hacking Tools For Mac
  46. Hacker Tools 2020
  47. Hacker Tools Hardware
  48. Pentest Tools Port Scanner
  49. Hacker Tools For Mac
  50. What Is Hacking Tools
  51. Usb Pentest Tools
  52. Hacking Tools Mac
  53. Hacker Tools For Ios
  54. Hackrf Tools
  55. Pentest Automation Tools
  56. Underground Hacker Sites
  57. Pentest Tools Download
  58. Hacker Tools For Pc
  59. Hacking Tools Github
  60. Hacker Tools For Windows
  61. Hacker Tools Hardware
  62. Pentest Tools For Mac
  63. Hacking Tools Hardware
  64. Best Pentesting Tools 2018
  65. Pentest Automation Tools
  66. Pentest Tools Subdomain
  67. Hacking Tools Windows
  68. Best Pentesting Tools 2018
  69. Hacker Tools
  70. Hacking Tools Mac
  71. Nsa Hacker Tools
  72. Underground Hacker Sites
  73. Best Hacking Tools 2019
  74. Hacker Tools For Mac
  75. Pentest Tools Port Scanner
  76. Pentest Tools For Android
  77. Hacker Tools Mac
  78. Hack Tools
  79. Nsa Hack Tools
  80. Free Pentest Tools For Windows
  81. Pentest Tools For Android
  82. Pentest Tools Review
  83. Pentest Tools Apk
  84. Hacking Tools Software
  85. Hacking Tools Mac
  86. Hackers Toolbox
  87. Hacker Tools For Windows
  88. Physical Pentest Tools
  89. Growth Hacker Tools
  90. Physical Pentest Tools
  91. Hacking Tools 2019
  92. Best Hacking Tools 2020
  93. Pentest Tools For Windows
  94. Pentest Tools For Android
  95. Hacking Tools For Mac
  96. Github Hacking Tools

No comments: