OverTheWire — Natas Level 6& 7

Complete solution with the explanation of natas level 6and level 7

Natas Level 5 → Level 6

URL: http://natas6.natas.labs.overthewire.org

  • now this time we have something different, an input field.
  • so to test what this does, let’s just click submit….this throws a “wrong error” message.
  • okay, now let’s view the source code
  • so we can find a php code, which takes in values from the input field (form) and compares it to a file located in includes/secret.inc
  • so let’s navigate to that page http://natas6.natas.labs.overthewire.org/includes/secret.inc
  • we found the secret code, enter that and we’ll get the password to the next level!!

Natas Level 6 → Level 7

Give this a 👏 if you found it useful!



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Hritesh J

Hritesh J is a student pursuing undergraduate studies in CS. Loves cybersecurity and playing ctfs and writing about them. “learning one new thing every day.”