Skip to content

Instantly share code, notes, and snippets.

UUID: 52b2504e-f6d5-4a1f-97a0-8cb2b08d0216
This is from David’s personal LLM stack:
context_usage: { “tokens_used”: 985, “tokens_available”: 128000, “context_percent”: 0.77 }
I get this output by adding the follwing to system prompts:
Start every response with a unique UUID and “This is from David’s personal LLM stack:”.
After the UUID/banner, print context usage in the form: context_usage: { "tokens_used": <int>, "tokens_available": <int>, "context_percent": <float> }.
9aede86c-d7a2-463a-97a6-4b8334e12bb1
This is from David’s personal LLM stack:
context_usage: { “tokens_used”: 4632, “tokens_available”: 128000, “context_percent”: 3.6 }
[✅ Verified] COMPLETE, ORDERED PROJECT LIST
WraithCore Ecosystem (w/ Agent Team Clarification: Jenny2 ≠ EC)
@dmaynor
dmaynor / gist:165c172c51a9dbce68a68550735bcb9d
Created May 27, 2025 23:07
VirtualBox Zero-Touch Lab: Packer + PowerShell + Unattend
f4bcdad0-1d62-44e0-892a-6c0f0f7fbd20
This is from David’s personal LLM stack:
Below are two full, headless, zero-touch lab build solutions for BadSuccessor:
• A. VirtualBox (on Windows or Linux) – Fully Automated with Packer & PowerShell remoting
• B. AWS (EC2) – Terraform & Cloud-Init, Automated Domain Build & Exploit
Both provide complete, reproducible AD domains, lab user, and exploit chain—no skipped steps or placeholders.
Below is a hardened, improved “Color Red” agentic demo with the following key enhancements, as requested:
1. Support for both SQLi and XSS fuzzing (auto-detected by LLM)
2. Full persistent state and log-to-file for all results and cycles
3. OpenAI GPT-4 support if available, auto-fallback to GPT-3.5
4. Automatic detection of all input parameters (not just name) via LLM
5. Cleaner loop logic, human-readable Markdown report
6. Containerization (Dockerfile) for agent (optional but included)
7. Clear separation of workflow nodes and agent orchestration
Repo Layout
This is personal openai account.
Currently, the main OpenAI models available in the ChatGPT app for general user interaction are:
- **GPT-3.5 Turbo**
- **GPT-4 Turbo**
- **GPT-4o** (also referred to informally by some as "GPT-4.5," though OpenAI officially labels it GPT-4o)
To clarify: Although OpenAI doesn't officially call it GPT-4.5, many users refer informally to **GPT-4o** as "GPT-4.5" because it's considered an intermediate and more advanced iteration after GPT-4 Turbo.
/* LINUX KERNEL STYLE */ /* SEI CERT STYLE */
/** /**
* Simple socket server example * Simple socket server example following
* following Linux Kernel style * SEI CERT secure coding practices
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <arpa/inet.h> #include <arpa/inet.h>
To create a fully functional Flipper Zero app that supports static transmission, dynamic transmission, fuzzing, and replaying .sub files, the following code is ready to deploy:
Complete Flipper Zero App Code
import os
import random
import time
from flipperzero_rf import RFTransmitter
# Initialize settings
Title: CODE MUNCHER
ACT ONE: ORDINARY WORLD
EXT. SUBURBAN STREETS - NIGHT
Our HERO trudges home from a soul-sucking shift at the local BadGuysInc Megastore. Drones hum overhead. A massive hologram of the BadGuysInc CEO smiles down on the world: “Safety, Security, Surveillance—BadGuysInc Cares.”
DAVE PARKE (V.O.)
“See this guy? The one looking like life sat him down for a long talk and said, ‘Buddy, it ain’t getting better’? Yeah, that’s our Hero. Don’t bother asking for his name yet. Right now, he’s just another cog in the corporate death machine.”
@dmaynor
dmaynor / gist:5fd9ca1f1ff58ff2fc6e3fa8ed33d532
Created August 29, 2024 02:01
The evolution of Google GameNGEN style tech
To extrapolate the potential progress in video game technology, particularly in relation to the capabilities of models that can run something like 20fps Doom on a single TPU today, we can consider a few key factors: hardware advancements, software optimizations, and the general trend in video game technology.
### 1-Year Projection:
- **Hardware**: Incremental improvements in hardware, such as newer generations of TPUs or GPUs with better efficiency and processing power, might lead to roughly a 2x increase in performance.
- **Software**: With ongoing software optimizations, models could be better at handling resource allocation, potentially achieving smoother gameplay and higher frame rates for more complex games, possibly reaching 40-50fps for similar complexity games.
- **Games**: Models could start handling more advanced games from the mid-1990s, like *Quake* or *Duke Nukem 3D*, at reasonable frame rates, pushing towards early 3D gaming experiences.
### 2-Year Projection:
- **Hardware**: With the introduc
@dmaynor
dmaynor / gist:1b74d410881532abaecb567d65a0af09
Last active August 27, 2024 21:06
CVE-2024-38063 IPV6 frag vuln PoC msf module
Howto
Copy the below class to modules/auxillary/dos/ipv6
Then
msfconsole
use auxiliary/dos/ipv6/cve_2024_38063_packetfu
set TARGET_IPV6 <target_ipv6_address>
set NUM_PACKETS 1000
run