> For the complete documentation index, see [llms.txt](https://notes.m4lwhere.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.m4lwhere.org/master.md).

# Hacking Notes

## Pentesting Commandments

Thou shall keep copious records of all known passwords and usernames

Thou shall always try known creds on new systems

Thou shall always PrivEsc

Thou shall always find new credentials

Thou shall never impact operations

### Highlights

{% content-ref url="/pages/-MUJBnjf8dWNJggFbGoW" %}
[One-Liners](/one-liners.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MUIqGsXC0EkPvY-ACqh" %}
[Examples and Quick Scripts](/programming/examples-and-quick-scripts.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MUBkPPbqt62D6t3rAU9" %}
[Powershell](/offensive/microsoft-windows-exploits/powershell.md)
{% endcontent-ref %}

### Content Created

#### Previse Machine on HTB

{% embed url="<https://app.hackthebox.com/machines/373>" %}
Previse, retired machine on HTB
{% endembed %}


---

# 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://notes.m4lwhere.org/master.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.
