[HackCTF] Web - Read File 풀이 :: Read File

2019. 10. 22. 22:57Wargame/HackCTF

아마 flag.php 파일을 읽으면 될 것 같다.

그래서 url 주소값을 보니 http://ctf.j0n9hyun.xyz:2021/?command=http://google.com

라고 되어있길래 command 값에 flag.php 를 넣어주었다.

 

이것을 보니 아마 flag 문자열이 필터링 당하는 것이라고 예상된다.

flag 문자열이 필터링된것을 확인하기 위해서

http://ctf.j0n9hyun.xyz:2021/?command=http://google.cflagom

이런식으로 입력해주었는데 처음과 같은 창이 떳다.

그래서 혹시나 해서 flflagag.php 를 주소창에 넣어주었는데 플래그를 출력했다.

flag is HackCTF{w3lcome_to_vu1n_web?}