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

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 

Related posts

Celebrating Nowruz in the Digital Age: The Intersection of Technology and Spirituality

Google Pixel 9a:Performance and Value

Google Pixel 9a: The Unsung Hero of Budget Smartphones – Why It Deserves Your Attention

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