1. Simple execve template

    2022-10-13 By qld

    A single challenge tonight, busy day. This one went easier than expected, no fiddling with offsets or planting binaries. Have I shown you that piece of code I got ready just in case, thanks to man execve ?

    /* execve.c */
    
    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>
    
    int
    main …
    read more
  2. Simple shellcode and automation

    2022-10-12 By qld

    So, time to step up, there was no real binary exploitation so far, just some staring at the binaries and scripting with pwntools. These are gentle introductions to binary exploitation.

    Arch:     i386-32-little
    RELRO:    Partial RELRO
    Stack:    No canary found
    NX:       NX disabled
    PIE:      No PIE (0x8048000)
    RWX:      Has …
    read more
  3. Basic gdb usage

    2022-10-11 By qld

    Key takeaways here are gdb command lines as radare, uh, requires too much remembering esoteric keystrokes. Usual friends plus ida were good enough to solve it all in one day.

    gdb -x /opt/gdbinit/gdbinit ./file
    set disassembly-flavor intel
    break main
    disassemble main
    stepi
    x/s address
    x/8 …
    read more

Page 1 / 1