> For the complete documentation index, see [llms.txt](https://codingmace.gitbook.io/masterward/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codingmace.gitbook.io/masterward/ctf/2021/tctf-2021.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
