일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Javascript
- HTML
- hackerrank
- 생활코딩
- 기계학습
- XSS Game
- C언어
- Python
- 숙명여자대학교 정보보안 동아리
- CSS
- 자료구조 복습
- lob
- 풀이
- BOJ
- 웹페이지 만들기
- PHP 웹페이지 만들기
- 머신러닝
- c++
- hackctf
- 드림핵
- WarGame
- 백준
- 숙명여자대학교 정보보안동아리
- c
- siss
- The Loard of BOF
- SWEA
- Sookmyung Information Security Study
- BOJ Python
- 파이썬
- Today
- Total
목록무지성 공부방/Pwnable 문제 만들기 (3)
혜랑's STORY

shell.c // Compile: gcc -o shell_basic shell_basic.c -lseccomp // apt install seccomp libseccomp-dev #include #include #include #include #include #include #include #include #include void banned_execve() { scmp_filter_ctx ctx; ctx = seccomp_init(SCMP_ACT_ALLOW); if (ctx == NULL) { exit(0); } seccomp_rule_add(ctx, SCMP_ACT_KILL, SCMP_SYS(execve), 0); seccomp_rule_add(ctx, SCMP_ACT_KILL, SCMP_SYS(e..

ssmash.c // Complie : gcc -o ssmash ssmash.c -m32 -no-pie -fstack-protector -z relro -mpreferred-stack-boundary=2 -fno-pic #include #include #include #include void get_shell(){ system("/bin/sh"); } void print(unsigned char *box, int idx){ printf("idx: %d, box[idx]: %02x\n", idx, box[idx]); } int main(int argc, char *argv[]){ unsigned char box[0x30] = {}; char changed_box[0x30] = {}; char select[..