#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
- 웹해킹
- BOF
- Lord of SQL Injection
- attackme
- 우분투
- 워게임
- Los
- 명령어
- webhacking.kr
- lord of sqlinjection
- 설치
- wargame
- WebHacking
- cobolt
- pwnable
- 자바
- c언어
- lob
- 1번
- pwnable.kr
- wargame.kr
- MySQL
- 파이썬
- my-pass
- ubuntu
- 0xdeadbeef
- java
- Python
- ftz
- C
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |