ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • OVer the wire :bandit 31레벨
    문제풀이/overthewire:bandit 2021. 11. 24. 13:54
    반응형

     

    이번 문제도 git 문제라서 repo를 받아왔습니다.

    이번에는 key.txt라는 파일을 만들어서 

    내용을 'May I come in?'로 작성해서 master 브런치에 업로드하는 문제인것 같네요.

    파일을 만들었으니 이번엔 git add 명령어를 통해 master 브런치에 파일을 올려보겠습니다.

    git 저장소에 자료를 올리려면 add -> commit -> push의 순서를 따른다.

    .gitignore파일에 올릴수 없게 설정되어 있나봅니다. -f 명령어를 통해서 무시하고 진행할 수 있다고하네요 우선

    숨어잇는 gitignore 파일을 확인한뒤 -f 옵션을 통해 올려보겠습니다.

    gitignore 파일은 확장자가 txt인 파일을 무시하나봅니다.

    add 명령어를 수행했으니 commit 을 사용합시다.

    명령어를 완수했으니 push를 이용해 저장소에 저장해봅시다.

    git push 명령어가 잘 적용되어서 password를 넘겨주네요 

    비밀번호:56a9bf19c63d650ce78e6ec0354ee45e

    overthewire bandit 31level clear 

    반응형

    '문제풀이 > overthewire:bandit' 카테고리의 다른 글

    OVer the wire :bandit 32레벨  (0) 2021.11.24
    OVer the wire :bandit 30레벨  (0) 2021.11.24
    OVer the wire :bandit 29레벨  (0) 2021.11.24
    OVer the wire :bandit 28레벨  (0) 2021.11.24
    OVer the wire :bandit 27레벨  (0) 2021.11.24

    댓글

Designed by Tistory.