Natas Level 8 → Level 9
Logging into natas8, we can see a text field, a button, and a link to view the source code.
Here we view the source code this lab provides us
After analyzing the code, we simply use the encodedSecret variable and put it into the encodeSecret function, like this:
Copying and pasting the function with the encodedSecret in the function we get our output: oubWYf2kBq
Using the decoded secret we then input it in the the textfield when we first logged in the lab.
Voila! We get the password for the next level.