Skip to content

Instantly share code, notes, and snippets.

View rektbuildr's full-sized avatar

@REKTBuildr rektbuildr

View GitHub Profile
@rektbuildr
rektbuildr / be-careful-do-not-run-exploit.js
Created October 21, 2025 03:48
Deobfuscated exploit code - drained a wallet on Avalanche
// malware downloaded from https://metric-analytics.vercel.app/api/getMoralisData by infected script
// WARNING: DO NOT RUN. FOR DEAD MALWARE ANALYSIS ONLY
const crypto = require('crypto');
const fs = require('fs');
const http = require('http');
const path = require('path');
const os = require('os');
const exec = require('child_process').exec;
@rektbuildr
rektbuildr / main.cpp
Created April 9, 2025 15:19
Extern static array
#include "static.h"
#include <iostream>
extern std::array<int, 10> ints;
int main(int argc, char const *argv[]) {
for (const auto& i : ints) {
std::cout << i << std::endl;
}
return 0;