> For the complete documentation index, see [llms.txt](https://sgtdiddlywink.gitbook.io/htb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sgtdiddlywink.gitbook.io/htb/machines/starting-point-machines/tier-1-machines/ignition.md).

# Ignition

{% file src="/files/IyZBZLhSE4eSAO3HsQW4" %}

**Task 1**

Which service version is found to be running on port 80?

**Answer:**

* Run the following nmap scan
* `nmap -sV -p 80 [IP]`
* The answer is "nginx 1.14.2"

**Task 2**

What is the 3-digit HTTP status code returned when you visit http\://{machine IP}/?

**Answer:**

* Run the following to easily discover the code:
* `curl -v http://[IP]`
* The answer is 302

**Task 3**

What is the virtual host name the webpage expects to be accessed by?

**Answer:**

* In your web browser input the IP you were given and it should automatically transfer you.
* The URL should now read "ignition.htb" which is the answer.

**Task 4**

What is the full path to the file on a Linux computer that holds a local list of domain name to IP address pairs?

**Answer:**

* The answer is `/etc/hosts`

**Task 5**

Use a tool to brute force directories on the webserver. What is the full URL to the Magento login page?

**Answer:**

* Run a gobuster dir search:
  * `gobuster dir -u http://ignition.htb/ -w /usr/share/dirb/wordlists/common.txt`
* The answer will pop up with /admin. Therefore the full URL is:&#x20;
  * <http://ignition.htb/admin>

**Task 6**

Look up the password requirements for Magento and also try searching for the most commong passwords of 2023. Which password provides access to the admin account?

**Answer:**

* Googled password requirements for Magento and it shows that at minimum it needs to be 7 characters long with letters and numbers.
* I googled most used passwords for 2023 and after trying a few finally found that "qwerty123" works.

**Submit Flag:**

* Once you have signed into the admin account the flag will be on the first page in the text:
* 797d6c988d9dc5865e010b9410f247e0


---

# 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://sgtdiddlywink.gitbook.io/htb/machines/starting-point-machines/tier-1-machines/ignition.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.
