{ "info": { "author": "Jose Diaz-Gonzalez", "author_email": "email@josediazgonzalez.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7" ], "description": "================\ncommand-notifier\n================\n\nA very simple command-notification package based on SQS for distributed systems\n\n> Warning: This can be abused to take down your entire infrastructure, gain root access, etc.\n\nInstallation\n============\n\nUsing PIP via PyPI::\n\n pip install command-notifier\n\nUsing PIP via Github::\n\n pip install git+git://github.com/josegonzalez/python-command-notifier.git#egg=command-notifier\n\nUsage\n=====\n\nCLI Usage of cn-publish is as follows::\n\n usage: cn-publish [-h] [-a AWS_ACCESS_KEY_ID] [-s AWS_SECRET_ACCESS_KEY]\n [-c COMMAND] [-r EC2_REGION] [-t SNS_TOPIC]\n\n cn-publish, a tool to publish a command via sns\n\n optional arguments:\n -h, --help show this help message and exit\n -a AWS_ACCESS_KEY_ID, --aws-access-key-id AWS_ACCESS_KEY_ID\n AWS Access Key ID\n -s AWS_SECRET_ACCESS_KEY, --aws-secret-access-key AWS_SECRET_ACCESS_KEY\n AWS Secret Access Key\n -c COMMAND, --command COMMAND\n Command to publish\n -r EC2_REGION, --ec2-region EC2_REGION\n EC2 Region\n -t SNS_TOPIC, --sns-topic SNS_TOPIC\n SNS Topic to publish to\n\n cn-publish is pwnage\n\nCLI Usage of cn-subscribe is as follows::\n\n usage: cn-subscribe [-h] [-a AWS_ACCESS_KEY_ID] [-s AWS_SECRET_ACCESS_KEY]\n [-c COMMAND_FILE] [-r EC2_REGION] [-t SNS_TOPIC]\n [-w SNS_WAIT_TIME_SECONDS] [-q SQS_QUEUE]\n\n cn-subscribe, a tool to run commands published from sqs\n\n optional arguments:\n -h, --help show this help message and exit\n -a AWS_ACCESS_KEY_ID, --aws-access-key-id AWS_ACCESS_KEY_ID\n AWS Access Key ID\n -s AWS_SECRET_ACCESS_KEY, --aws-secret-access-key AWS_SECRET_ACCESS_KEY\n AWS Secret Access Key\n -c COMMAND_FILE, --command-file COMMAND_FILE\n Path to json file with whitelisted commands\n -r EC2_REGION, --ec2-region EC2_REGION\n EC2 Region\n -t SNS_TOPIC, --sns-topic SNS_TOPIC\n SNS Topic to subscribe to\n -w SNS_WAIT_TIME_SECONDS, --sns-wait-time-seconds SNS_WAIT_TIME_SECONDS\n SNS Wait Time in Seconds\n -q SQS_QUEUE, --sqs-queue SQS_QUEUE\n SQS Queue to utilize to\n\n cn-subscribe is pwnage\n\nYou can also use the equivalent environment variables in place of command arguments.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/josegonzalez/python-command-notifier", "keywords": null, "license": "Copyright (c) 2014 Jose Diaz-Gonzalez\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "command-notifier", "package_url": "https://pypi.org/project/command-notifier/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/command-notifier/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/josegonzalez/python-command-notifier" }, "release_url": "https://pypi.org/project/command-notifier/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "A very simple command-notification packagebased on SQS for distributed systems", "version": "0.0.3" }, "last_serial": 1088329, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "19f7289421cf5f348212c6e37716e67c", "sha256": "e888789e789b050e96801278da22ecbebf396926b6cbc0afa04d1b25bd2de84f" }, "downloads": -1, "filename": "command-notifier-0.0.1.tar.gz", "has_sig": false, "md5_digest": "19f7289421cf5f348212c6e37716e67c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4359, "upload_time": "2014-05-10T22:20:40", "url": "https://files.pythonhosted.org/packages/82/5f/918921c29c79a08a2834d799cb2862b0dfd28eff924de18ac9df0dff3921/command-notifier-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "47f92246a24a626179a4e5c29062812e", "sha256": "8e60078037bfcfe00125819af142d5a69fe1967445633c8718b4bd862195757f" }, "downloads": -1, "filename": "command-notifier-0.0.2.tar.gz", "has_sig": false, "md5_digest": "47f92246a24a626179a4e5c29062812e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4354, "upload_time": "2014-05-10T23:18:27", "url": "https://files.pythonhosted.org/packages/cd/a4/276e3afbe346054d9e4ee7c575d5c5a947011e875b48cc5ab77dbe53c73c/command-notifier-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "549c4fe51b74bdbb33c2e2329c0c981d", "sha256": "6a55c9c09c627cab2aabdea2156856f45d3121c35ff33772c72062e0c9a02376" }, "downloads": -1, "filename": "command-notifier-0.0.3.tar.gz", "has_sig": false, "md5_digest": "549c4fe51b74bdbb33c2e2329c0c981d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5454, "upload_time": "2014-05-11T05:40:40", "url": "https://files.pythonhosted.org/packages/59/4c/11db19e6db8da96c599fd56d11b1a2555b46ce507d8b16dc4bf27917b2f3/command-notifier-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "549c4fe51b74bdbb33c2e2329c0c981d", "sha256": "6a55c9c09c627cab2aabdea2156856f45d3121c35ff33772c72062e0c9a02376" }, "downloads": -1, "filename": "command-notifier-0.0.3.tar.gz", "has_sig": false, "md5_digest": "549c4fe51b74bdbb33c2e2329c0c981d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5454, "upload_time": "2014-05-11T05:40:40", "url": "https://files.pythonhosted.org/packages/59/4c/11db19e6db8da96c599fd56d11b1a2555b46ce507d8b16dc4bf27917b2f3/command-notifier-0.0.3.tar.gz" } ] }