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