Posts

DeepCTF Writeups

Image
Hi everyone!  I present you my writeup of the DeepCTF   happened on April 4th, 2020. Let's Get Started---------------> OSINT Challenges: Challenge: History (80) DESCRIPTION- Where did it happen? 'Drunk Hackers' P.S. Hackers love that place Flag format - d33p{xxxxxx}] SOLUTION:: → Use commands -      ⇒ Just search for Drunk Hackers on google     ⇒ Open first link and we got the flag- → Flag - d33p{defcon} Challenge:  SecXML (200) DESCRIPTION- <salesCommissions>                <dollarAmount>FLAG</dollarAmount> </salesCommissions> The text file will help you get that information! Download file reach.txt SOLUTION:: → Use commands -      ⇒ See the content of the file using command-  cat reach.txt      ⇒ Copy the above output, search it on google, some useful links will appear-     ⇒ Open above li...

VirSecCon CTF Forensics Writeups

Image
1) I Lost My Password! (75) DESCRIPTION- Oh no! Can you please help me retrieve my password? To submit this flag, you must wrap the discovered password in the typical flag format. Download the files below. passwd and shadow SOLUTION:: → Use commands -      ⇒ unshadow passwd shadow > pass ( unshadow tool is used to combine the passwd and shadow files into a format that John The Ripper tool can read)      ⇒ john --wordlist=/usr/share/wordlists/rockyou.txt pass (using rockyou.txt file located in  /usr/share/wordlists/ directory,  to crack passwords and saving its output in a file named as pass (or any other name))      ⇒ john --show pass (we can use the --show flag to display the cracked passwords that John successfully recovered) → Flag - LLS{whiterose} 2) QUACK (90) DESCRIPTION- We found this binary on a USB drive someone left lying around. There was a note attached, that read: “you’re the one...

VirSecCon CTF Steganography Writeups

Image
1) Stegosaurus (70) DESCRIPTION- Scientists are struggling with a new mystery: we thought the dinosaurs were gone, but this one has returned! Hmmm... can you solve this mystery? Download the file below: stegosaurus.png SOLUTION:: → Use commands -           ⇒ Use website https://georgeom.net/StegOnline/image to convert the color palette of this image           ⇒ Use the LSB Half option to change color palette                                              OR           ⇒ Install tool stegsolve.jar using commands                     wget http://www.caesum.com/handbook/Stegsolve.jar -O stegsolve.jar                     chmod +x stegsolve.jar        ...

3 WAYS TO START A LOCAL WEB SERVER IN LINUX

Image
When a web developer develops a website, he needs to see how it will work on the end-user side. But a question comes in mind- "What is the need of a web server if we can see the HTML files in the web browser?" The answer is- what if we need to test the dynamic content, so we need to setup a local web server. This can be accomplished very easily on Windows, macOS and Linux. But today we will see 3 ways to setup a local web server in Linux.  NOTE ::  Steps being used are almost similar to use on other operating systems. Do some research on your own also.  Following servers can also be opened on other machines in the same network. FIRST WAY- Using apache2  Apache is open-source web-server software that powers much of the web today. It is maintained by apache-http-project .  Steps to follow :: Step 1: Open Terminal Step 2: Check if it is installed or not (mostly, already installed). If not, use the following comman...

Introduction to Linux

Image
Before we start learning Linux, let’s first understand- What is an Operating System? Every time you switch on your computer, you see a screen where you can perform different activities like writing something, browse the Internet or watch a video. But, have you ever thought- how does the computer know that you are asking it to run a mp4 file (video)? The answer is: Operating System (or the kernel), which does this work. A kernel is a program at the heart of any operating system that takes care of fundamental stuff, like letting hardware communicate with software. So, to work on your computer, you need an Operating System (OS). In fact, right now you are using one of the popular OS's like Windows, macOS, or Linux, as you read this blog on your computer. However, here we will learn what Linux is and what benefits it offers over other OS's available. What is Linux? Just like Windows and macOS , Linux is an operating system. In fact, one of the most popular platfor...