본문 바로가기

서브웨이

검색하기
서브웨이
프로필사진 샌드위치메이커

  • 분류 전체보기 (52)
    • Reverse Engineering (25)
      • CodeEngn (17)
      • dreamhack (8)
    • Pwnable (26)
      • pwnable.kr (17)
      • dreamhack (9)
    • 공부 (0)
      • 웹해킹 (0)
    • 이것저것 (1)
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
  • pwnable.kr
  • 코드엔진 베이직
  • rev-basic-4
  • RCE
  • L18
  • L16
  • L17
  • rev-basic-1
  • rev-basic-0
  • basic_exploitation_000
  • off_by_one_000
  • rev-basic-3
  • out_of_bound
  • coin1
  • L15
  • Basic
  • Dreamhack
  • rev-basic-2
  • CodeEngn
  • 코드엔진 베이직 13
  • 드림핵
  • off_by_one_001
  • 포너블
  • basic_exploitation_001
  • sd카드 리더기
  • rev-basic-6
  • rev-basic-7
  • rev-basic-5
  • sint
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록basic_exploitation_001 (1)

서브웨이

dreamhack basic_exploitation_001 풀이

바로 다음 문제를 풀어봅시다. 아까와 같은 형태의 문제네요. 일단 소스코드를 열어봅시다. #include #include #include #include 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); } void read_flag() { system("cat /flag"); } int main(int argc, char *argv[]) { char buf[0x80]; initialize(); gets(buf); return 0;..

Pwnable/dreamhack 2021. 7. 19. 17:06
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바