Skip to content

Commit

Permalink
add redis-cli.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasy0x1 committed Nov 24, 2023
1 parent 78512ce commit 2efc6a3
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions arsenal/data/cheats/Databases/redis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Redis

% databases
#plateform/linux #target/remote #cat/RECON #cat/ATTACK/CONNECT

## connect to the local server
```bash
redis-cli
```

## connect to a remote server on the default port (6379)
```bash
redis-cli -h <ip> -a <password>
```

## connect remotly specifying a port
```bash
redis-cli -h <ip> -p <port> -a <password>
```

## connect remotly over tls w/ server certificate
```bash
redis-cli -h <ip> --tls --cacert <redis_cert_path.pem>
```

## connect remotly over tls w/ server & client certificates
```bash
redis-cli -h <ip> --tls --cacert <redis_cert_path.pem> --cert <redis_user_path.crt> --key <redis_user_private_path.key>
```

0 comments on commit 2efc6a3

Please sign in to comment.