WeSearch

OverTheWire: Bandit Level 2

·1 min read · 0 reactions · 0 comments · 5 views
#security#linux#cli#beginners#ssh#OverTheWire#Bandit#Amanda Igwe#bandit.labs.overthewire.org
OverTheWire: Bandit Level 2
⚡ TL;DR · AI summary

The article provides a walkthrough for completing Level 2 of the OverTheWire: Bandit security challenge. It guides users through logging in via SSH, navigating the command line, and retrieving a password from a file named with a hyphen. The instructions emphasize proper syntax, such as using 'cat ./-' to read the file and saving credentials for future use.

Key facts
Original article
DEV Community
Read full at DEV Community →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3025754) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Amanda Igwe Posted on May 1 OverTheWire: Bandit Level 2 #beginners #cli #linux #security Using ssh, ls, cat, cd on Command Line Things to do: ssh into bandit1 host bandit.labs.overthewire.org (incase you are not logged in. But if you are already logged in, skip this step and go to number 5) port 2220 username bandit1 password ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If Use ls to find - Now you cannot use cat - to open the file because it will return an error.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV Community.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV Community