<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Home on cocacoding</title><link>https://www.cocacoding.com/</link><description>Recent content in Home on cocacoding</description><generator>Hugo</generator><language>en-us</language><managingEditor>contact@cocacoding.com (cocacoding)</managingEditor><webMaster>contact@cocacoding.com (cocacoding)</webMaster><lastBuildDate>Thu, 01 Jan 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.cocacoding.com/index.xml" rel="self" type="application/rss+xml"/><item><title>Compiling rizin and r2ghidra</title><link>https://www.cocacoding.com/posts/installing-rizin/</link><pubDate>Thu, 01 Jan 2026 00:00:00 +0000</pubDate><author>contact@cocacoding.com (cocacoding)</author><guid>https://www.cocacoding.com/posts/installing-rizin/</guid><description>&lt;p&gt;If you are looking to set up a powerful reverse engineering environment on Linux, combining &lt;strong&gt;Rizin&lt;/strong&gt; with the &lt;strong&gt;rz-ghidra&lt;/strong&gt; decompiler plugin is a great choice. While package managers often carry these tools, building from source ensures you have the latest features and fixes.&lt;/p&gt;
&lt;p&gt;We will set up a clean installation using a local prefix (in &lt;code&gt;~/opt&lt;/code&gt;) to keep your system directories clean.&lt;/p&gt;
&lt;h2 id="why-build-from-source"&gt;Why Build from Source?&lt;/h2&gt;
&lt;p&gt;At the time of writing, the &lt;code&gt;dev&lt;/code&gt; branch is often preferred over &lt;code&gt;stable&lt;/code&gt; for Rizin and its plugins due to rapid development and occasional compilation issues with stable releases. This guide follows the &lt;code&gt;dev&lt;/code&gt; branch for both projects to ensure compatibility.&lt;/p&gt;</description></item><item><title>Installing Gentoo on EFI with LUKS</title><link>https://www.cocacoding.com/posts/gentoo-efi-install/</link><pubDate>Mon, 08 Feb 2021 12:00:00 +0100</pubDate><author>contact@cocacoding.com (cocacoding)</author><guid>https://www.cocacoding.com/posts/gentoo-efi-install/</guid><description>&lt;p&gt;Installing Gentoo always introduces some pitfalls. This time we focus on EFI.&lt;/p&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;Get the installation image on a USB drive or a disc:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;dd &lt;span style="color:#66d9ef"&gt;if&lt;/span&gt;&lt;span style="color:#f92672"&gt;=&lt;/span&gt;Downloads/install-amd64-minimal-20201206T214503Z.iso of&lt;span style="color:#f92672"&gt;=&lt;/span&gt;/dev/sdh bs&lt;span style="color:#f92672"&gt;=&lt;/span&gt;4M status&lt;span style="color:#f92672"&gt;=&lt;/span&gt;progress
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then activate the network connection on the live installation OS, e.g.:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;dhcpcd eth0
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ifconfig
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then activate SSH to keep it simple. You can print the keys on the screen to check the connection from your master operating system:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;/etc/init.d/sshd restart
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ssh-keygen -lf /etc/ssh/ssh_host_ecdsa_key.pub
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now connect from your master operating system to the installation environment:&lt;/p&gt;</description></item><item><title>Writing Shellcode using the Text Section only</title><link>https://www.cocacoding.com/posts/writing-shellcode-2020/</link><pubDate>Mon, 21 Sep 2020 12:00:00 +0200</pubDate><author>contact@cocacoding.com (cocacoding)</author><guid>https://www.cocacoding.com/posts/writing-shellcode-2020/</guid><description>&lt;p&gt;Shellcode is a sequence of instructions and is usually implemented in assembly language for a given architecture. Shellcode can be used to design and formulate a payload for exploitation.&lt;/p&gt;
&lt;p&gt;Writing shellcode looks like an antiquated technique since they were used primarily to execute instructions when exploiting buffer overflows. Defense technologies like Data Execution Prevention (DEP) prevent the execution of binary code in writable memory regions. As a result, Code-Reuse attacks are the state-of-the-art strategy to construct and deliver payloads.&lt;/p&gt;</description></item><item><title>Exclude files from Eclipse indexing mechanism</title><link>https://www.cocacoding.com/posts/exclude-files-from-eclipse-indexing-mechanism/</link><pubDate>Tue, 25 Aug 2020 13:15:18 +0100</pubDate><author>contact@cocacoding.com (cocacoding)</author><guid>https://www.cocacoding.com/posts/exclude-files-from-eclipse-indexing-mechanism/</guid><description>&lt;p&gt;If you develop software using Eclipse you might noticed that the
indexing algorithm is powerful but might be reducing your setup
performance. Eclipse is slowed down when you index too many files, for
example from 3rdparty folders or other dependencies you don&amp;rsquo;t want to
have indexed.&lt;/p&gt;
&lt;h2 id="building-new-filters-in-eclipse"&gt;Building new filters in Eclipse&lt;/h2&gt;
&lt;p&gt;You can easily exclude the files by following these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Mark your project by clicking on the name in the package explorer,
use a right click to get into the context menu, select &lt;em&gt;Properties&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Go to &lt;em&gt;C/C++ General&lt;/em&gt; -&amp;gt; &lt;em&gt;Paths and Symbols&lt;/em&gt; and select the topic
Source Location in the window. Unfold your project folder and click
on &lt;em&gt;Edit Filter&amp;hellip;&lt;/em&gt; on the right hand side.&lt;/li&gt;
&lt;li&gt;Then click on &lt;em&gt;Add&amp;hellip;&lt;/em&gt; to add a filter, for example &lt;em&gt;3rdparty/&lt;/em&gt; to
remove all plugins from a project.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now your project should be faster and you should see a gray line
crossing out the folder you filtered in your package explorer.&lt;/p&gt;</description></item><item><title>Setting up a Gentoo VM for Linux Kernel Development</title><link>https://www.cocacoding.com/posts/setting-up-a-gentoo-vm-for-linux-kernel-development/</link><pubDate>Mon, 17 Aug 2020 18:05:38 +0100</pubDate><author>contact@cocacoding.com (cocacoding)</author><guid>https://www.cocacoding.com/posts/setting-up-a-gentoo-vm-for-linux-kernel-development/</guid><description>&lt;p&gt;For decent Kernel development I needed a virtual machine and a Kernel I
can control easily. Since I use gentoo for almost every system it was a
clear choice I want to use gentoo again, even though it might be a bit
time consuming to set it up.&lt;/p&gt;
&lt;p&gt;For the start I will run gentoo inside VirtualBox to set it up, but I
choose settings that allow me to run it in QEMU later.&lt;/p&gt;</description></item><item><title>Using FFmpeg to record video and audio</title><link>https://www.cocacoding.com/posts/using-ffmpeg-to-sniff-video-and-audio-from-x/</link><pubDate>Mon, 17 Aug 2020 13:42:59 +0100</pubDate><author>contact@cocacoding.com (cocacoding)</author><guid>https://www.cocacoding.com/posts/using-ffmpeg-to-sniff-video-and-audio-from-x/</guid><description>&lt;p&gt;Have you ever tried to record some video or audio and video material
using VirtualBox? Then you probably find out that the solution is too
slow for your needs. With FFmpeg you are able to record not only video
but also audio.&lt;/p&gt;
&lt;h2 id="installation"&gt;Installation&lt;/h2&gt;
&lt;p&gt;Install FFmpeg for your operating system, e.g. &lt;code&gt;sudo apt install ffmpeg&lt;/code&gt;
or if you are running gentoo Linux, do:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;emerge -av pavucontrol ffmpeg
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then launch pavucontrol, start ffmpeg in your shell (just with some
random parameters, only to see the third entry in the image below) and
change the recording device in pavucontrol to monitor the audio from
your device (third entry, &lt;strong&gt;Monitor of&lt;/strong&gt;):&lt;/p&gt;</description></item><item><title>GDPR</title><link>https://www.cocacoding.com/gdpr/</link><pubDate>Mon, 17 Aug 2020 13:03:17 +0100</pubDate><author>contact@cocacoding.com (cocacoding)</author><guid>https://www.cocacoding.com/gdpr/</guid><description>&lt;h2 id="privacy-policy"&gt;Privacy Policy&lt;/h2&gt;
&lt;p&gt;We are very delighted that you have shown interest in our enterprise.
Data protection is of a particularly high priority for the management of
the blog.cocacoding.com. The use of the Internet pages of the
blog.cocacoding.com is possible without any indication of personal data;
however, if a data subject wants to use special enterprise services via
our website, processing of personal data could become necessary. If the
processing of personal data is necessary and there is no statutory basis
for such processing, we generally obtain consent from the data subject.&lt;/p&gt;</description></item><item><title>Contact</title><link>https://www.cocacoding.com/contact/</link><pubDate>Mon, 17 Aug 2020 00:03:45 +0100</pubDate><author>contact@cocacoding.com (cocacoding)</author><guid>https://www.cocacoding.com/contact/</guid><description>&lt;p&gt;The best way to contact me is via mail, but feel free to reach out to me
on LinkedIn or Twitter.&lt;/p&gt;</description></item><item><title>About</title><link>https://www.cocacoding.com/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>contact@cocacoding.com (cocacoding)</author><guid>https://www.cocacoding.com/about/</guid><description>&lt;p&gt;I mostly write about information security related topics and system programming.
The site is built with Hugo and the Toigian theme.&lt;/p&gt;</description></item></channel></rss>