General Skills
Tag
42 posts from picoCTF
based
As the challenge description suggests, we must be equipped with basic knowledge of different data encodings in order to solve this challenge. However, there are many types of numerical encodings or data encodings used to represent data in different formats.
useless
This challenge requires us to first connect to their SSH server as picoplayer on port 59574. We can do this by running ssh -p 59574 [email protected].
PW Crack 5
This is the final challenge of the “PW Crack” challenge series. What a journey it has been! In this challenge, we will be cracking a password using a dictionary attack, which is a brute-force approach.
PW Crack 4
The 4th addition to the “PW Crack” challenge series! How exciting! Check out the previous challenges if you’re interested: PW Crack 1 PW Crack 2 PW Crack 3 In this challenge, we are provided ...
Plumbing
When I saw the challenge name, my first instinct was that I’ll be required to use pipe (“|”) for this challenge. Of course, it will be pointless guessing without more clues.
PW Crack 3
Another challenge in the “PW Crack” series! Check out the previous 2 challenges in this series too: PW Crack 1 PW Crack 2 We first download the 3 challenge files using wget <link1> ...
Serpentine
This is a challenge involving a Python script. We will likely have to manipulate the script to display the flag in this challenge. We first download the provided script using wget <link>.
ASCII Numbers
We are given a string of hexadecimal values, where each value corresponds to an ASCII character. Indeed, CyberChef can be useful in challenges like these.
Lets Warm Up
This challenge is similar to previous warmup challenges(Warmed Up and 2Warm). For this challenge, we only have to convert hexadecimal(0x70) to decimal, then to an ASCII character.
Warmed Up
This is an easy challenge where we are tasked to convert 0x3D (hexadecimal representation) to base10 (decimal representation). This can be done in many ways, such as using an online conversion tool or writing a script.
what's a net cat
This challenge is a very basic challenge where we just have to connect to jupiter.challenges.picoctf.org at port 25103 to get the flag, by running nc jupiter.challenges.picoctf.org ...
Magikarp Ground Mission
For this challenge, we will be tasked to move between directories after we SSH into a server, according to clues we pick up along the way. Let’s begin by running the command to SSH into the server (shown after launching an instance): This allows us to SSH into the picoCTF server on port 60161 as ctf-player.
Codebook
Let’s first download the 2 files provided using wget <link1> <link2>. With reference to the challenge description, we are supposed to follow instructions given and run the script code.py in the same directory as the codebook.txt file.
convertme.py
Alright, our task is to convert a number from decimal to binary, pretty simple! There are many ways to do this. First, we download the Python script convertme.py (using wget), and ran nano immediately to examine the code.
Blame Game
Another challenge about version control using Git. This time, the description suggests that it’s about commits made by someone. To begin, download the file using wget and unzip it.
Collaborative Development
From the challenge description, it is hinted that the “team” is facing some version control difficulties, possibly with Git. Other than this, we are not provided with any more clues.
fixme1.py
Alright, it looks like we just have to fix 1 simple syntax error to allow the flag to be printed successfully. Let’s download the challenge file using wget <link> and check for the syntax error.
fixme2.py
In this challenge, we are tasked to fix a single syntax error in the provided Python script. This challenge is highly similar to fixme1.py. As mentioned in fixme1.py, when we run a python file, errors (if any) will be printed in the terminal, specifying the type of error and the line number in which the error occurs.
First Grep
Yep, as the challenge description suggests, we just need to pipe the contents of the downloaded file through grep with the search term “pico” or “picoCTF” to get the flag ...
binhexa
We begin by connecting to the server by running nc titan.picoctf.net 61359. We are greeted with a barrage of questions related to binary operations. Once we answer the 6 questions and enter the results of the last operation in hexadecimal, we are awarded with the flag.
2Warm
The challenge description instructs us to convert the number 42 to binary. We can use any online base 10 to base 2 conversion tool to do this. We can even do it manually.
Obedient Cat
I don’t think much elaboration is required for this challenge. The challenge name and the description gave it away, just download the challenge file using wget <link> and run cat to display the flag in the terminal.
Nice netcat...
I’ll begin by running the command given in the description to understand how I can proceed. After connecting to the server, I was greeted with an overwhelming number of numbers, as shown below.
Static ain't always noise
This challenge is similar to strings it and Wave a flag. After downloading the files using wget, I ran file static to check the file type of this file.
Python Wrangling
We first download the 3 challenge files, ende.py, pw.txt and flag.txt.en by running wget. I also tried to display the contents of pw.txt and flag.txt.en.
Wave a flag
This challenge is basically identical to a previous challenge I’ve completed (strings it). We first download the challenge file using wget <link>, check the file type using file <file-name> (optional), and display printable characters in the file using strings <file-name>.
Bases
Aha, a challenge dealing with bases! We have this string, with no other clue about how it has been encoded: For my past CTF challenges, it is quite a common occurrence for flags to be Base64 ...
strings it
Well, the description gave us a very useful clue. We’ll have to use strings for this challenge. strings prints the strings of printable characters in files.
Tab, Tab, Attack
The description tells us that we are recommended to use tabcomplete in this challenge while finding the flag. Tabcomplete basically helps you finish words or commands while typing by pressing the Tab key in the terminal.
Glitchcat
Hmm… the challenge name and description is quite vague. Let’s run the command given when I launched an instance to understand what exactly is going on.
runme.py
Alright, seems like we are given instructions on how we can solve this challenge. We shall check it out. First, we download the python script using wget <link>.
HashingJobApp
From the challenge description and name, we can tell that the challenge’s about cryptographic hash functions. But we don’t know which. After I launched an instance, I was given this command to run: After using this command to connect to the server, I realised what the challenge was all about.
PW Crack 2
This challenge approach is really similar to that of the PW Crack 1 challenge. We just have to input the correct password and we get our flag. There is only a minor modification in this challenge compared to the previous one.
PW Crack 1
Currently, all we know is that we are provided with a password checker file and an encrypted flag file which we can download with wget <link>. Perhaps we need to decrypt the flag and submit it as a password in the password checker? When I tried to cat the encrypted flag, all I got was gibberish.
Commitment Issues
In this challenge, we will be playing with Git and Git commands. There’s a word play on Git commits in the challenge name. The hints given also hinted that this challenge is associated with version control, specifically using Git.
repetitions
Hmmm… the challenge name “repetitions” implies that we will be doing something repeatedly. Could our task be decoding a string repeatedly? Let’s find out! We are only provided with one file, enc_flag.
First Find
Well, from the description, it seems like we can first download the given zip file using wget <link>, unzip the file, and then find the full path to the file named uber-secret.txt ...
Big Zip
As usual, we begin by downloading the file using wget <link>. For this challenge, the downloaded file is a zip file, so I proceeded to unzip it. This created a directory called big-zip-files.
endianness
Honestly, I did not have much knowledge about endianness and what exactly is Big-Endian and Little-Endian before this challenge. This challenge was a good introduction to the concept for me.
Super SSH
The challenge description basically told us exactly what we have to do to get the flag. We can just follow the instructions. The main challenge is to come up with the SSH command to connect to their server.
Time Machine
Hmmmm… the challenge description hints that we will be following a Forensics approach. However, this challenge is categorised under General Skills. We shall explore! We first download the file given using wget <link>.
Binary Search
As the name suggests, this challenge will be about binary search. From the GeeksforGeeks Binary Search Algorithm page, the Binary Search Algorithm is a searching algorithm used in a sorted array by repeatedly dividing the search interval in half.