Mageia Bugzilla – Attachment 8370 Details for
Bug 19158
redis new security issue CVE-2013-7458
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Session output for redis-cli
sample.txt (text/plain), 1.32 KB, created by
Len Lawrence
on 2016-08-26 01:31:14 CEST
(
hide
)
Description:
Session output for redis-cli
Filename:
MIME Type:
Creator:
Len Lawrence
Created:
2016-08-26 01:31:14 CEST
Size:
1.32 KB
patch
obsolete
>Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster. > >Interactive tutorial at try.redis.io > >SET server:name "pluto" >GET server:name => "pluto" >set connections 7 >incr connections >incr connections => (integer) 9 >get connections => "9" >del connections => (integer) 1 >incr connections => (integer) 1 >set resource:lock "Redis Demo 1" => OK >expire resource:lock 40 >... later >ttl resource:lock => (integer) 17 >... >ttl resource:lock => (integer) 10 >... after 40 seconds >ttl resource:lock => (integer) -2 >set resource:lock "Demo 2" => OK (tutorial suggests -1) >rpush friends "Suzy" => (integer) 1 >rpush friends "Zack" => (integer) 2 >get friends => (error) WRONGTYPE Operation against a key holding the wrong kind of value >lpush friends "David" => (integer) 3 >lrange friends 0 -1 >=> 1) "David" >=> 2) "Suzy" >=> 3) "Zack" >lrange friends 0 1 >=> 1) "David" >=> 2) "Suzy" >lrange friends 1 2 >=> 2) "Suzy" >=> 3) "Zack" > > >
Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster. Interactive tutorial at try.redis.io SET server:name "pluto" GET server:name => "pluto" set connections 7 incr connections incr connections => (integer) 9 get connections => "9" del connections => (integer) 1 incr connections => (integer) 1 set resource:lock "Redis Demo 1" => OK expire resource:lock 40 ... later ttl resource:lock => (integer) 17 ... ttl resource:lock => (integer) 10 ... after 40 seconds ttl resource:lock => (integer) -2 set resource:lock "Demo 2" => OK (tutorial suggests -1) rpush friends "Suzy" => (integer) 1 rpush friends "Zack" => (integer) 2 get friends => (error) WRONGTYPE Operation against a key holding the wrong kind of value lpush friends "David" => (integer) 3 lrange friends 0 -1 => 1) "David" => 2) "Suzy" => 3) "Zack" lrange friends 0 1 => 1) "David" => 2) "Suzy" lrange friends 1 2 => 2) "Suzy" => 3) "Zack"
View Attachment As Raw
Actions:
View
Attachments on
bug 19158
: 8370 |
8371