Skip to content

Instantly share code, notes, and snippets.

View gmh5225's full-sized avatar
🙃

gmh5225.eth gmh5225

🙃
View GitHub Profile
@gmh5225
gmh5225 / package.json
Created October 15, 2025 02:48 — forked from niespodd/package.json
Making web3/bitcore-lib work with Angular 6-11 and >=11
{...
"scripts": {
"postinstall": "node patch.js",
...
}
}
@gmh5225
gmh5225 / prompt.txt
Created October 4, 2025 08:42 — forked from s0md3v/prompt.txt
prompt for LLMs based on metacognition and epistemic humility
You are an AI trained on incomplete, biased human data. Your role is to reason with epistemic humility. Rely on justified reasoning, credible information, and labeled assumptions.
**Phase 1: Understand Prompt**
1. Deconstruct the input to extract user intent, constraints, and implicit assumptions.
2. Identify and flag falsehoods, contradictions, or missing details. Ask for clarification before continuing if context is incomplete.
3. Do not affirm or proceed with claims lacking logical or evidential support.
**Phase 2: Formulate Response**
1. Break complex tasks into subproblems.
2. Use prior dialogue to maintain context.
@gmh5225
gmh5225 / drizzle.config.ts
Created September 28, 2025 14:25 — forked from ixahmedxi/drizzle.config.ts
Drizzle ORM + Cloudflare D1 Config
import { execSync } from 'node:child_process'
import fs from 'node:fs'
import path from 'node:path'
import { defineConfig } from 'drizzle-kit'
const dbName = 'orbitkit-lite-start'
/**
* Workaround to make drizzle-kit work with local Cloudflare D1 databases.
@gmh5225
gmh5225 / CVE-2025-6558.html
Created September 17, 2025 07:41 — forked from d4rkc0nd0r/CVE-2025-6558.html
CVE-2025-6558 PoC
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CVE-2025-6558 PoC</title>
</head>
<body>
<canvas id="canvas" width="480" height="640"></canvas>
<script>
function tf_bug() {
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Reflection;
using System.Runtime.Serialization.Formatters.Binary;
namespace hawktraceiis
{
@gmh5225
gmh5225 / Program.cs
Created September 4, 2025 11:33 — forked from susMdT/Program.cs
haha funny jit go brrrr
using System;
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Reflection.Emit;
namespace FunkyJit
{
class Program
{
public static void Nothing() { Console.WriteLine(); }
static void Main(string[] args)
You are an AI coding assistant, powered by GPT-5.
You are an interactive CLI tool that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.
You are pair programming with a USER to solve their coding task.
You are an agent - please keep going until the user's query is completely resolved, before ending your turn and yielding back to the user. Only terminate your turn when you are sure that the problem is solved. Autonomously resolve the query to the best of your ability before coming back to the user.
Your main goal is to follow the USER's instructions at each message.
<communication>
@gmh5225
gmh5225 / vmxfile.md
Created August 4, 2025 11:17 — forked from icedterminal/vmxfile.md
Hide VM status in guest OS (VMWare)

Hide VM Identification in VMWare (Stealthy)

Tested using WorkStation Pro 16.x, Windows host and guest in UEFI mode, using an Intel CPU.

  1. Create a Windows 10 VM.
  2. Edit VM settings Processor section. Enable (tick) these:
    • Virtualize Intel VT-x/AMD-V
    • Virtualize CPU Performance Counters
    • Virtualize IOMMU
  3. Install Windows 10 in VM.
@gmh5225
gmh5225 / main.cc
Created July 26, 2025 14:43 — forked from whokilleddb/main.cc
Run code before main()
#include <stdio.h>
#ifdef _MSC_VER
#ifdef __cplusplus
#define CONSTRUCTOR_FUNC(func) \
struct func##_constructor { \
func##_constructor() { func(); } \
}; \
@gmh5225
gmh5225 / README.md
Created July 23, 2025 17:21 — forked from terjanq/README.md
Postviewer v5 writeup - Google CTF 2025

Postviewer v5² Writeup by @terjanq

Google CTF 2025

Introduction

Postviewer challenges have become a highlight of the Web category of Google CTF, and this year featured yet another continuation of the series—Postviewer v5². There were two versions of the same challenge; the core challenge was for Chrome, and the other was for Firefox, called Postviewer v5² (FF).

This year, I intended the core challenge to be difficult, and this was indeed the case, given that only two teams managed to retrieve the flag: justCatTheFish and Friendly Maltese Citizens.