OverTheWire 社区提供的兵棋推演可以帮助您以充满乐趣的游戏形式学习和练习安全概念。

0级→1级

水平目标

下一级的密码存储在主目录中名为 readme 的文件中。使用此密码通过 SSH 登录到 bandit1。每当您找到某个关卡的密码时,请使用 SSH(在端口 2220 上)登录该关卡并继续游戏。

使用 ssh 使用以下信息登录服务器。

用户名:bandit0

密码:bandit0

主持人:bandit.labs.overthewire.org

端口:2220

$ sshbandit0@bandit.labs.overthewire.org-p 2220

这是一个 OverTheWire 游戏服务器。有关的更多信息 http://www.overthewire.org/wargames

bandit0@bandit.labs.overthewire.org的密码:

强盗0

查找下一级密码

bandit0@bandit:~$ ls
readme
bandit0@bandit:~$ cat readme
boJ9jbbUNNfktd78OOpsqOltutMc3MY1

1级→2级

水平目标

下一级的密码存储在一个名为 — 位于主目录中的文件中

$ sshbandit1@bandit.labs.overthewire.org-p 2220

这是一个 OverTheWire 游戏服务器。有关的更多信息 http://www.overthewire.org/wargames

bandit1@bandit.labs.overthewire.org的密码:

Bechajabbonnvonvonn,所以你可以说你 1

密码

bandit1@bandit:~$ ls
-
bandit1@bandit:~$ cat < -
CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9

2级→3级

水平目标

下一级的密码存储在位于主目录的此文件名中名为空格的文件中

$ SSHbandit2@bandit.labs.overthewire.org-p 2220

这是一个 OverTheWire 游戏服务器。有关的更多信息 http://www.overthewire.org/wargames

bandit2@bandit.labs.overthewire.org的密码:

CV1DtqXWVXTvM2F0k09SHz0YwRINYA9

解决方案

bandit2@bandit:~$ ls
spaces in this filename
bandit2@bandit:~$ cat spaces\ in\ this\ filename
UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK

3级→4级

水平目标

下一级的密码存储在inhere目录的一个隐藏文件中。

$ sshbandit3@bandit.labs.overthewire.org-p 2220

这是一个 OverTheWire 游戏服务器。有关的更多信息 http://www.overthewire.org/wargames

bandit3@bandit.labs.overthewire.org的密码:

UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK

解决方案

bandit3@bandit:~$ ls
inhere
bandit3@bandit:~$ cd inhere
bandit3@bandit:~/inhere$ ls -al
total 12
drwxr-xr-x 2 root    root    4096 May  7 20:14 .
drwxr-xr-x 3 root    root    4096 May  7 20:14 ..
-rw-r----- 1 bandit4 bandit3   33 May  7 20:14 .hidden
bandit3@bandit:~/inhere$ cat .hidden
pIwrPrtPN36QITSp3EQaw936yaFoFgAB

4级→5级

水平目标

下一级的密码存储在 inhere 目录中唯一人类可读的文件中。提示:如果您的终端出现问题,请尝试“重置”命令。

$ sshbandit4@bandit.labs.overthewire.org-p 2220

这是一个 OverTheWire 游戏服务器。有关的更多信息 http://www.overthewire.org/wargames

bandit4@bandit.labs.overthewire.org的密码:

伯伯特

解决方案

bandit4@bandit:~$ ls
inhere
bandit4@bandit:~$ cd inhere
bandit4@bandit:~/inhere$ ls
-file00  -file02  -file04  -file06  -file08
-file01  -file03  -file05  -file07  -file09bandit4@bandit:~/inhere$ file ./-file*
./-file00: data
./-file01: data
./-file02: data
./-file03: data
./-file04: data
./-file05: data
./-file06: data
./-file07: ASCII text
./-file08: data
./-file09: databandit4@bandit:~/inhere$ cat ./-file07
koReBOKuIDDepwhWk7jZC0RTdopnAYKh

5级→6级

水平目标

下一级的密码存储在 inhere 目录下的某个文件中,并具有以下所有属性:

  1. 人类可读

  2. 1033 字节大小

  3. 不可执行

$ sshbandit5@bandit.labs.overthewire.org-p 2220

