OverTheWire — Natas Level 6& 7

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

Hritesh J
1 min readJan 28, 2022


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!



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.”