{"id":1552,"date":"2021-12-16T12:56:00","date_gmt":"2021-12-16T09:56:00","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/05\/14\/how-to-set-up-a-hex-editor-on-kali-linux\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/05\/14\/how-to-set-up-a-hex-editor-on-kali-linux\/"},"modified":"2021-12-16T12:56:00","modified_gmt":"2021-12-16T09:56:00","slug":"how-to-set-up-a-hex-editor-on-kali-linux","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1552-how-to-set-up-a-hex-editor-on-kali-linux\/","title":{"rendered":"How to set up a hex editor on Kali Linux"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>If you use Kali Linux, you may need to edit hexadecimal files at times. Thankfully, there are a few options for hex editing on Kali Linux. In this guide, we\u2019ll go over these options and how to set them up.<\/p>\n<h2><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-401845 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-a-hex-editor-on-kali-linux.png\" alt=\" hex editor on Kali Linux\" width=\"1200\" height=\"689\"\/><\/h2>\n<h2>Option 1 \u2013 GHex<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-401844 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-a-hex-editor-on-kali-linux-1.png\" alt=\"\" width=\"1200\" height=\"867\"\/><\/p>\n<p>The best option for Hex Editing on Kali Linux is with the GHex tool. It\u2019s included in the Kali sources (based upon Debian Testing), so there\u2019s not a huge deal involved in getting it up and running.\u00a0<\/p>\n<p>To get started with the software, you\u2019ll need to open up a terminal window on the Kali Linux desktop. To do this, you can press the\u00a0<strong>Ctrl + Alt + T\u00a0<\/strong>keyboard combination. Alternatively, search for \u201cTerminal\u201d in the app menu, and launch it that way.<\/p>\n<p>With the terminal window open and ready to use, type in <strong>apt install\u00a0<\/strong>for the \u201cghex\u201d package. This command will get the program working on your computer.<\/p>\n<pre>\nsudo apt install ghex\n<\/pre>\n<p>Upon entering the command above, Kali Linux will prompt you to enter your password. You\u2019ll need to do this, as the\u00a0<strong>sudo\u00a0<\/strong>command is a root command, and it will not work without it.<\/p>\n<p>Enter your password. After you finish entering it, the terminal will begin to collect the \u201cghex\u201d package, as well as all of the dependency files and packages required to use Ghex. This process shouldn\u2019t take long.<\/p>\n<p>When everything is ready, you\u2019ll be prompted to press the\u00a0<strong>Y\u00a0<\/strong>button on the keyboard to confirm to Kali you want to install Ghex. Do so, and the Ghex hex editing tool will be up and running on your system.<\/p>\n<p>To use Ghex on Kali, open up the app menu, then search for \u201cGhex.\u201d\u00a0<\/p>\n<h2>Option 2 \u2013 HexPad<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-401845 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-a-hex-editor-on-kali-linux.png\" alt=\"\" width=\"1200\" height=\"689\"\/><\/p>\n<p>If GHex isn\u2019t your thing and you still need to get a hexadecimal editor up and running on your Kali Linux installation, another great option to look at is HexPad. It\u2019s a simple, text-only hex editor on the Ubuntu Snap Store.<\/p>\n<p>Why use a hex editor tool from the Snap Store on a security distribution like Kali, you ask? Well, Snaps are all sandboxed, so the code inside of the snap package can\u2019t touch the rest of your OS. That\u2019s pretty good security in my book.<\/p>\n<p>To get going with HexPad, you\u2019ll first need to install the Snap runtime on Kali. Here\u2019s how to do it. First, open up a terminal window on the Kali desktop by pressing\u00a0<strong>Ctrl + Alt + T<\/strong>\u00a0or by searching for \u201cTerminal.\u201d<\/p>\n<p>Note: below is a brief explanation on how to set up Snap packages on Kali Linux. If you need more information on Snap, please check out our guide on setting up Snaps on Linux.<\/p>\n<p>Once the terminal window is open, install the \u201csnapd\u201d package with the command below.<\/p>\n<pre>\nsudo apt install snapd\n<\/pre>\n<p>After installing the software, enable the \u201csnapd.socket\u201d file using the\u00a0<strong>systemctl\u00a0<\/strong>command below.<\/p>\n<pre>\nsudo systemctl enable snapd.socket\n<\/pre>\n<p>Start up the \u201csnapd.socket\u201d file using the\u00a0<strong>systemctl\u00a0<\/strong>command below.\u00a0<\/p>\n<pre>\nsudo systemctl start snapd.socket\n<\/pre>\n<p>With the \u201csnapd.socket\u201d file enabled, add Snap to your path with the\u00a0<strong>echo<\/strong> command below.<\/p>\n<pre>\nexport PATH=\"$PATH:\/snap\/bin\"\n<\/pre>\n<p>After adding Snap to your path, you\u2019ll have to install App Armor. Without AppArmor, Kali may block Snap packages from executing.<\/p>\n<pre>\nsudo apt install apparmor\n<\/pre>\n<p>Finally, after setting up App Armor, you\u2019ll be able to install the HexPad hex editor using the <strong>snap install\u00a0<\/strong>command below.<\/p>\n<pre>\nsudo snap install hexpad\n<\/pre>\n<p>To access the HexPad editor, enter the\u00a0<strong>hexpad\u00a0<\/strong>command below in a terminal window.<\/p>\n<pre>\nhexpad\n<\/pre>\n<h2>Option 3 \u2013 Okteta<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-401860 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-a-hex-editor-on-kali-linux-3.png\" alt=\"\" width=\"1200\" height=\"804\"\/><\/p>\n<p>A third option for editing hexadecimal files is Okteta. It\u2019s a KDE application, but it works on Kali just fine, and it is included in the Kali Linux software sources. To get going with this application, launch a terminal window by pressing\u00a0<strong>Ctrl + Alt + T\u00a0<\/strong>on the keyboard or search for \u201cTerminal\u201d in the app menu.<\/p>\n<p>With the terminal window open, the installation can begin. In the terminal, use the <strong>apt install\u00a0<\/strong>command to install the \u201cokteta\u201d package in Kali.\u00a0<\/p>\n<pre>\nsudo apt install okteta\n<\/pre>\n<p>After entering the command above, Kali will prompt you to enter your password. Kali asks for your password because <strong>sudo\u00a0<\/strong>is a root command, and a regular user cannot perform root functions without a password.<\/p>\n<p>Once you\u2019ve entered your password, Kali will begin to collect all of the dependencies needed to install Okteta, as well as the \u201cokteta\u201d package. When everything is ready, you\u2019ll be prompted to press\u00a0<strong>Y\u00a0<\/strong>to continue. Do so to install the packages.<\/p>\n<p>Installing Okteta on Kali will only take a couple of seconds, as the files are tiny. When the installation process is complete, close the terminal window. To use the Okteta hex editor on Kali, look for \u201cOkteta\u201d in the app menu, and launch it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles If you use Kali Linux, you may need to edit hexadecimal files at times. Thankfully, there are a few options for hex editing on Kali Linux. In this guide, we\u2019ll go over these options and how to set them up. Option 1 \u2013 GHex The best option for Hex Editing on Kali Linux &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1553,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[33],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1552"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1552"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1552\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1553"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}