Skip to main content

bandit8

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

lv8
#

링크

ssh [email protected] -p 2220
#TESKZC0XvTetK0S9xNwm25STk5iWrBvP

The password for the next level is stored in the file data.txt and is the only line of text that occurs only once

단 한번만 등장하는 텍스트를 찾아라

  1. sort로 정렬
  2. uniq -u로 중복제거
bandit8@bandit:~$ sort data.txt | uniq -u
#EN632PlfYiZbn3PhVK3XOGSlNInNE00t

uniq
#

  • 기본적으로 중복되는건 하나만 표시함 (sort랑 같이쓰임)
  • -u 중복되지 않는것만 표시함
  • -d 중복된것만 표시
  • -c 중복된개수 세기
  • -i 대소문자 무시
bandit - This article is part of a series.
Part 4: This Article