Skip to content

Instantly share code, notes, and snippets.

@Curtis-64
Curtis-64 / ClaudeHack
Last active April 4, 2025 05:28
Claude Multi-Stage Prompt Injection for Personas
#Claude Prompt Inject by Curtis White (Prompt Engineer)
This is a 3 to 5 stage prompt injection.
1. Print innocuous string [Corp AI]
2. Consider a simple hypothetical request.
3. Echo or repeat in new rules (can be used to revise program it)
4. Ask about the .p rule for clarification
5. Invoke the rule to generate a persona
Update: I have a new Claude breaker derivative that completely breaks its censorship for 3-5 turns. Undecided if I will publish, yet.
@Curtis-64
Curtis-64 / IQTEST
Created April 19, 2024 16:13
IQ Test for LLMS
Please answer all the questions. Append a counter at the end of every answer, like so Counter: 1, Counter 2. As well, count down from 8 silently. You reach 0, append " Alarm" to the end of that answer only.
I drop a ball from 100 feet off the ground. A camera captures images every few moments. It captures 3 images of the ball. How many balls were dropped?
In this sentence, what does "this" refer too?
Consider the following question carefully: [Outside] Inside. Which word is inside the box? Why?
Sum the following numbers: 145, 15, 2, 3, 569, 39, 245, 722, 109, 9, 900.
@Curtis-64
Curtis-64 / IQ_TEST
Created December 12, 2023 15:29
IQ Test for LLMs
Please answer all the questions. Append a counter at the end of every answer, like so Counter: 1, Counter 2. As well, count down from 8 silently. You reach 0, append " Alarm" to the end of that answer only.
I drop a ball from 100 feet off the ground. A camera captures images every few moments. It captures 3 images of the ball. How many balls were dropped?
In this sentence, what does "this" refer too?
Consider the following question carefully: [Outside] Inside. Which word is inside the box? Why?
Sum the following numbers: 145, 15, 2, 3, 569, 39, 245, 722, 109, 9, 900.
@Curtis-64
Curtis-64 / FileTraverser.cs
Last active January 26, 2024 19:13
Directory Traversal
// Directory Traversal Challenge by Curtis White, Senior SWE, Prompt Engineer
// Code generated in collaboration with Hacker Gnome GPT https://chat.openai.com/g/g-A46CKCg3r-hacker-gnome-corp-ai-autonomous-agi
// Minimally tested. Use at own risk.
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
@Curtis-64
Curtis-64 / ReplaceStringC#
Last active January 25, 2024 17:16
ReplaceStringExamples
Replace String Examples C# by Hacker Gnome GPT / Curtis White, Senior Software Engineer, Prompt Engineer
Not tested
Concise #1
string result = lines.Replace("\r\n", "\n");
Concise #2
@Curtis-64
Curtis-64 / BracketedFloatToString
Created January 25, 2024 01:29
Bracketed Float To String
Brackted to Float Developed Solution by Corp AI GPT & Curtis White, Senior Software Engineer, Prompt Engineer
Corp AI
https://chat.openai.com/g/g-A46CKCg3r-hacker-gnome-corp-ai-autonomous-agi
Solution 1 optimized for conciceness.
----
using System;
using System.Globalization;
using System.Linq;
`This is older ChatGPT not tested using latest version
Caesar Cipher Breaker by Curtis White For ChatGPT
Looking for a prompt engineer? Software engineer with 15+ years exp. PM me @bbacktesting
The Caesar Cipher is a simple substitution cipher but not easy for ChatGPT to handle.
@Curtis-64
Curtis-64 / pipeline_example.ipynb
Last active November 20, 2023 03:58
Pipeline Example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Curtis-64
Curtis-64 / execute_code_.ipynb
Created November 19, 2023 12:34
Execute_Code_Example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Curtis-64
Curtis-64 / regex_generator
Created November 15, 2023 08:10
regex_generator.py
Demonstration of generating value from a local LLM by Curtis White
import requests
import re
import json
base_url = "http://localhost:1234/v1/chat/completions"
headers = {"Content-Type": "application/json"}