[Reto] Modificar entry point PE + [Reto] Modificar EIP y ejecutar código

Iniciado por overxfl0w13, Enero 02, 2014, 10:07:01 PM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Enero 02, 2014, 10:07:01 PM Ultima modificación: Noviembre 04, 2014, 06:26:11 PM por fermino
[Reto 1] Aprovechar un stack overflow para alterar el registro EIP y ejecutar la función execme. El código es el siguiente:

Código: c

#include <stdio.h>
void execme()
{
        printf("Ejecutame :)\n");
}

void main(void)
{
        char buffer[64];
        gets(buffer);
}



[Reto 2] Modificar el entry point de un exe (AddressEntryPoint PE).
Os dejo documentación para éste:

You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login


Pongo las soluciones pero no las miréis antes de tiempo :) --> You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Me gusta, pero mi conocimiento es nulo en estos temas. Intentaré resolverlo... de alguna manera... xD
Visita mi blog: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login.