OverTheWire

OverTheWire: Bandit Level 25 → Level 26

Level Goal

Commands you may need to solve this level

> whatis ssh
ssh (1) - OpenSSH remote login client
> whatis cat
cat (1) - concatenate files and print on the standard output
> whatis more
more (1) - file perusal filter for crt viewing
> whatis vi
vi (1) - Vi IMproved, a programmer's text editor
> whatis ls
ls (1) - list directory contents
> whatis id
id (1) - print real and effective user and group IDs
> whatis pwd
pwd (1) - print name of current/working directory

Helpful Reading Material

Solution

Lets view if there are any files in our current working directory.

bandit25@bandit:~$ ls
bandit26.sshkey
cat /etc/passwd
more .bashrc
ssh bandit26@localhost -i bandit26.sshkey

--

--

Software Developer, Cloud Engineer, Cybersecurity Enthusiast, Insatiable Learner https://notes.davidvarghese.dev

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store