[picoCTF] Python Wrangling 풀이

Visits: 4

문제

Can you invoke help flags for a tool or binary? This program has extraordinarily helpful information...


그냥 프로그램 help를 보는 문제다. 일반적으로 프로그램의 도움말을 보려면 -h나 --help 옵션을 사용한다.

warm 파일을 다운받아서 실행시켜본다.

❯ ./warm
zsh: 허가 거부: ./warm

그냥 실행권한이 없어서 뜨는 에러다. 권한을 부여하고 다시 실행해보자.

❯ chmod +x ./warm
❯ ./warm
Hello user! Pass me a -h to learn what I can do!

-h 옵션을 사용하라고 아~주 친절하게 알려준다.

❯ ./warm -h
Oh, help? I actually don't do much, but I do have this flag here:

끝.

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다