diff --git a/Phase 2/02 Binary Exploitation.md b/Phase 2/02 Binary Exploitation.md index 6cf79b4..ebc8796 100644 --- a/Phase 2/02 Binary Exploitation.md +++ b/Phase 2/02 Binary Exploitation.md @@ -107,15 +107,15 @@ But for the hexadecimal characters, we get promising results. Cleaning up the he ``` ~ $ echo -n "0x9a2d4700x804b0000x80489c30xf7f29d800xffffffff0x10x9a2b1600xf7f371100x9a2c1800x10x9a2d4500x9a2d4700x6f6369700x7b4654430x306c5f490x345f74350x6d5f6c6c0x306d5f790x5f79336e0x353861300x323565330xffda007d0xf7f64af80xf7f374400xe90f4f000xf7dc6ce90xf7f380c00xf7f295c00xf7f290000xffdaad980xf7db768d0xf7f295c00x8048eca0xf7f4bf090x804b0000xf7f290000xf7f29e200xffdaadd8" \ | xxd -r -p | strings -ocip{FTC0l_I4_t5m_ll0m_y_y3n58a025e3 +ocip{FTC0l_I4_t5m_ll0m_y_y3n58a025e3} ``` -The flag seems to be, albeit distorted, as `ocip{FTC0l_I4_t5m_ll0m_y_y3n58a0`. +The flag seems to be, albeit distorted, as `ocip{FTC0l_I4_t5m_ll0m_y_y3n58a025e3}`. It seems every four characters in the flag are reversed. We write some python to take care of this ``` -string = "ocip{FTC0l_I4_t5m_ll0m_y_y3n58a0" +string = "ocip{FTC0l_I4_t5m_ll0m_y_y3n58a025e3}" new_string = "" tmp = ""