# Super Secure

![Screenshot of challenge](https://584771571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhn0OSf58IrV71Z387bZ%2Fuploads%2FBbyOuq6NVqD1u7We0w9q%2Fimage.png?alt=media\&token=762aa653-a6a1-48fe-ad6a-a2c008e876c7)

### Description

This is so unbreakable!\
\
<http://ez.ctf.cafe:8888><br>

### Hint

Did you get your Covid Injection?

### Writeup

When you open the website, you will see something like this

![homepage of website](https://584771571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhn0OSf58IrV71Z387bZ%2Fuploads%2FzskTARu2T4mZGPiAkzV8%2Fimage.png?alt=media\&token=f74b516a-aa42-4388-b011-5237b28bbebc)

Now, seeing this like of name and password, one thing will directly popup in your mind, what is it?

Yes, that is SQL Injection

When we write `'` in name and password, we can see something like this

![Could not successfully run query (SELECT \* FROM members WHERE username = ''' AND password = '3590cb8af0bbb9e78c343b52b93773c9') from DB: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '3590cb8af0bbb9e78c343b52b93773c9'' at line 1](https://584771571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhn0OSf58IrV71Z387bZ%2Fuploads%2FudqXIjotODD9arQM4noA%2Fimage.png?alt=media\&token=c3d6ebdb-bd59-4ae5-b93b-d825ebd9315a)

From this, we get to know what this is MySQL Database, and how to do the injection in this website.

My Payload:

name: `admin' or ''='`&#x20;

password: `YouAreHacked`

Boom 💥, we got the Flag!!! 🥳

### Flag

`EZ-CTF{N0t_S0_S4f3_4ft3r_411}`


---

# 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://krishnan-navadia.gitbook.io/ez-ctf/ez-ctf-web/super-secure.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.
