Format String Exploits - Writing Data

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024

ความคิดเห็น • 3

  • @andrei4889
    @andrei4889 6 หลายเดือนก่อน

    how can we write DCBA ? and also is it possible to write into a global variable ? im having troubles with a ctf where i need to change a global variable's value to "galf" by using the format string exploit :
    scanf("%1024s", buf);
    printf("Here's your input: ");
    printf(buf);

    • @Justhere369
      @Justhere369 6 หลายเดือนก่อน

      have you figured it out

    • @jasongharvery
      @jasongharvery 6 หลายเดือนก่อน

      if you have 65 interpreted as A, what happens if you add 191 to it? is it 256 or 0?