Skip to content

Instantly share code, notes, and snippets.

View Informatic's full-sized avatar
🤔
excuse me, is this facebook

Piotr Dobrowolski Informatic

🤔
excuse me, is this facebook
View GitHub Profile
# Looks for matching libraries in current project and automatically assigns to current program.
# "Link existing project libraries" doesn't seem to fully work when using bulk import, and this
# pretty much reimplements this.
#
# After running this script you will probably want to use FixupELFExternalSymbolsScript.java too.
#
#@author infowski
#@category Symbol
#@keybinding F11
#@menupath
@Informatic
Informatic / WaylandGenerateProtocols.py
Last active March 3, 2023 12:00
Ghidra script to extract wayland protocols definition from wayland-scanner generated client library. Run this on an (opened and analysed) libwebos-*-client.so library.
# This Ghidra script will attempt to extract wayland protocol/interfaces
# definitions xml from wayland-scanner-generated built client library.
#
# This should properly handler interfaces, methods and events, and their arg
# types and order. Argument names or descriptions cannot be extracted.
#
# @author infowski
# @category _NEW_
# @keybinding
# @menupath
@Informatic
Informatic / README.md
Last active February 1, 2026 10:34
awesome-hardware/awesome-bluepill/awesome-rp2040 bullshit

This is a quick list of cool payloads that can be pushed onto some common MCU boards to turn these them into actually useful everyday hacking tools.

// This ClusterRole is bound to all humans that log in via prodaccess/prodvider/SSO.
// It should allow viewing of non-sensitive data for debugability and openness.
crViewer: kube.ClusterRole("system:viewer") {
rules: [
{
apiGroups: [""],
resources: [
"nodes",
"namespaces",
"pods",
import <nixpkgs> {
overlays = [
(final: prev: {
gst_all_1 = prev.gst_all_1 // {
gst-plugins-base = prev.gst_all_1.gst-plugins-base.overrideAttrs (p: {
buildInputs = p.buildInputs ++ [ pkgs.libdrm ];
});
};
})
];
from hashlib import sha1
import hmac
import binascii
import time
import struct
ploy = "..."
secret = binascii.unhexlify(b"...")
now = struct.pack(">Q", round(time.time() / 30))
@Informatic
Informatic / timeline-filter.py
Last active October 18, 2025 11:55
Quick tool to filter Android Timeline.json export by date. Local timeline can be exported using Settings → Location → Location Services → Timeline → Export Timeline data.
import json
import sys
import datetime
import argparse
import logging
logging.basicConfig(level=logging.DEBUG)
p = argparse.ArgumentParser()
p.add_argument("--from", type=datetime.datetime.fromisoformat, dest="from_")
@Informatic
Informatic / README.md
Created April 21, 2026 19:33
Wyse 3040 USB Gadget hack

Wyse 3040 USB3 front port can be used for USB Gadget ("device").

This probably applies to other Bay/Cherry Trail-based devices (Z8350).

Prerequisites

Usage

  • Boot UEFI Shell