Tech
OverTheWire Bandit Level 2 Writeup — Read a Filename With Spaces
The password file is named spaces in this filename . The shell splits unquoted arguments on whitespace, so the filename has to be quoted or escaped to be treated as one argument.
Platform: OverTheWire Bandit
Category: Linux Fundamentals
Level: 2 → 3
Difficulty: Beginner
Technique: Shell quoting and escaping
Challenge description
Level 2's home directory has one file, but its name contains spaces. In a shell, unquoted spaces separate arguments — so ...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to