Skip to content

Instantly share code, notes, and snippets.

@pankoza2-pl
pankoza2-pl / cex_crypto.cs
Created February 5, 2025 20:09 — forked from Wack0/cex_crypto.cs
Compaq/HP Recovery Media (c. late 1990s-early 2000s) .CEX File Decryptor
/*
Compaq/HP Recovery Media (c. late 1990s-early 2000s) .CEX File Decryptor
another rrrring of lightningggg production by slipstream/RoL!
Yesterday I received in the post some Compaq recovery media I ordered from Yahoo! Auctions Japan to dump.
Having done that, I took a closer look at the disc images.
The recovery media came in two CDs: a boot CD ("COMPAQ Restore CD"), and an OS CD ("Compaq CD for Microsoft Windows
NT Workstation 4.0 Operating System").
@pankoza2-pl
pankoza2-pl / bmp.h
Created November 14, 2023 14:09 — forked from mhofwell/bmp.h
Applying Filters by Manipulating Pixel Values!
// BMP-related data types based on Microsoft's own
#include <stdint.h>
/**
* Common Data Types
*
* The data types in this section are essentially aliases for C/C++
* primitive data types.
*
@pankoza2-pl
pankoza2-pl / darkr.cpp
Created April 9, 2022 08:04
C++ GDI Screen Darkener
#include <windows.h>
int main() {
HDC hdc;
int w = GetSystemMetrics(0);
int h = GetSystemMetrics(1);
while (1) {
hdc = GetDC(0);
BitBlt(hdc, rand() % 2, rand() % 2, w, h, hdc, rand() % 2, rand() % 2, SRCAND);
Sleep(10);