# Passman

<figure><img src="/files/HdaV1mdJ9ACVLMWBbi1O" alt=""><figcaption></figcaption></figure>

we create a user and login:

<figure><img src="/files/9La6fhgASbEl6PpDvQck" alt=""><figcaption></figcaption></figure>

we also create a note:

<figure><img src="/files/W6j2jqUUvAoeodbCalpr" alt=""><figcaption></figcaption></figure>

we can see that it's running graphql:

<figure><img src="/files/i6wgpqPZ9Gg7hujsFJhk" alt=""><figcaption></figcaption></figure>

look at the query :

<figure><img src="/files/4EU5UEQmfLaIcgC7Gmx5" alt=""><figcaption></figcaption></figure>

The query is:

```graphql
mutation ($recType: String!, $recAddr: String!, $recUser: String!, $recPass: String!, $recNote: String!) {
  AddPhrase(
    recType: $recType,
    recAddr: $recAddr,
    recUser: $recUser,
    recPass: $recPass,
    recNote: $recNote
  ) {
    message
  }
}
```

also look at the jwt token :

<figure><img src="/files/9dj1aumCw2gHf4R94TTU" alt=""><figcaption></figcaption></figure>

Look at the code for updatePassword :thumbsup:

![](/files/rLjDyvAxFL6p2iFtxPol)&#x20;

we use the login query and make it updatepassword:

<figure><img src="/files/S07SuJuneYGpUIStoauU" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/8TC2qLudSrmDOb6LAA8p" alt=""><figcaption></figcaption></figure>

and we get the password:

<figure><img src="/files/sFWG5roFOkYmvKq6vpBK" alt=""><figcaption></figcaption></figure>


---

# 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://anekant-singhais-organization.gitbook.io/why-so-script-kiddie/ctfs/htb-challenges/web/passman.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.
