Bandit

22.01.11 level 2 → 3. spaces in this filename

슈팅스타제제 2022. 1. 11. 22:24

ls -a

위 명령어를 실행했을 때는 파일명이 끝까지 안나왔는데 아래 명령어로 파일을 찾았다. 

ls -al

풀네임은 spaces in this filename

cat 으로 그냥 호출하는 것도 안됐다.

bandit 힌트로 파일명에 공백이 있는 경우 호출하는 방법을 통해 키를 얻었다. 

cat 'spaces in this filename'

 

참고문서링크

https://linoxide.com/how-to-read-filename-with-spaces-in-linux/

 

How to Read a Filename with Spaces in Linux

This tutorial shows how to manage filename with spaces in a Linux system. This cover to create, read and copy a file which has spaces in their filename.

linoxide.com

 

'Bandit' 카테고리의 다른 글

22.01.14 level 4 → 5. file ./-file07  (2) 2022.01.14
22.01.11 level 3 → 4. inhere, .hidden  (0) 2022.01.11
22.01.11 level 1 → 2. cat ./-  (0) 2022.01.11
22.01.11 [Shell] ttys000  (0) 2022.01.11
22.01.10 level 0 → 1. cat  (0) 2022.01.10