Skip to content

Instantly share code, notes, and snippets.

View Day-OS's full-sized avatar
🌺
😊 Life gud

Daniela Day-OS

🌺
😊 Life gud
View GitHub Profile
@Day-OS
Day-OS / search_exported_function.py
Created August 13, 2025 13:57
Ghidra Search for Exported functions through all objects in a project
#@author
#@category Function Search
#@keybinding
#@menupath
#@toolbar
from ghidra.util.task import TaskMonitor
from ghidra.framework.model import DomainFolder
def find_o_files(folder):
@Day-OS
Day-OS / zomboid-mod-downloader.sh
Created February 3, 2024 02:30
Simple Mod downloader for Project Zomboid dedicated server (STEAM > NO-STEAM)
#This is a simple script that downloads every mod from the "WorkshopItems" List, it is intended as a way for a fast conversion from a steam setup to a non-steam setup!
#STEAM_CMD_EXECUTABLE=./steamcmd/steamcmd.sh
#SERVER_INI=./Zomboid/Server/DayTheIPC.in
#STEAM_DIR=/home/ubuntu/Steam/
MODS_FOLDER=$(dirname -- $(dirname -- "$SERVER_INI"))/mods
VARIABLE_NOT_SET=0
if [[ -z "$STEAM_DIR" ]]; then
@Day-OS
Day-OS / BukkitSerialization.java
Created March 19, 2023 01:08 — forked from graywolf336/BukkitSerialization.java
Serialize and deserialize the player's inventory, including armor and content.
/**
* Converts the player inventory to a String array of Base64 strings. First string is the content and second string is the armor.
*
* @param playerInventory to turn into an array of strings.
* @return Array of strings: [ main content, armor content ]
* @throws IllegalStateException
*/
public static String[] playerInventoryToBase64(PlayerInventory playerInventory) throws IllegalStateException {
//get the main content part, this doesn't return the armor
String content = toBase64(playerInventory);