> For the complete documentation index, see [llms.txt](https://notes.programmersecurity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.programmersecurity.com/web-pentesting-stuff/pentesting-port-80-443/pentesting-redis-6379.md).

# Pentesting Redis 6379

Redis is an open-source in-memory storage, used as a distributed, in-memory key–value database, cache and message broker, with optional durability.

## Install Redis Locally Using Docker (Latest Version)

```javascript
docker run -p 6379:6379 redis:latest //pull the latest Docker image of redis

docker ps //look at the running docker processes

docker exec -it <Container id> sh // run the shell on the container

redis-cli // get into the cli of redis on the container

```

<figure><img src="https://3420091786-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy1ZUO45eHY8aMCLJ7OiN%2Fuploads%2FXBUe1A78o6pUZ2CxXoVw%2Fimage.png?alt=media&amp;token=2d9b0142-69e9-4a1c-9970-e487ce4cd525" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3420091786-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy1ZUO45eHY8aMCLJ7OiN%2Fuploads%2FRhwL2LtspTMtvmAPGMPb%2Fimage.png?alt=media&amp;token=ddb5d8de-a26b-44e2-bfbc-cf2532e15ba4" alt=""><figcaption></figcaption></figure>
