Skip to content

Instantly share code, notes, and snippets.

@dcondrey
dcondrey / datpatterns.py
Created March 23, 2024 23:57
Identify repeating patterns in .dat file
import struct
import re
from collections import Counter
class DatPatterns:
def __init__(self, filepath):
self.filepath = filepath
self.content = None
def read_file(self):
@dcondrey
dcondrey / .zshrc
Last active September 18, 2025 08:41
ZSH writers utilities
repetitivephrases() {
recurse=0; minw=3; maxw=20; limit=500; incl_csv=""; excl_csv=""; allfiles=0; mincount=2; single_file=""; internal_check=0
OPTIND=1
while getopts "rm:M:n:E:X:Ac:f:h" opt; do
case "$opt" in
r) recurse=1 ;;
m) minw=$OPTARG ;;
M) maxw=$OPTARG ;;
n) limit=$OPTARG ;;
E) incl_csv=$OPTARG ;;
@dcondrey
dcondrey / bypass-proof-of-humanity.js
Created March 19, 2026 00:58
Universal bypass for client-side "proof of human authorship" writing verification systems (purelyhuman.world, roundtable.ai, validdraft.com, and others). Demonstrates that any system where behavioral capture and proof generation both run in the browser is architecturally defeatable. Three modes: realistic human typing simulation with Gaussian ke…
/**
* Proof-of-Humanity Bypass — v1.0.0
* ==================================
* Demonstrates that ANY client-side "proof of human authorship" system
* can be defeated because the attacker controls the execution environment.
*
* Author: David Condrey · WritersLogic · writerslogic.com
* License: MIT
*
* ┌──────────────────────────────────────────────────────────────────┐