Linux命令-bandit通关小秘籍

这篇博客详细介绍了如何通关Linux Bandit游戏的各个级别。从使用SSH登录开始,玩家需要通过阅读不同级别的提示来找到密码,这些密码存储在各种文件中,包括隐藏文件、有特殊名称的文件以及特定大小和权限的文件。玩家需掌握基本的Linux命令,如ssh、ls、file、find等,来解决每个关卡的挑战。
摘要由CSDN通过智能技术生成

Level 0

The goal of this level is for you to log into the game using SSH. The host to which you need to connect is bandit.labs.overthewire.org, on port 2220. The username is bandit0 and the password is bandit0. Once logged in, go to the Level 1 page to find out how to beat Level 1

 意思就是要我们使用SSH远程连接,host是bandit.labs.overthewire.org,端口是2220,用户名和密码是bandit0。

ssh远程连接命令:

#    ssh -p 2220 bandit0@bandit.labs.overthewire.org

 输入密码(注意此处输入密码不会显示,输入完成直接回车)

第一关通过

Level 0-1

The password for the next level is stored in a file called readme located in the home directory. Use this password to log into bandit1 using SSH. Whenever you find a password for a level, use SSH (on port 2220) to log into that level and continue the game.

意思是下一关密码存储在home目录下readme文件里,我们要通过命令获取

#    ls    列出目录和文件列表,
#    cat   显示文件内容

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

星期五&

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值