일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 백준 파이썬
- 파이썬
- window
- xss game
- 김성엽 대표님
- jQuery
- 함수
- xss game 풀이
- lord of sql injection
- document
- 자바스크립트
- github
- property
- Pwndbg
- blind sql injection
- 사칙연산
- 메소드
- python
- sql injection
- htmlspecialchars
- element 조회
- 포인터
- 배열
- suninatas 풀이
- 객체
- object
- IF문
- burp suite
- 백준 알고리즘
- 조건문
Archives
- Today
- Total
목록mistake writeup (1)
power-girl0-0
[pwnable] mistake 풀이
Hello~ 안녕하세요! o(*°▽°*)o 1. 문제 flag, mistake, password의 바이너라 파일이 존재하고, mistake에 대한 c코드가 주어진다. #include #include #define PW_LEN 10 #define XORKEY 1 void xor(char* s, int len){ int i; for(i=0; i 0)){ printf("read error\n"); close(fd); return 0; } char pw_buf2[PW_LEN+1]; printf("input password : "); scanf("%10s", pw_buf2); // xor your input xor(pw_buf2, 10); if(!strncmp(pw_buf, pw_buf2, PW_LEN)){ pr..
War game/pwnable.kr
2022. 2. 16. 01:48