# Pentesting Redis 6379

## 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&#x26;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&#x26;token=ddb5d8de-a26b-44e2-bfbc-cf2532e15ba4" alt=""><figcaption></figcaption></figure>
