Pentester Academy Lab Walkthrough— Redis Server: Basics | by Asif Khan | Jul, 2021

by Nitikesh Pattanayak
185 views
A+A-
Reset
Asif Khan

Lab link : https://attackdefense.com/challengedetails?cid=541

Hello All,

Hope you guys Doing well…

I am a cybersec geek and this is my first ever blog . Well, It’s a big first step, but it’s only the first part of my whole new journey into the infosec . Thanks to Pentester Academy for making me do this.

We will be discussing about BASICS OF REDIS SERVER today . So without any Further ado.. Let’s get started…

Redis is an open source , in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.

You need to know what type of value that a key maps to, as for each data type, the command to retrieve it is different.

So first of all check the type of the key with type command

type If value is of type string -> GET If value is of type hash -> HGETALL If value is of type lists -> lrange   If value is of type sets -> smembers If value is of type sorted sets -> zrange    [WITHSCORES]To check the cardinality of set -> PFCOUNT **Check information about the server with -> info 

You may also like

Leave a Reply

Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

-
00:00
00:00
Update Required Flash plugin
-
00:00
00:00
Verified by MonsterInsights