Files
enteletaor/enteletaor_lib/modules/redis/cmd_actions.py
cr0hn 18880955b2 Fix: A lot of improvements in framework.
Add: 5 new attacks in redis module
2016-02-16 16:05:48 +01:00

23 lines
748 B
Python

# -*- coding: utf-8 -*-
"""
This file contains command line actions for argparser
"""
# ----------------------------------------------------------------------
def parser_redis_dump(parser):
"""
Dump all redis database information
"""
parser.add_argument("--no-raw", action="store_true", dest="no_raw", default=False,
help="do not show displays raw database info into screen")
# ----------------------------------------------------------------------
def parser_redis_server_disconnect(parser):
parser.add_argument("-c", action="store", dest="client", help="user to disconnect")
parser.add_argument("--all", action="store_true", dest="disconnect_all", default=False,
help="disconnect all users")