Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Dreamhack
- Basic
- rev-basic-7
- RCE
- sint
- out_of_bound
- off_by_one_001
- L18
- rev-basic-1
- basic_exploitation_001
- off_by_one_000
- sd카드 리더기
- pwnable.kr
- rev-basic-5
- coin1
- 코드엔진 베이직
- basic_exploitation_000
- L15
- 코드엔진 베이직 13
- rev-basic-0
- rev-basic-6
- L16
- rev-basic-2
- L17
- rev-basic-3
- CodeEngn
- rev-basic-4
- 드림핵
- 포너블
- Pwnable
Archives
- Today
- Total
목록out_of_bound (1)
서브웨이
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bclmef/btrazNdlHsr/6gIMWux9mDCK7awEPqx1wK/img.png)
이번엔 RELRO, NX bit에 더해서 canary 까지 있는 예제입니다. 쪼끔 귀찮을것 같네요. 소스코드를 봅시다. #include #include #include #include #include char name[16]; char *command[10] = { "cat", "ls", "id", "ps", "file ./oob" }; void alarm_handler() { puts("TIME OUT"); exit(-1); } void initialize() { setvbuf(stdin, NULL, _IONBF, 0); setvbuf(stdout, NULL, _IONBF, 0); signal(SIGALRM, alarm_handler); alarm(30); } int main() { int idx; i..
Pwnable/dreamhack
2021. 7. 27. 16:00