这是一个 OverTheWire 游戏服务器。有关的更多信息 http://www.overthewire.org/wargames

bandit5@bandit.labs.overthewire.org的密码:

koReBOKuIDDepwhWk7jZC0RTdopnAYKh

解决方案

bandit5@bandit:~$ ls
inhere
bandit5@bandit:~$ ls inhere
maybehere00  maybehere04  maybehere08  maybehere12  maybehere16
maybehere01  maybehere05  maybehere09  maybehere13  maybehere17
maybehere02  maybehere06  maybehere10  maybehere14  maybehere18
maybehere03  maybehere07  maybehere11  maybehere15  maybehere19bandit5@bandit:~$ find -type f -size 1033c
./inhere/maybehere07/.file2bandit5@bandit:~$ cat ./inhere/maybehere07/.file2
DXjZPULLxYr17uwoI01bNLQbtFemEgo7

6级→7级

水平目标

下一级的密码存储在服务器的某个位置,并具有以下所有属性:

1.归用户bandit7所有

  1. 集团bandit6拥有

  2. 33字节大小

$ sshbandit6@bandit.labs.overthewire.org-p 2220

这是一个 OverTheWire 游戏服务器。有关的更多信息 http://www.overthewire.org/wargames

bandit6@bandit.labs.overthewire.org的密码:

DXjZPULLxYr17uwoI01bNLQbtFemEgo7

解决方案

bandit6@bandit:~$ ls -al
total 20
drwxr-xr-x  2 root root 4096 May  7 20:14 .
drwxr-xr-x 41 root root 4096 May  7 20:14 ..
-rw-r--r--  1 root root  220 May 15  2017 .bash_logout
-rw-r--r--  1 root root 3526 May 15  2017 .bashrc
-rw-r--r--  1 root root  675 May 15  2017 .profilebandit6@bandit:~$ find / -user bandit7 -group bandit6 -size 33c -type f 2>/dev/null
/var/lib/dpkg/info/bandit7.passwordbandit6@bandit:~$ cat /var/lib/dpkg/info/bandit7.password
HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs

7级→8级

水平目标

下一级的密码存储在文件 data.txt 中,紧挨着单词millionth。

$ SSHbandit7@bandit.labs.overthewire.org-p 2220

这是一个 OverTheWire 游戏服务器。有关的更多信息 http://www.overthewire.org/wargames

bandit7@bandit.labs.overthewire.org的密码:

HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs

解决方案

bandit7@bandit:~$ ls
data.txt
bandit7@bandit:~$ cat data.txt | grep millionth
millionth       cvX2JJa4CFALtqS87jk27qwqGhBM9plV

8级→9级

水平目标

下一级的密码存储在文件 data.txt 中,是唯一只出现一次的文本行

$ sshbandit8@bandit.labs.overthewire.org-p 2220

这是一个 OverTheWire 游戏服务器。有关的更多信息 http://www.overthewire.org/wargames

bandit8@bandit.labs.overthewire.org的密码:

cvX2JJa4CFALtqS87jk27qwqGhBM9plV

解决方案

bandit8@bandit:~$ ls
data.txtbandit8@bandit:~$ cat data.txt | sort | uniq -u
UsvVyFSfZZWbi6wgC7dAFyFuR6jQQUhR

9级→10级

水平目标

下一级的密码存储在文件 data.txt 中,它是为数不多的人类可读字符串之一,前面有几个“u003d”字符。

$ sshbandit9@bandit.labs.overthewire.org-p 2220

这是一个 OverTheWire 游戏服务器。有关的更多信息 http://www.overthewire.org/wargames

bandit9@bandit.labs.overthewire.org的密码:

UsvVyFSfZZWbi6wgC7dAFyFuR6jQQUhR

解决方案

bandit9@bandit:~$ ls
data.txtbandit9@bandit:~$ strings data.txt | grep "="
========== the*2i"4
=:G e
========== password
<I=zsGi
Z)========== is
A=|t&E
Zdb=
c^ LAh=3G
*SF=s
&========== truKLdjsbJ5g7yyJ2X2R0o3a5HQJFuLk
S=A.H&^

谢谢你的阅读。

Logo

CI/CD社区为您提供最前沿的新闻资讯和知识内容

更多推荐