New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

nrsc

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nrsc

a node js tool to scan redis keys via pattern and execute a command on them

latest
Source
npmnpm
Version
0.2.4
Version published
Maintainers
1
Created
Source

nrsc

simple nodejs tool to run redis scans and execute command on matches

USE WITH EXTREME CARE!

usage

install

npm install -g nrsc

default parameters

nrsc -v false -silent false -h localhost -p 6379 -m "nrsc*" -c "get"

example to delete all matching keys

nrsc -m "session*" -c "del"

available options

-m MATCH, defaults to "nothing". this is NOT OPTIONAL. Provides a redis pattern to run the scan with.

-c COMMAND, defaults to "get". this is usually a GET or a DEL. the command will ALWAYS be executed with only the KEY of each match as a parameter.

-v VERBOSE, defaults to "false". if set to true, the fully info for each matched key will be displayed.

-s SILENT, defaults to "false". if set to true, the result of the executed command for each match will NOT be printed out anymore

-h HOST, defaults to "localhost". the redis host you wish to connect to.

-p PORT, defaults to "6379". the redis port you wish to connect to.

FAQs

Package last updated on 24 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts