{ "info": { "author": "Eric Bower", "author_email": "neurosnap@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Eval/Base64 File Scrubber [![Build Status](https://travis-ci.org/michigan-com/eval_scrubber.svg?branch=master)](https://travis-ci.org/michigan-com/eval_scrubber)\n=========================\n\nThis script will walk through all files in a directory, find, and remove\nany content that is suspected to be malicious.\n\nThis scan uses a regular expression to seek out any potentially malicious content\n\n```\ninfected_pattern = re.compile(r\"<\\?php\\s*eval\\((.+\\()*base64_decode\\(.+\\)\\).+\\s*?>\")\n```\n\nWhat it is matching is `` or ``\n\nIt is strongly advized to check that this regular expression will match your needs.\n\nWe have not covered all of the edge cases for this script so be warned running this\nscript could have negative consequences.\n\nThe script accepts two arguments: action and directory\n\nActions:\n\n* Find - Scans directory recursively and lists all potentially infected files\n* Remove - Scans directory recursively and removes the regular express match\nfrom all potentially infected files\n\n```\npython -m eval_scrubber find \npython -m eval_scrubber remove \n```\n\nSet the log level\n```\nDEBUG=1 python -m eval_scrubber find \n```\n\nInstall via PIP\n---------------\n\n```\npip install eval_scrubber\n```\n\n\nCHANGELOG\n=========\n\n0.0.3 2015-10-05\n----------------\n\n* Better unicode support\n\n0.0.1 2015-10-05\n----------------\n\n* Uploaded to pypi", "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/michigan-com/eval_scrubber", "keywords": null, "license": "The MIT License (MIT)\n=====================\n\nCopyright (c) `2015` `Michigan.com`\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "eval_scrubber", "package_url": "https://pypi.org/project/eval_scrubber/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/eval_scrubber/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/michigan-com/eval_scrubber" }, "release_url": "https://pypi.org/project/eval_scrubber/0.0.4/", "requires_dist": null, "requires_python": null, "summary": "Finds and removes malicious eval base64 PHP code.", "version": "0.0.4" }, "last_serial": 1752811, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "60066c5301bbc90f65a53626503c07f0", "sha256": "48c4f6122ffe636435ff3e16bbb947c88e1327f6c1834bb3c2275eb6014578dc" }, "downloads": -1, "filename": "eval_scrubber-0.0.1.tar.gz", "has_sig": false, "md5_digest": "60066c5301bbc90f65a53626503c07f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3446, "upload_time": "2015-10-05T14:45:18", "url": "https://files.pythonhosted.org/packages/5d/81/76c7e7c32a6cade7a5e877c3ae36d6b62f1296c5d56a7e34ba96718bb7c6/eval_scrubber-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "27334a9dcc4caab228eb17262dd7fe62", "sha256": "d122a642e79b13940e3ea971e40aee647e142f771b63174a7932544a0da61ad5" }, "downloads": -1, "filename": "eval_scrubber-0.0.2.tar.gz", "has_sig": false, "md5_digest": "27334a9dcc4caab228eb17262dd7fe62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3717, "upload_time": "2015-10-05T14:46:42", "url": "https://files.pythonhosted.org/packages/e6/37/b95df38a74075aecb9f512748161035c3c097994a6ad1f000bd1b14f3117/eval_scrubber-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "446f40261bbdaf337e5a62c044c7a0b7", "sha256": "0d90b82daf8468209f0f695c822bf3dfa0dfd81e08a844fc8d6b5a3de85f60dd" }, "downloads": -1, "filename": "eval_scrubber-0.0.3.tar.gz", "has_sig": false, "md5_digest": "446f40261bbdaf337e5a62c044c7a0b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3750, "upload_time": "2015-10-05T15:03:11", "url": "https://files.pythonhosted.org/packages/e5/3a/39178006fb458f9cd2ae8850c6c1f31bca3f925e0befc2c6a3f62ab99f92/eval_scrubber-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "1603e9659122fd41162970b3b1da6a5e", "sha256": "619438a83555c8fcf3895ded60fa9f7100f4150812193fa63c2f186bfe30960e" }, "downloads": -1, "filename": "eval_scrubber-0.0.4.tar.gz", "has_sig": false, "md5_digest": "1603e9659122fd41162970b3b1da6a5e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3757, "upload_time": "2015-10-05T15:09:36", "url": "https://files.pythonhosted.org/packages/82/7c/ed1d98fa272307aee9e7e810a3977a9262924cf0a4a492f415516372fc71/eval_scrubber-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1603e9659122fd41162970b3b1da6a5e", "sha256": "619438a83555c8fcf3895ded60fa9f7100f4150812193fa63c2f186bfe30960e" }, "downloads": -1, "filename": "eval_scrubber-0.0.4.tar.gz", "has_sig": false, "md5_digest": "1603e9659122fd41162970b3b1da6a5e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3757, "upload_time": "2015-10-05T15:09:36", "url": "https://files.pythonhosted.org/packages/82/7c/ed1d98fa272307aee9e7e810a3977a9262924cf0a4a492f415516372fc71/eval_scrubber-0.0.4.tar.gz" } ] }