Skip to main content

bandit lv 1~5

·116 words·1 min· loading
Table of Contents
bandit - This article is part of a series.
Part 3: This Article

lv1
#

-라는 파일을 읽어야 된다 그냥읽으면 안읽히므로 ./-로 읽어야한다.

ssh [email protected] -p 2220
#lv0 비번
# cat ./-
#rRGizSaX8Mk1RTb1CNQoXTcYZWU6lgzi

lv2
#

space in this filename이라는 파일을 읽어야한다. 이스케이프 문자를 활용한다 (또는 ‘‘사용)

 ssh [email protected] -p 2220
 
 cat spaces\ in\ this\ filename
 #aBZ0W5EmUfAf7kHTQeOwd8bauFJ2lAiG

lv3
#

₩inher₩e이라는 폴더가 있는데 안에 아무것도 없다 ls -al로 숨김파일 .hidden을 찾을 수 있다.

ssh [email protected] -p 2220

cat inhere/.hidden
# 2EW7BBsr6aMMoJ2HjW067dm8EgX26xNe

lv4
#

파일이 엄청 많다. file 명령어로 ascii타입을 찾으면 된다.

ssh [email protected] -p 
2220
file inhere/*
#lrIWWI6bB37kxfiCQZqUdOIYfr6eEeqR

lv5
#

inhere 폴더의

  • 사람이 읽을 수 있고,
  • 1033 바이트의
  • 실행 불가능한 파일을 찾아야한다.
 ssh [email protected] -p 2220
 bandit5@bandit:~/inhere$ find -type f -size 1033c
 #P4L4vucdmLnm8I7Vl7jG1ApGSfjYKqJU

size 옵션 -b block -c byte -k kbyte

bandit - This article is part of a series.
Part 3: This Article