Browse Source

update

master
letmein 2 years ago
parent
commit
e9340a4bc5
2 changed files with 2 additions and 1 deletions
  1. BIN
      kesek-kesek/chall/membuat
  2. +2
    -1
      kesek-kesek/membuat.c

BIN
kesek-kesek/chall/membuat View File


+ 2
- 1
kesek-kesek/membuat.c View File

@ -1,3 +1,4 @@
//gcc -fno-stack-protector -no-pie -z execstack -fno-builtin -mpreferred-stack-boundary=2 -m32 membuat.c -o membuat
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
@ -11,7 +12,7 @@ int main(int argc, char **argv)
fflush(stdout);
gets(buffer);
printf("selamat datang %s\n",buffer);
printf("buffer ada di : %p\n",vuln);
printf("buffer ada di : [%p]\n",vuln);
fflush(stdout);
gets(vuln);
}

Loading…
Cancel
Save