22 January 2020

NoSQL Network Recon - Exercise No. 1

In Redis Server, the command to retrieve key-value differs by data type.


Here are the commands to retrieve the key value:

if the value is of type string,
GET <key>

if the value is of type hash,
HGETALL <key>

if  the value is of type lists,
lrange <key> <start> <end>

if the value is of type sets,
smembers <key>

if the value is of type sorted sets,
ZRANGEBYSCORE <key> <min> <max>


The command to check the type of value a key mapping to:
type <key>




Source:
https://www.attackdefense.com/
https://stackoverflow.com/questions/37953019/wrongtype-operation-against-a-key-holding-the-wrong-kind-of-value-php

1 comment:

  1. How to win at the Hard Rock casino and get your money
    How to win at 토토 라이브스코어 the 프로토 넷마블 Hard Rock casino and get your money · Step 1: Visit 스포츠토토 언오버 비코리아 놀검소 Website · Step 2: 커뮤니티 베스트 Visit Website · Step 3: Visit 웹툰사이트 Website · Step 4: Visit Website.

    ReplyDelete

Open Source Information Gathering using Windows Command Line Utilities

 How to Find the Maximum Frame Size Packet needs to be fragmented but DF set, means that the frame is too large to be on the network and ne...