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