일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 객체
- 메소드
- 김성엽 대표님
- blind sql injection
- 백준 알고리즘
- IF문
- element 조회
- 사칙연산
- sql injection
- burp suite
- 함수
- Pwndbg
- suninatas 풀이
- jQuery
- 자바스크립트
- lord of sql injection
- 파이썬
- window
- 백준 파이썬
- htmlspecialchars
- xss game
- xss game 풀이
- 배열
- object
- document
- github
- property
- 조건문
- python
- 포인터
Archives
- Today
- Total
목록Mistake (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