Sunday, January 21, 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. Top Pentest Tools
  2. What Are Hacking Tools
  3. What Is Hacking Tools
  4. World No 1 Hacker Software
  5. Hacker Hardware Tools
  6. Hacker
  7. Nsa Hack Tools Download
  8. Pentest Recon Tools
  9. Tools 4 Hack
  10. Hacker Tools Hardware
  11. Github Hacking Tools
  12. Hacking Tools Usb
  13. Black Hat Hacker Tools
  14. Hacking Tools Download
  15. Hacker Tools For Pc
  16. Hacker Hardware Tools
  17. Pentest Tools Find Subdomains
  18. Hack Apps
  19. How To Make Hacking Tools
  20. Hacking Tools
  21. Pentest Tools Website Vulnerability
  22. Hacking Tools Windows
  23. Hacking App
  24. How To Make Hacking Tools
  25. Hacker Hardware Tools
  26. Hacker Security Tools
  27. Hackers Toolbox
  28. Hacker Tools Github
  29. Hacking Tools Windows 10
  30. Hack And Tools
  31. Hack And Tools
  32. Best Hacking Tools 2019
  33. Bluetooth Hacking Tools Kali
  34. Nsa Hack Tools Download
  35. Hak5 Tools
  36. Hacking Tools For Windows Free Download
  37. Blackhat Hacker Tools
  38. Hack Rom Tools
  39. Hacker Hardware Tools
  40. Pentest Automation Tools
  41. Growth Hacker Tools
  42. Hacking Tools Github
  43. Pentest Tools Online
  44. Hack App
  45. Pentest Tools Github
  46. Install Pentest Tools Ubuntu
  47. Pentest Tools Url Fuzzer
  48. Blackhat Hacker Tools
  49. Pentest Box Tools Download
  50. Hacks And Tools
  51. Black Hat Hacker Tools
  52. Hacking Tools Github
  53. Tools For Hacker
  54. Hacker Tools 2019
  55. Blackhat Hacker Tools
  56. Computer Hacker
  57. Pentest Tools For Mac
  58. Hacking Tools For Windows Free Download
  59. Black Hat Hacker Tools
  60. Hacker Tools For Ios
  61. Hacking Tools For Beginners
  62. Hack Tools
  63. Hacking Tools For Mac
  64. Usb Pentest Tools
  65. Pentest Tools
  66. Hacker Tools Online
  67. Pentest Tools For Mac
  68. Hack Tools Download
  69. Hacking Tools Name
  70. Nsa Hack Tools Download
  71. Hacker Tools Github
  72. Hack Tools For Pc
  73. Hacker Tools Free Download
  74. Hacker Tools List
  75. Pentest Tools Nmap
  76. Pentest Tools Review
  77. Hacker
  78. Pentest Tools Url Fuzzer
  79. Pentest Tools Open Source
  80. Hacker Tools Free Download
  81. Hacker Tools For Windows
  82. Hack Tools For Ubuntu
  83. Android Hack Tools Github
  84. Tools For Hacker
  85. Hack Tools Mac
  86. Best Pentesting Tools 2018
  87. Pentest Tools For Mac
  88. Hacking Tools 2020
  89. Hacking Tools For Pc
  90. Hacking Tools For Games
  91. Usb Pentest Tools
  92. Hack Apps
  93. Usb Pentest Tools
  94. Blackhat Hacker Tools
  95. Hack Tool Apk
  96. Game Hacking
  97. Hacking Tools Software

No comments:

Post a Comment