Stack-based buffer overflows on ARM64
Introduction
Vulnerable Program
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
void win(){
printf("Congrats you got a shell :) ");
system("/bin/sh");
exit(0);
}
void buf(){
char max[10];
gets(max);
}
int main()
{
char max[6];
printf("Overflow me daddy Uwu \n");
buf();
return 0;
}

















Last updated