Natas Level 5 -> Level 6
Skills: Source code review, PHP
Last updated
Skills: Source code review, PHP
Last updated
We check the source code and we see that there is PHP script performing a check against user input "Secret" value.
We also see that it is "including" secret.inc file from /includes/ directory. We visit the page -- http://natas6.natas.labs.overthewire.org/includes/secret.inc and see it is blank, but viewing its source, we see the secret.
Submitting the secret key as "FOEIUWGHFEEUHOFUOIU", we see natas7 creds.
Level passed - natas7:7z3hEENjQtflzgnT29q7wAvMNfZdh0i9