OverTheWire:- Updated Natas Walkthrough — Level 8

Samxia99
3 min readMar 24, 2024

--

Hello everyone, I would like to share how I solved Nastas CTF also Here is the updated password, I hope this write-up will be helpful.

hello Folks!!! it’s a samxia99

My Bio link:-https://beacons.ai/samxia99

Greetings everyone! I’m excited to share with you how I was able to successfully conquer a CTF challenge. Through this write-up, I’ll provide a clear explanation of my techniques and strategies, and I’m confident that it will greatly benefit those who are interested in CTF challenges. So, sit back, relax, and let me take you on an informative journey.

Just a quick reminder that the game has been updated, so the password has also been changed. I hope this password is helpful!

Natas Level 7 → Level 8

  • Here are the login details.
Username: natas8
URL: http://natas8.natas.labs.overthewire.org
  • After logging in we can see this page.
  • we solved this type of challenge before we needed to find a secret Query and submit it, but at this level, there has been a change the secret Query being encoded. we can view the source code here is our secret key.

$encodedSecret = "3d3d516343746d4d6d6c315669563362" We have a hint here return bin2hex(strrev(base64_encode($secret)));

  • first, we need to convert the hex to a bin: we can use cyberchef here is the link:-https://gchq.github.io/CyberChef/
==QcCtmMml1ViV3b
  • Now convert ==QcCtmMml1ViV3b to reverse we need to reverse because in the hint there is strrev.
b3ViV1lmMmtCcQ==
  • Now convert b3ViV1lmMmtCcQ== to base64
oubWYf2kBq

oubWYf2kBq This is a secret Query input it and get the password.

Pass:-Sda6t0vkOPkM8YeOZkAGVhFoaplvlJFd

Hopefully, this write-up will be useful for everybody, I have tried to make it easy to read.

Next level:-https://medium.com/@samarthkokil64/overthewire-updated-natas-walkthrough-level-9-fa850f728d8f

Previous level:-https://medium.com/@samarthkokil64/overthewire-updated-natas-walkthrough-level-7-5f4036d9494c

PS:- THANKS FOR READING

--

--

Samxia99

This is for me to document my journey through hacking, CTFs and Hacker tool's | i also love to read novel.