Skip to content

Instantly share code, notes, and snippets.

View code-zm's full-sized avatar
🧙‍♂️

ZM code-zm

🧙‍♂️
View GitHub Profile
@code-zm
code-zm / patch.py
Last active November 21, 2026 05:55
patch the cl0d binary
#!/usr/bin/env python3
"""
Usage:
python3 tools/patch.py /path/to/claude [--dry-run]
python3 tools/patch.py claude.orig -o claude.patched
"""
import argparse
import struct
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="gizmo, corporation, e-business, synergy, webmaster, cool site, Y2K ready, dot com, ecommerce, B2B, paradigm, leverage, internet, cyber">
<meta name="description" content="Welcome to Gizmo Corporation - Your #1 Source for E-Business Solutions on the World Wide Web!!!">
<title>***GIZMO CORPORATION*** ~*~Your Gateway to E-Business Excellence~*~ ***FREE MOUSE PAD WITH EVERY ORDER***</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap');

Hello everyone!

I'm sharing the current rough draft of the Nymstr Federated Discovery Protocol for feedback.

The protocol aims to:

  • Enable federated username discovery with privacy guarantees over the Nym mixnet
  • Use Merkle-based registration logs, BFT consensus, and gossip for global consistency
  • Prevent metadata leakage, replay attacks, and node equivocation
  • Support ephemeral message delivery via SURBs and rotating home nodes