ritheachengkh

🕸️Natas Level 10 → Level 11

http://natas10.natas.labs.overthewire.org

Username: natas10
Password: (natas10_password)

n10s1

After checking the page source, we discovered that the special characters /[;|&]/ were restricted this time.

n10s2

We can leverage grep to access and read the file to finish this challenge — see the examples below.

grep .* pass.txt test.txt

This is a regular expression (regex) pattern.

n10s3

Next, we enter test into the input field and inject our command into the URL

n10s4

🌐 Here are some useful URL encodings.

URL_encoding

.*%20/etc/natas_webpass/natas11

n10s5

Follow the steps above and the flag should appear.

n10s6

Fantastic! This flag is your key to the next challenge.