Skip to content

Instantly share code, notes, and snippets.

View fxb-cocacoding's full-sized avatar

Felix Bilstein fxb-cocacoding

View GitHub Profile
@fxb-cocacoding
fxb-cocacoding / install_rizin.md
Last active February 25, 2026 22:33
Installation of rizin and rz-ghidra

The ghidra plugin rz-ghidra is matching the branch in rizin main project, so dev follows dev and stable follows stable.

We use dev for now, stable did not compile when I tested last time.

First, lets get rizin. Make sure you checkout the build instructions:

https://github.com/rizinorg/rizin/blob/dev/BUILDING.md I prefer to have a setup with prefixes and aliases in the shell to keep the system clean and manual installations to /usr to a minimum.

@fxb-cocacoding
fxb-cocacoding / bashrc
Created October 30, 2022 11:17
Aliases for Gentoo Maintenance
alias upgrade='emerge -qav --deep --newuse --with-bdeps=y --update --keep-going @world'
alias kernel-backup='zcat /proc/config.gz > /root/kernel-config/"kernel-"$(uname -r)"-"$(date +%Y%m%d-%H%M%S).config'
@fxb-cocacoding
fxb-cocacoding / emerge me on a new system
Last active October 30, 2022 10:22
Gentoo initial emerge call
emerge -av app-admin/gamin app-admin/logrotate app-admin/metalog app-admin/sudo app-benchmarks/wrk \
app-containers/docker app-containers/docker-cli app-containers/docker-compose app-crypt/certbot \
app-crypt/certbot-nginx app-forensics/chkrootkit app-forensics/rkhunter app-misc/screen app-misc/tmux \
app-portage/cpuid2cpuflags app-portage/eix app-portage/genlop app-portage/gentoolkit app-portage/layman \
app-portage/portage-utils app-portage/unsymlink-lib app-shells/bash-completion dev-db/mariadb \
dev-java/maven-bin dev-java/openjdk mail-client/mailx mail-mta/postfix net-analyzer/fail2ban \
net-analyzer/netcat net-analyzer/traceroute net-dns/dnsmasq net-firewall/iptables net-misc/dhcpcd \
net-misc/mosh net-misc/telnet-bsd net-vpn/wireguard-tools sys-boot/grub sys-kernel/genkernel \
sys-kernel/gentoo-sources sys-process/fcron sys-process/htop sys-process/lsof www-servers/nginx app-misc/byobu
@fxb-cocacoding
fxb-cocacoding / capa_patch
Created October 30, 2022 10:12
Patch to enable support for ApiScout and Malpedia dump set for CAPA
###
### Patch for capa to use apiscout and malpedia source (dumped malware):
### venv/lib/python3.8/site-packages/capa/main.py or just capa/main.py
### line 306
###
###
def get_extractor_py3(path, format, disable_progress=False):
from smda.SmdaConfig import SmdaConfig
from smda.Disassembler import Disassembler