Skip to content

Instantly share code, notes, and snippets.

@itachi-cracker
itachi-cracker / img2epub.py
Created February 14, 2023 13:29
Transform directory of images into a unique epub file
import os
import io
from PIL import Image
from ebooklib import epub
# defines the direcotry where the images will be read
img_dir = input("> images directory: ")
# create an EpubBook object
book = epub.EpubBook()
@itachi-cracker
itachi-cracker / solve.c
Created December 30, 2023 18:08
Easy Risky solution - ASIS CTF 2023
#include <stdint.h>
#include <stdio.h>
void encryptData(uint8_t *flag_enc) {
uint8_t bVar1;
int64_t lVar2;
uint64_t *puVar3;
uint64_t uVar4;
uint8_t *pbVar5;
uint64_t uVar6;
@itachi-cracker
itachi-cracker / jni_binja.h
Created January 17, 2024 18:39 — forked from Ayrx/jni_binja.h
JNI header with tweaks for Binary Ninja parser
typedef long jint;
typedef int64_t jlong;
typedef signed char jbyte;
/*
* JNI Types
*/
typedef unsigned char jboolean;
typedef unsigned short jchar;