### First Part **Look at the files** ``` │>PHISH_MARKET │ docker-compose.yml │ start.sh │ ├───market │ Dockerfile │ market │ wait-for-it.sh │ └───mysql Dockerfile init-db.sql ``` As you may have noticed, there are 2 Docker containers: one with a MySQL database and another one contai
>/Posts/[1:6]/7 $
2024
### First Part Well, since the description was rather brief, we can't learn much from it. Therefore, it's a good practice to start examining the application by running the command: ``` strings program.ext ``` in Linux to see what ASCII strings are stored in the application. On Windows, there are desktop applications for performing a si
20 Oct
## The Discrete Logarithm Problem Now that you understand modular arithmetic, we can move on to its applications. In the previous post, we discussed how to perform modular computations. Now, it's time to learn how these computations are used in cryptography. Calculating the remainder in an equation like this might be easy: $$ 5^{13}\bmod{17} =
21 Aug
## Get Familiar with the Task I assume you've already read the description and noticed that the flag in this challenge resembles a familiar Base64 encoding. However, after decoding it, you see what looks like a series of random bits: ``` QФ~ĦZòÕöï!﨧.§ä>îÓF7Oþ²ëY+æèZs¶ ·¨2 [MQìüF ¬ ``` This time, the flag was truly enc
20 Aug
![JS1](./images/JS1.png) ## Get Familiar with the Task In the first step, you have to figure out what the main task in this challenge is. As you may see, there is a text input form that updates the **textContent** depending on a strange-looking **if** statement. If you can manage to make this **if** statement evaluate to **true**, you'll know
19 Aug
# What is Modular Arithmetic? Usually, when you want to perform division, you do something like: $$ \frac{3}{5} = 1,(6) \Rightarrow 1\frac{2}{3} $$ But there are some cases when you only need the remainder. $$ \frac{\text{Dividend}}{\text{Divisor}} = \text{Quotient} + \text{Remainder} $$ Where \\(\text{Quotient} = k \times \text{Divis
14 Aug