| info | value |
|---|---|
| user | natas10 |
| pass | t7I5VHvpa14sJTUGV0cbEsbYfFP2dmOu |
| host | http://natas10.natas.labs.overthewire.org |
explanation
this time, the sec dept actually put some effort into writing robust code
html
|
|
peeping the source, we can see the exact same mechanism as the challenge prior, but with a more robust design
php
|
|
as suggested by this post, the search now filters out the three chars (;,|,&) and because it’s inside the character class [], the pipe | becomes a literal, not an or operator
luckily this condition doesn’t utilize preg_quote, which would eliminate all prefix metacharacters with a backslash, and there are more than 3 chars that pass through the condition, let’s use other prefixes from the previous post
sh
|
|
and es expected, some still work
html
|
|