memcacheinspector
Memcached Inspection Module and Command-Line Utility
Introduction
This is a fork of https://github.com/jayclassless/memcacheinspector to support Python 3. The package on pypi is “memcacheinspector3” but modules you import are still “memcacheinspector”
This package includes two things:
A command-line utility for exploring, searching, and updating Memcached items.
This utility makes use of the Memcached status “features” discussed in the SensePost Blog.
Installation
Using pip (recommended):
$ pip install memcacheinspector3
Or, you can download the source and install it by hand:
$ python setup.py install
Installing the package installs both the memcacheinspector python module as well as the mcinspect command-line utility.
Requirements
Python 2.6+
The python-memcached module.
Usage
Usage: mcinspect [options] <action> [<arguments>]
Actions:
list Lists all items stored in the server(s).
dump Dumps all items (including values) stored in the
server(s).
grep <pattern> Dumps all items (including values) whose key or value
matches the specified search pattern.
get <key> [<key> ...] Retrieves the items with the specified key(s).
set <key> <value> Sets the item with the specified key and value.
incr key Increments the value of the items with the specified
key(s).
decr key Decrements the value of the items with the specified
key(s).
delete <key> [<key> ...] Deletes the items with the specified key(s).
flush Expires all items in the server(s).
stats Retrieves statistics from the server(s).
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-s SERVER, --server=SERVER
Specifies a server to connect to. Can be used multiple
times. Defaults to '127.0.0.1:11211'.
-z MAX_VALUE_SIZE, --max-value-size=MAX_VALUE_SIZE
The maximum size (in bytes) of a value can be when
performing a list or dump action. Zero or lower is
interpreted as no limit. Defaults to 0.
-d DELTA, --delta=DELTA
The amount to change the value when using the incr or
decr actions. Defaults to 1.
-i, --ignore-case Ignore case distinctions in both the pattern and the
items during the grep action.
-v, --invert-match Inverts the sense of matching, to select non-matching
items during the grep action.
Output Format:
list:
<server connection string>|<expiration date>|<size in bytes>|<key>
dump, grep:
<server connection string>|<expiration date>|<size in bytes>|<key>
<value>
get, set, incr, decr:
<server connection string>|<key>
<value>
delete:
<server connection string>|<key>
flush:
<server connection string>
stats:
<server connection string>|<statistic key>|<value>
License
memcacheinspector is released under the MIT License. See the LICENSE file for full text of the license.
Reference
Home: https://github.com/brondsem/memcacheinspector/tree/fork
Package Index: http://pypi.python.org/pypi/memcacheinspector3/
Python: http://www.python.org/
Memcached: http://memcached.org/
python-memcached: https://pypi.org/project/python-memcached/
pip: https://pip.pypa.io/
SensePost Blog: https://sensepost.com/blog/2010/blackhat-write-up-go-derper-and-mining-memcaches/
MIT License: http://www.opensource.org/licenses/mit-license.php
Metadata
Release files for memcacheinspector3 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| memcacheinspector3-0.2.3.tar.gz | 6.5 kB | Without provenance | Details for memcacheinspector3-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| memcacheinspector3-0.2.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for memcacheinspector3-0.2.3-py2.py3-none-any.whl |
Total release size: 13.9 kB
Release files / memcacheinspector3-0.2.3.tar.gz
| Download URL | memcacheinspector3-0.2.3.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b027595a01a9be674310cf88c2675a9a8184350ca2292fe33c04e4990d336df7
|
|
BLAKE2b-256 checksum How to use checksums |
583685571351bc8f4eb6a99795f5ada7351bd5b751fb61cfd3845968b1945a76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/36.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9
|
Release files / memcacheinspector3-0.2.3-py2.py3-none-any.whl
| Download URL | memcacheinspector3-0.2.3-py2.py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2d9bc58782bc1439d6ab42321fb91139c25b0df38f026059f88fab47ab3eb0e2
|
|
BLAKE2b-256 checksum How to use checksums |
9371faa1791c7e7f6b74af3b4e14f6174617a6e4c2ab593269a84c55b8e46cb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/36.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9
|
Security for memcacheinspector3 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.