# TCTF 2021

## Guthub - Misc \[144 pts]

> **Description**\
> What happens on GutHib, stays on GutHib.
>
> repo: [awesome-ctf/TCTF2021-Guthib](https://github.com/awesome-ctf/TCTF2021-Guthib)

<div align="left"><img src="/files/-MdsKfiMx6e-f5afNHie" alt=""></div>

Noticing on the second commit had a password that was removed. I saw that a lot of teams forked it so I did the same at first. Looking at each point I came up empty, what a shock. I realized at this point I was going to have to look at the specific change logs. \
If you go back you can find the link to the commit changing it and the flag can be found at `https://api.github.com/repos/awesome-ctf/TCTF2021-Guthib/commits/da883505ed6754f328296cac1ddb203593473967`

**Flag: flag{ZJaNicLjnDytwqosX8ebwiMdLGcMBL}**

## Check In - Math \[?? pts] \[Not Solved] <a href="#check-in" id="check-in"></a>

> Welcome to 0CTF/TCTF 2021!
>
> `111.186.59.11:16256`
>
> Nothing fancy, just do the math

So we are given when connected this equation, `x^y^z % a = 2 ^ 2 ^ z % a` I researched a little and turned it into => `2 ^ 2 * z % a so we can say 2 ^ 2z % a = x ^ y ^ z % a`. Then attempted1 to write a short program for that with many failures. First, it didn't finish in time, then it didn't get the right answer, and finally, I just gave up. In hindsight, I should have used gmpy to solve the problem but just didn't think about it.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://codingmace.gitbook.io/masterward/ctf/2021/tctf-2021.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
