If it's so easy to guess a uuid, here you go
I ran crypto.randomUUID()
twice on my machine.
The first ID was 15041508-fd38-4eda-bc1d-7b74e4738cd9
The second? That's your challenge.
I encrypted a text file with the following command:
import { drizzle } from 'drizzle-orm/node-postgres' | |
import { desc, asc, eq } from 'drizzle-orm' | |
import { numbersTable } from '~/db/schema' | |
// Type definitions to match Convex patterns | |
type TableName = 'numbers' | |
type OrderDirection = 'asc' | 'desc' | |
// Table mapping - extend this as you add more tables | |
const tableMap = { |
import { jsonb, pgTable, text, timestamp } from 'drizzle-orm/pg-core' | |
// Simple key-value store of JSON data for OpenAuth-related state. | |
export const authData = pgTable('auth_data', { | |
// Example ID keys: | |
// "oauth:refresh\u001fuser:f99d3004946f9abb\u001f2cae301e-3fdc-40c4-8cda-83b25a616d06" | |
// "signing:key\u001ff001a516-838d-4c88-aa9e-719d8fc9d5a3" | |
// "email\[email protected]\u001fpassword" | |
// "encryption:key\u001f14d3c324-f9c7-4867-81a9-b0b77b0db0be" | |
id: text().primaryKey(), |
If it's so easy to guess a uuid, here you go
I ran crypto.randomUUID()
twice on my machine.
The first ID was 15041508-fd38-4eda-bc1d-7b74e4738cd9
The second? That's your challenge.
I encrypted a text file with the following command:
type UTXO = { | |
id: string; | |
amount: number; | |
}; | |
type Wallet = { | |
address: string; | |
utxos: UTXO[]; | |
}; | |
// SPDX-License-Identifier: Apache-2.0 | |
pragma solidity ^0.8.18; | |
// Created by @tunnckoCore / @wgw_eth / wgw.eth | |
interface IERC20Burnable { | |
function burn(uint256 value) external; | |
function balanceOf(address account) external view returns (uint256); |
import { z } from 'zod' | |
function safeParseJSON ( string: string ): any { | |
try { return JSON.parse( string ) } | |
catch { return string } | |
} | |
function searchParamsToValues ( searchParams: URLSearchParams ): Record<string, any> { | |
return Array.from( searchParams.keys() ).reduce( ( record, key ) => { | |
const values = searchParams.getAll( key ).map( safeParseJSON ) |
#!/usr/bin/env -S deno run --allow-env=CLERK_API_KEY --allow-net=api.clerk.dev --no-check | |
import { | |
ClerkAPIResponseError, | |
ClerkBackendAPI, | |
User, | |
} from "https://cdn.skypack.dev/@clerk/backend-core?dts"; | |
const ClerkAPI = new ClerkBackendAPI({ | |
apiClient: { |
#!/bin/sh | |
if [ "$EUID" -ne 0 ] | |
then echo "This script must be run as root" | |
exit | |
fi | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: ./$0 <path-to-ide" | |
exit 1 |