Skip to content

Instantly share code, notes, and snippets.

View thewh1teagle's full-sized avatar
💭
coding

thewh1teagle

💭
coding
  • localhost
  • The martian
View GitHub Profile
Fresh urlencoding v2.1.3
Dirty vibe v0.0.6 (D:\vibe\desktop\src-tauri): the file `desktop\src-tauri\src\main.rs` has changed (13376000199.285733200s, 32s after last build at 13376000167.154701100s)
Compiling vibe v0.0.6 (D:\vibe\desktop\src-tauri)
Running `set CARGO=\\?\C:\Users\yaako\.rustup\toolchains\nightly-2024-11-09-x86_64-pc-windows-msvc\bin\cargo.exe&& set CARGO_BIN_NAME=vibe&& set CARGO_CRATE_NAME=vibe&& set CARGO_MANIFEST_DIR=D:\vibe\desktop\src-tauri&& set CARGO_MANIFEST_PATH=D:\vibe\desktop\src-tauri\Cargo.toml&& set CARGO_PKG_AUTHORS=@thewh1teagle&& set CARGO_PKG_DESCRIPTION=Vibe&& set CARGO_PKG_HOMEPAGE=""&& set CARGO_PKG_LICENSE=MIT&& set CARGO_PKG_LICENSE_FILE=""&& set CARGO_PKG_NAME=vibe&& set CARGO_PKG_README=""&& set CARGO_PKG_REPOSITORY=https://github.com/thewh1teagle/vibe&& set CARGO_PKG_RUST_VERSION=""&& set CARGO_PKG_VERSION=0.0.6&& set CARGO_PKG_VERSION_MAJOR=0&& set CARGO_PKG_VERSION_MINOR=0&& set CARGO_PKG_VERSION_PATCH=6&& set CARGO_PKG_VERSION_PRE=""&& set CARGO_PRIM
@thewh1teagle
thewh1teagle / SELF_SIGN.md
Last active November 12, 2024 22:06
Self sign tauri app

Sign tauri app with self signed certificate

See https://v2.tauri.app/distribute/sign/windows/

  1. Create cert
$cert = New-SelfSignedCertificate -Type CodeSigning -Subject "CN=thewh1teagle" -KeyAlgorithm RSA -KeyLength 2048 -CertStoreLocation "cert:\CurrentUser\My"
Write-Output $cert.Thumbprint
@thewh1teagle
thewh1teagle / spinner.py
Created November 10, 2024 17:48
Beautiful spinner in python
"""
pip install colorama
"""
import sys
import threading
import time
from colorama import init, Fore, Style
@thewh1teagle
thewh1teagle / main.py
Last active November 14, 2024 22:17
Bypass Chrome v20 encryption and extract cookies using Chrome Remote Debugging without admin rights.
"""
Bypass Chrome v20 appbound encryption and extract cookies using Chrome Remote Debugging without admin rights.
Including HTTP Only and Secure cookies.
Developed by: github.com/thewh1teagle
License: MIT
For educational purposes only.
Usage:
pip install websocket-client requests
python main.py
@thewh1teagle
thewh1teagle / main.py
Created October 29, 2024 16:06
Chrome v20 decryption with Windows API
"""
pip install pywin32 pycryptodome
python main.py
"""
import ctypes, win32api, win32con, win32security, win32crypt, win32process
from ctypes import wintypes
import os, json, binascii, sqlite3, pathlib
from Crypto.Cipher import AES
@thewh1teagle
thewh1teagle / main.go
Created October 29, 2024 12:31
impersonate system privileges in golang on Windows
package main
import (
"fmt"
"log"
"syscall"
"unsafe"
"golang.org/x/sys/windows"
_ "modernc.org/sqlite"
@thewh1teagle
thewh1teagle / main.py
Created October 23, 2024 18:44
Decrypt chrome v20 cookies with appbound protection
"""
Decrypt chrome v20 cookies with app bound protection
Tested in 2024-10-23 with Chrome version 130.0.6723.70 on Windows 11 23H2
pip install pywin32 pycryptodome pypsexec
python main.py
"""
import os
import json
import sys
@thewh1teagle
thewh1teagle / Modelfile
Created October 17, 2024 12:15
ollama Ministral ~4GB. easy to get structured format back
# Modelfile generated by "ollama show"
#
# To build a new Modelfile based on this, replace FROM with:
# FROM hf.co/bartowski/Ministral-8B-Instruct-2410-HF-GGUF-TEST:latest
FROM hf.co/bartowski/Ministral-8B-Instruct-2410-HF-GGUF-TEST:latest
PARAMETER stop [INST]
PARAMETER stop [/INST]
@thewh1teagle
thewh1teagle / Dockerfile
Last active October 9, 2024 19:03
Docker Challenge
# Server
FROM node:22-bookworm
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
EXPOSE 1337
CMD ["npm", "run", "prod"]
@thewh1teagle
thewh1teagle / main.py
Last active October 7, 2024 00:47
Data structure algorithms
# Popular sort algorithms in Python
def bubble_sort(arr: list[int]) -> list[int]:
for _ in range(len(arr)):
for j in range(len(arr) - 1):
if arr[j] > arr[j + 1]:
arr[j], arr[j + 1] = arr[j + 1], arr[j]
return arr