Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Bandit Level 12 Level 13

Posted on Oct 21 Greetings, As we step into Level 12 of the Bandit wargame, we're faced with a unique challenge involving data manipulation and repeated compression. Get ready to roll up your sleeves and dive into the intricate world of Command-line operations.Before we embark on our journey, make sure you've successfully acquired the password for the previous level: JVNBBFSmZwKKOP0XbFXOoW8chDz5yVRv.Creating a Workspace: Begin by creating a temporary directory named /tmp/hexdump. Navigate to this new directory using the following commands:This step ensures you have a clean workspace to carry out the tasks.Preparing the Data: Now, let's grab the data.txt file from the previous level and place it into your temporary directory:This sets the stage for our data manipulation journey.Decoding Hexdump: We'll start by converting the hexdump back to its original form. Execute the following commands to perform this transformation:The xxd -r command reverses the hexdump, reconstructing the original data. The file command is used to inspect the type of data in the hex file.Compressing and Decompressing: In the next steps, we'll play with compression. These commands help us understand the data and its transformations:Here, we rename hex to hex.gz, then unzip it using gunzip. The file command confirms the type of data.Further Compression: Our exploration continues with more compression:We rename hex to hex.bz2 and use bunzip2 to decompress it. Once again, the file command provides insight into the data's nature.Final Steps: The puzzle nears its completion. Execute these commands to perform more decompression given the working file’s data type:These commands navigate through decompression, untar, and finally, reveal the contents of data8.bin which is the password for the next level:Templates let you quickly answer FAQs or store snippets for re-use. Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Girish Venkatachalam - Oct 21 gyan pratap singh - Oct 21 Alex Donfie - Oct 21 Girish Venkatachalam - Oct 21 Once suspended, christianpaez will not be able to comment or publish posts until their suspension is removed. Once unsuspended, christianpaez will be able to comment and publish posts again. Once unpublished, all posts by christianpaez will become hidden and only accessible to themselves. If christianpaez is not suspended, they can still re-publish their posts from their dashboard. Note: Once unpublished, this post will become invisible to the public and only accessible to Christian Paez. They can still re-publish the post if they are not suspended. Thanks for keeping DEV Community safe. Here is what you can do to flag christianpaez: christianpaez consistently posts content that violates DEV Community's code of conduct because it is harassing, offensive or spammy. Unflagging christianpaez will restore default visibility to their posts. DEV Community — A constructive and inclusive social network for software developers. With you every step of your journey. Built on Forem — the open source software that powers DEV and other inclusive communities.Made with love and Ruby on Rails. DEV Community © 2016 - 2023. We're a place where coders share, stay up-to-date and grow their careers.



This post first appeared on VedVyas Articles, please read the originial post: here

Share the post

Bandit Level 12 Level 13

×

Subscribe to Vedvyas Articles

Get updates delivered right to your inbox!

Thank you for your subscription

×