Skip to content

Instantly share code, notes, and snippets.

View mayanez's full-sized avatar
👨‍💻

Miguel A. Arroyo mayanez

👨‍💻
View GitHub Profile
@mayanez
mayanez / pptx2pdf-annotate.py
Created May 9, 2020 00:14
pptx2pdf-annotate
"""
Adds PPTX Presenter Notes as PDF Text Annotations.
This can then be used with `pdfpc` (https://github.com/pdfpc/pdfpc) for presentations.
NOTE:
<input.pptx> and <input.pdf> must contain the same number of pages.
"""
import sys
from pptx import Presentation
@mayanez
mayanez / Makefile
Last active November 20, 2024 13:54
Simple ROP Exploit Example (x86)
simple-rop: simple-rop.c
gcc -m32 -O0 -g -static -fno-stack-protector $^ -o $@
.PHONY: clean
clean:
rm -rf simple-rop