# CouchDB Pentesting

### [Directories](https://exploit-notes.hdks.org/exploit/database/couchdb-pentesting/#directories) <a href="#directories" id="directories"></a>

```sh
# List all databases
/_all_dbs

# Show information of the database
/<db_name>

# Futon administration interface
/_utils/
# Temporary View
/_utils/database.html?<database_name>/_temp_view
Copied!
```

<br>

### [Basic Operations](https://exploit-notes.hdks.org/exploit/database/couchdb-pentesting/#basic-operations) <a href="#basic-operations" id="basic-operations"></a>

```sh
# Create a new database
curl -X PUT https://example.com:5984/<new_database_name>

# Delete a database
curl -X DELETE https://example.com:5984/<database_name>
Copied!
```

### References

* <https://guide.couchdb.org/draft/tour.html>


---

# 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://morgan-bin-bash.gitbook.io/data-base/couchdb-pentesting.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.
