Skip to content

Instantly share code, notes, and snippets.

View c3rb3ru5d3d53c's full-sized avatar
😇
Malware Hunter Killer

c3rb3ru5 c3rb3ru5d3d53c

😇
Malware Hunter Killer
View GitHub Profile
@c3rb3ru5d3d53c
c3rb3ru5d3d53c / speechnote.sh
Created July 12, 2025 13:36
Speech Note Shortcut
# In Speech Note Settings and Accessibility Enable
# "Use Global Keyboard Shortcuts"
# "Allow external applications to invoke actions"
# Install wl-copy and wl-paste as well
# Then add the following command to your desktop environment as a custom shortcut
bash -c 'wl-copy < /dev/stdin <<< "$(wl-paste --primary)"; flatpak run net.mkiol.SpeechNote --start-in-tray --action start-reading-text --text "$(wl-paste | tr "\n" " ")"'
# Now you can do your shortcut on selected text in any app, the text is copied, then read with speech note directly
@c3rb3ru5d3d53c
c3rb3ru5d3d53c / bltensor.py
Created November 11, 2024 19:05
Binlex Training with Tensorflow Test
#!/usr/bin/env python
import sys
import json
import onnx
import glob
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
os.environ["GRPC_VERBOSITY"] = 'error'
#!/usr/bin/env bash
# Author: @c3rb3ru5d3d53c
# Requires: ffplay, piper
# piper : https://github.com/rhasspy/piper
# Global Variable Configuration
PIPER=/home/c3rb3ru5/Tools/piper/piper
PIPER_VOICE=/home/c3rb3ru5/Tools/piper/piper-voices/en/en_US/hfc_female/medium/en_US-hfc_female-medium.onnx
PIPER_PITCH=1
@c3rb3ru5d3d53c
c3rb3ru5d3d53c / init.lua
Last active November 24, 2023 12:11
NeoVIM Config
--[[
NeoVIM NVChad Configuration Setup
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt update
sudo apt install -y neovim clangd python-is-python3 python3-pip
sudo pip install pyright
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
curl https://gist.github.com/c3rb3ru5d3d53c/init.lua >> ~/.config/nvim/init.lua
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/DroidSansMono.zip
unzip DroidSansMono.zip -d ~/.fonts/
@c3rb3ru5d3d53c
c3rb3ru5d3d53c / aihelper.sh
Last active January 18, 2025 06:49
Linux AI with TTS Helper
#!/usr/bin/env bash
# AI Helper powered by ollama AI and piper TTS
# Author: @c3rb3ru5d3d53c
# Requires: ffplay, ollama and piper
# ollama: https://github.com/jmorganca/ollama
# piper : https://github.com/rhasspy/piper
# start ollama first with ollama serve
# Global Variable Configuration
@c3rb3ru5d3d53c
c3rb3ru5d3d53c / findyara.py
Last active June 19, 2023 12:19
Find YARA Matches with Ghidra
#Find YARA Matches
#@author @c3rb3ru5d3d53c
#@category YARA
#@keybinding
#@menupath
#@toolbar
import yara
from dataclasses import dataclass
@c3rb3ru5d3d53c
c3rb3ru5d3d53c / cipherit.py
Created June 11, 2023 02:51
CipherIT Extractor
#!/usr/bin/env python
# pip install malduck
import re
import argparse
from malduck import lznt1, rc4
__version__ = '1.0.0'
__author__ = '@c3rb3ru5d3d53c'
@c3rb3ru5d3d53c
c3rb3ru5d3d53c / pikabot.yara
Created March 3, 2023 01:17
PikaBot YARA Signature
rule pikabot_0 {
meta:
author = "@c3rb3ru5d3d53c"
description = "Detects PikaBot"
created = "2023-03-02"
tlp = "white"
rev = 1
strings:
$trait_0 = {
8d 85 ?? ?? ?? ?? 89 b5 ?? ?? ?? ?? 50 8d 85 ??
@c3rb3ru5d3d53c
c3rb3ru5d3d53c / ghidra_python.md
Last active January 21, 2023 15:35
Ghidra Python Cheatsheet

Ghidra Python Cheatsheet

This is a cheatsheet I use for Ghidra scripting.

NOTE: Some of these functions use each other 😄

Get Python Bytes from Address

def get_bytes(address, size):
#! /usr/bin/env python3
import os, sys
#import requests
from urllib import request
import traceback
from shutil import copyfile
from hashlib import md5
import binascii