R's Hacking Daily Log

Bandit30 본문

OverTheWire/Bandit

Bandit30

hanhxx 2022. 12. 26. 18:39

Bandit level30 ) git repository를 down 받는 걸로 이번 문제를 시작해 보자.

 

 


Kali linux - Terminal

이전 level과 같이 /tmp directory에 다운로드를 완료해 준다.

 

 

show도 써보고, branch도 해보고, log도 써봤지만 별 소득이 없었다.

" git --help " 로 다른 command를 살펴보다가 tag라는 command로 list 할 게 있을까 싶어 써봤다.

 

 

운 좋게도, "secret"이라는 수상한 무언가가 있다.

" cat " command로 읽을 만한 file이 아니기 때문에 적절히 git의 다른 command를 사용하여 내용을 확인한다.

 

 

secret 안의 내용을 확인해보면 다음 level의 passwd가 들어있다.

'OverTheWire > Bandit' 카테고리의 다른 글

Bandit32  (0) 2022.12.26
Bandit31  (0) 2022.12.26
Bandit29  (0) 2022.12.26
Bandit28  (0) 2022.12.25
Bandit27  (0) 2022.12.25
Comments