Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- ATT&CK
- 프론트엔드개발자
- exploit
- elk stack
- SQLMap
- 정보보안
- AD
- 백엔드개발자
- node.js
- 가이드라인
- Mitre
- #C언어 #연산자
- Index
- #whitespace #
- sql인젝션
- windows
- PetitPotam
- 침해사고
- filesystem
- forensic
- software
- Credential Access
- rce
- Threat Intelligence
- wargame
- error 583066
- elasticsearch
- pwnable
- 시스템해킹
- 랜섬웨어
Archives
- Today
- Total
Plit00's Story
[Pwnable.kr] Toddler's Bottle - blukat 본문
Sometimes, pwnable is strange...
hint: if this challenge is hard, you are a skilled player.
ssh blukat@pwnable.kr -p2222 (pw: guest)
blukat | blukat.c | password 가 있었다.
여기서 blukat.c의 코드를 살펴보았다.
main에서 password 파일을 읽은 후, user에게 입력 값을 받는다.
이 입력값과 password 의 값이 값다면 calc_flag(password)를 통해서 flag가 출력된다.
blukat@ubuntu:~$ cat password
cat: password: Permission denied
라고 출력이 된다.
blukat@ubuntu:~$ cat password|./blukat
guess the password!
congrats! here is your flag: Pl3as_DonT_Miss_youR_GrouP_Perm!!
?????????????
'Wargame > Pwnable.kr' 카테고리의 다른 글
[Pwnable.kr]-shellshock (0) | 2018.02.25 |
---|---|
[Toddler's Bottle]-unlink (0) | 2018.02.21 |
[Toddler's Bottle]-cmd1 (0) | 2018.02.21 |
[Toddler's Bottle]-blackjack (0) | 2018.02.21 |
Comments