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
Showing posts with label database. Show all posts
Showing posts with label database. Show all posts
22 January 2020
20 January 2020
MySQL Network Recon - Exercise No. 2
The command used to connect to a remote MySQL database.
MySQL [(none)]> show databases;
MySQL [data]> show tables;
root@% = allows connection from user 'root' from any host, local or TCP (internet).
root@localhost = only allows connection from 'root' on the machine running the MySQL server.
MySQL [information_schema]> select * from user_privileges where GRANTEE like '%\%%' ;
Sources : https://www.attackdefense.com/
MySQL [(none)]> show databases;
MySQL [data]> show tables;
root@% = allows connection from user 'root' from any host, local or TCP (internet).
root@localhost = only allows connection from 'root' on the machine running the MySQL server.
MySQL [information_schema]> select * from user_privileges where GRANTEE like '%\%%' ;
Sources : https://www.attackdefense.com/
Subscribe to:
Posts (Atom)
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...
-
Access containers by using the .NET SDK Connect to the Azure Storage blob service endpoint Enumerate the existing containers Retrieve blob...
-
Total Variances Possible reasons for Adverse Materials Expenditure Variance: Price Increase "Bad Buying...
-
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 ...




