Skip to content

Instantly share code, notes, and snippets.

View AlLiberali's full-sized avatar

ܢܐܕܪ ܓ̰ܥܦ݂ܪܝ AlLiberali

View GitHub Profile
String Keygen() {
Byte[] key = new Byte[16] { 4, 4, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
Byte[] primes = new Byte[4] { 2, 3, 5, 7 };
while (true) {
LOOP:
for (Int32 i = 4; i < 16; i++)
key[i] = (Byte)Random.Shared.Next(0, 10);
if (key.Skip(4).Any(x => x == 4))
continue;
if (key.Distinct().Count() < 5)
@AlLiberali
AlLiberali / Program.cs
Last active May 10, 2025 18:08
Blend2NET Library logo
using AlLiberali.Blend2NET;
using static AlLiberali.Blend2NET.PInvoke;
using System;
using System.IO;
var base64 = @"iVBORw0KGgoAAAANSUhEUgAAANwAAADcCAYAAAAbWs+BAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAA7LSURBVHhe7d0JcFXVHcfx/1uyh0ACAYEgiqBV6ozWqVqXbi6ouFRt0XEftSqMCFTrqLjvKKi4sow6da1Vq1YFnS5aq3bRETsy6ogrexBC9u0lL73/mxtFmuTdm7z3T95738/MmyZnsHn3vfs799xzzj0ndPzklR0CwETY+18ABggcYIjAAYYIHGCIwAGGCBxgiMABhggcYIjAAYYIHGCIwAGGCBxgiMABhggcYIjAAYYIHGCIwAGGCBxgiMABhggcYIjAAYYIHGCIwAGGCBxgiMABhggcYIjAAYYIHGCIwAGGCBxgiMABhggcYIjAAYYIHGCIwAGGCBxgiMABhggcYIjAAYYIHGCIwAGGCBxgiMABhggcYIjAAYYIHGCIwAGGCBxgiMABhggcYIjAAYYIHGCIwAGGCBxgiMABhggcYIjAAYYIHGCIwAGGCBxgiMABhggcYIjAAYYIHGCIwAGGCBxgiMABhggcYIjAAYYIHGCIwAGGCBxgiMABhggcYCh0/OSVHd7Pg1ZjXbu0tMS93/yJREIyZFhEQqGQVzIwmhvj0tTY7v3Wu8KiiOQV9K0ObKx3PqPmYJ9RaoWksDgsefnfPZ62tg6pr2mXjo5Bf9olVFAYkfzCYN/XoA+chu2cuTvIAYcNlVafodOwbVofk8tP/VyKSiISDg9M6DRsU04ulZMuGJkwdAVO2B5ZsFH+/mJN4NBp2E6ZNVIOPb50kIQu5AQtJA/fXilvv+ocjxc6DdvIsbly7dLx0hbrSOvQ5Tthe3bJJln2xNZAoRv0ga
@AlLiberali
AlLiberali / Classfile.hsl
Created February 27, 2023 17:50
Hex Workshop Structure library for Java Classfile
/*
* Hex Workshop Structure library file for Java Classfile v61.0 and above
* Copyright (c) 2023 Nader Jafari
* Unfortunately it's nearly impossible to specify all the different attributes
* for Hex Workshop as it requires fetching the name from the constant pool
* and comparing Strings
*/
#pragma displayname("Java Classfile v61.0+")
#pragma fileextensions(".class")
@AlLiberali
AlLiberali / syntax.s
Created May 12, 2021 05:29 — forked from mishurov/syntax.s
AT&T assembly syntax and IA-32 instructions
# --------
# Hardware
# --------
# Opcode - operational code
# Assebly mnemonic - abbreviation for an operation
# Instruction Code Format (IA-32)
# - Optional instruction prefix
# - Operational code