본문 바로가기

미역줄기의 이모저모

검색하기
미역줄기의 이모저모
프로필사진 미역줄기줄기

  • 분류 전체보기 (33)
    • 아무말 (0)
    • CS (0)
      • 운영체제(OS) (0)
    • Hacking (0)
      • 시스템 해킹 (32)
      • Smashing the stack (1)
      • DreamHack 시스템 해킹 강의 (13)
      • 포너블.kr 문제풀이 (7)
      • Dremahack 문제풀이 (12)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
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
Tags
  • 시스템 해킹
  • 피드백 환영
  • 정보보안
  • 정보보안 초보
  • pwnable.kr 9번
  • 포너블 초보
  • 조언 환영
  • pwnable.kr
  • pwnable.kr leg
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록pwnable.kr 9번 (1)

미역줄기의 이모저모

pwnable.kr mistake 풀이

1. 문제확인힌트는 operator priority 연산자 우선순위! ssh mistake@pwnable.kr -p2222 들어가자~! ls를 해보니 flag, mistake, mistake.c, 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 xo..

Hacking/포너블.kr 문제풀이 2024. 2. 1. 19:54
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바