{ "info": { "author": "Ben Cheney", "author_email": "ben.cheney@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Security", "Topic :: Software Development :: Assemblers", "Topic :: Software Development :: Disassemblers" ], "description": "chiasm-shell\n============\n\n| |Latest Release|\n| Python-based interactive assembler/disassembler CLI, powered by\n `Keystone `__/`Capstone `__.\n\nWhy did you make this?\n----------------------\n\nI wanted to quickly view some opcodes with\n`metasm-shell.rb `__,\nbut I didn't have a Metasploit install handy. I didn't really want to\nmess around with Ruby either, so I figured that writing my own\nreplacement was a good excuse to play with Keystone and Capstone.\n\nHow do I install it?\n--------------------\n\n.. code:: bash\n\n pip install chiasm-shell\n # OR\n mkvirtualenv chiasm-shell # optional\n git clone https://github.com/0xbc/chiasm-shell\n cd chiasm-shell\n python setup.py install # assumes you have Capstone and Keystone \n # build toolchains installed, which includes CMake.\n\nHow do I run it?\n----------------\n\n.. code:: bash\n\n chiasm-shell\n # or, from the repo base directory:\n python -m chiasm_shell.chiasm_shell\n\nHow do I use it?\n----------------\n\n- When the prompt is ``asm>``, you're using the interactive assembler\n backend (Keystone).\n- Input one or more assembly statements separated by a semi-colon. x86\n uses Intel syntax only at the moment.\n- When the prompt is ``disasm>``, you're using the interactive\n disassembler backend (Capstone).\n- Input one or more bytes represented by \\\\xXX, where XX is a hex\n value.\n- To switch backends, use ``switch asm`` or ``switch disasm``.\n- To change architecture, use ``setarch ``.\n- e.g. ``setarch x86 64``.\n- You can use more than one mode, separated by spaces.\n- Use ``lsarch`` and ``lsmode`` to view supported architectures and\n modes for the current backend\n- At the moment, you need to know what modes are relevant to each\n architecture - check the Keystone/Capstone source if you're not sure.\n- Type ``help`` to see a list of commands; ``help `` to see the\n docstring for ``cmd``.\n\nExample usages\n--------------\n\n::\n\n asm> inc eax; xor ebx, ebx\n \\x40\\x31\\xdb\n\n::\n\n disasm> \\x40\\x31\\xdb\n 0x1000: inc eax\n 0x1001: xor ebx, ebx\n\nIt's broken/I have a suggestion/etc.\n------------------------------------\n\nPlease get in touch/raise an issue/PR/etc!\n\nKnown Issues\n------------\n\n- None at this time.\n\nTODO\n----\n\n- Syntax highlighting and/or tab completion for assembly\n- Intelligent mode selection\n- Support different input/output formats\n- Test suite\n\n.. |Latest Release| image:: https://img.shields.io/pypi/v/chiasm-shell.svg\n :target: https://pypi.python.org/pypi/chiasm-shell", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/0xbc/chiasm-shell/tarball/1.0.0a9", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/0xbc/chiasm-shell", "keywords": "disassembler,assembler", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "chiasm-shell", "package_url": "https://pypi.org/project/chiasm-shell/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/chiasm-shell/", "project_urls": { "Download": "https://github.com/0xbc/chiasm-shell/tarball/1.0.0a9", "Homepage": "https://github.com/0xbc/chiasm-shell" }, "release_url": "https://pypi.org/project/chiasm-shell/1.0.0a9/", "requires_dist": null, "requires_python": null, "summary": "CLI for assembly/disassembly powered by Keystone/Capstone.", "version": "1.0.0a9" }, "last_serial": 2601195, "releases": { "1.0.0a6": [ { "comment_text": "", "digests": { "md5": "76c5dfe5568a8542480b1da194f362dd", "sha256": "d92db0374adca324032db39cbda4c07b2562e098d50594a89bf60485eae4c74e" }, "downloads": -1, "filename": "chiasm-shell-1.0.0a6.tar.gz", "has_sig": false, "md5_digest": "76c5dfe5568a8542480b1da194f362dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7450, "upload_time": "2017-01-27T01:13:31", "url": "https://files.pythonhosted.org/packages/16/b0/87a3903ce4612274698113d05ec25185dc21bd774965149cde9373db3c9a/chiasm-shell-1.0.0a6.tar.gz" } ], "1.0.0a7": [ { "comment_text": "", "digests": { "md5": "bc3372c5ccd58ecdc172dc0781c9c34c", "sha256": "f1f9296fadf08c4f0e6d13b4aac41c27be448ddd481dedcf06047501aa313aca" }, "downloads": -1, "filename": "chiasm-shell-1.0.0a7.tar.gz", "has_sig": false, "md5_digest": "bc3372c5ccd58ecdc172dc0781c9c34c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7491, "upload_time": "2017-01-27T04:34:00", "url": "https://files.pythonhosted.org/packages/9a/db/834a0b69a27e5a0b28eaf588437dab9e6007d97c463b1c86e351844fa1d9/chiasm-shell-1.0.0a7.tar.gz" } ], "1.0.0a8": [ { "comment_text": "", "digests": { "md5": "c7ab0dddf068d355a42630d66602b823", "sha256": "c73dcd9751bada27a12d34c5be576b5c2ae4b8d829b96082a2710722b10de1af" }, "downloads": -1, "filename": "chiasm-shell-1.0.0a8.tar.gz", "has_sig": false, "md5_digest": "c7ab0dddf068d355a42630d66602b823", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7726, "upload_time": "2017-01-27T04:56:43", "url": "https://files.pythonhosted.org/packages/1c/39/88b89fbd85e6948d5bdb0d5846a0ad50c7411a3932c628b656627501519a/chiasm-shell-1.0.0a8.tar.gz" } ], "1.0.0a9": [ { "comment_text": "", "digests": { "md5": "b1f8107c5452fa473ba0da8c72541ddb", "sha256": "40d0133ca11b5c230781c64d61a96619420c5af121264fe894d8a07abab7d50e" }, "downloads": -1, "filename": "chiasm-shell-1.0.0a9.tar.gz", "has_sig": false, "md5_digest": "b1f8107c5452fa473ba0da8c72541ddb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7724, "upload_time": "2017-01-27T05:00:24", "url": "https://files.pythonhosted.org/packages/b3/95/0f03301ac21703fc2542b55cd227957f36d5a71404d389968ea80224f633/chiasm-shell-1.0.0a9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b1f8107c5452fa473ba0da8c72541ddb", "sha256": "40d0133ca11b5c230781c64d61a96619420c5af121264fe894d8a07abab7d50e" }, "downloads": -1, "filename": "chiasm-shell-1.0.0a9.tar.gz", "has_sig": false, "md5_digest": "b1f8107c5452fa473ba0da8c72541ddb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7724, "upload_time": "2017-01-27T05:00:24", "url": "https://files.pythonhosted.org/packages/b3/95/0f03301ac21703fc2542b55cd227957f36d5a71404d389968ea80224f633/chiasm-shell-1.0.0a9.tar.gz" } ] }