Ret2win - arm64
Ret2win - arm64
Introduction to ARM64v8代码
#include <stdio.h>
#include <unistd.h>
void win() {
printf("Congratulations!\n");
}
void vulnerable_function() {
char buffer[64];
read(STDIN_FILENO, buffer, 256); // <-- bof vulnerability
}
int main() {
vulnerable_function();
return 0;
}寻找偏移量
使用模式选项


栈偏移选项




无PIE
常规

Off-by-1

使用PIE
二位偏移

Configuration
Prepare the payload
Send the payload
Check response
最后更新于