


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…
BASICS OF REDIS SERVER :
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.
Basic commands for redis-cli :
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