Natas 10 -> 11

user: natas10
pass: nOpp1igQAkUzaI1GUUjzn1bFVj7xCNzu

This looks familiar - but someone got smart and decided to start sanitizing their inputs, it looks like. We can't use ;, |, or & to circumvent the grep command. Clever designers. But what other command exploits might we be able to use?

Let's think back to the days when we were command-line masters instead of browser-hackers. I seem to recall that grep had some fancy functionality... like, for instance, the ability to grep over multiple files at once. So what happens if we tell it to do just that?

Of course, we don't know what to tell grep to look for, so let's just use the .* operator to tell it to match any number of occurrences of anything. Remember, looking at the source, that our file will be searched over first, so we won't care too much about the massive number of dictionary words that will be spit out after. Let's try it (remember, the second file we should try looking at is the same as last time - /etc/natas_webpass/natas11).

And there we have it! One password, coming right up.

Comments

Popular posts from this blog

Natas 7 -> 8

Natas 11 -> 12

Natas 8 -> 9