#goblin 소스[cobolt@localhost cobolt]$ cat goblin.c/* The Lord of the BOF : The Fellowship of the BOF - goblin - small buffer + stdin*/ int main(){ char buffer[16]; gets(buffer); printf("%s\n", buffer);} -stdin : 입력 버퍼 cobolt와 버퍼의 크기는 16으로 똑같다.다른 점은 gets가 있다는 것. # goblin 디스어셈블링(gdb) disas mainDump of assembler code for function main:0x80483f8 :push %ebp0x80483f9 :mov %esp,%ebp0x80483fb :sub $0x10,..
gate는 패스ㅠㅠ id : gremlinpw : hello bof world # coblot 소스 [gremlin@localhost gremlin]$ cat cobolt.c/* The Lord of the BOF : The Fellowship of the BOF - cobolt - small buffer*/ int main(int argc, char *argv[]){ char buffer[16]; if(argc < 2){ printf("argv error\n"); exit(0); } strcpy(buffer, argv[1]); printf("%s\n", buffer);}[gremlin@localhost gremlin]$ gate와 다르게 buffer의 크기가 16으로 줄어들었다. # cobolt 디스어..
- Total
- Today
- Yesterday
- 웹해킹
- Los
- lob
- 우분투
- my-pass
- 명령어
- wargame.kr
- pwnable.kr
- WebHacking
- 1번
- 자바
- java
- 설치
- attackme
- c언어
- MySQL
- cobolt
- 파이썬
- webhacking.kr
- 0xdeadbeef
- C
- wargame
- BOF
- 워게임
- ubuntu
- ftz
- pwnable
- Python
- lord of sqlinjection
- Lord of SQL Injection
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |