bandit30

KJH·2022년 12월 7일

bandit

목록 보기
26/29
ssh bandit30@bandit.labs.overthewire.org -p 2220 
#xbhV3HpNGlTIdnjUrdAlPzc2L6y9EOnS

There is a git repository at ssh://bandit30-git@localhost/home/bandit30-git/repo. The password for the user bandit30-git is the same as for the user bandit30.

이전과 같음

풀이

#/tmp안에서 진행
git clone ssh://bandit30-git@localhost:2220/home/bandit30-git/repo
#xbhV3HpNGlTIdnjUrdAlPzc2L6y9EOnS

이번엔 로그도, 브랜치도 따로 없다

git show-ref명령어가 있는데,
이는 커밋을 간접적으로 참조하는?? 방식이라고 한다 정확히는 모르겠다

bandit30@bandit:/tmp/tmp.1hIj1KUVPA/repo$ git show-ref

0019ee8c6d6fd1dba2d73666b9e6339ad3314ddb refs/heads/master
0019ee8c6d6fd1dba2d73666b9e6339ad3314ddb refs/remotes/origin/HEAD
0019ee8c6d6fd1dba2d73666b9e6339ad3314ddb refs/remotes/origin/master
831aac2e2341f009e40e46392a4f5dd318483019 refs/tags/secret
git show refs/tags/secret

#OoffzGDlzhAlerFJ2cAiz1D41JW1Mhmt

0개의 댓글