semvec/pypi-packages huggingface dataset:
chiasm-shell 1.0.0a9
CLI for assembly/disassembly powered by Keystone/Capstone.
License: MIT
Keywords: disassembler,assembler

chiasm-shell
============

| |Latest Release|
| Python-based interactive assembler/disassembler CLI, powered by
  `Keystone <http://www.keystone-engine.org/>`__/`Capstone <http://www.capstone-engine.org/>`__.

Why did you make this?
----------------------

I wanted to quickly view some opcodes with
`metasm-shell.rb <https://github.com/jjyg/metasm/blob/master/samples/metasm-shell.rb>`__,
but I didn't have a Metasploit install handy. I didn't really want to
mess around with Ruby either, so I figured that writing my own
replacement was a good excuse to play with Keystone and Capstone.

How do I install it?
--------------------

.. code:: bash

    pip install chiasm-shell
    # OR
    mkvirtualenv chiasm-shell # optional
    git clone https://github.com/0xbc/chiasm-shell
    cd chiasm-shell
    python setup.py install # assumes you have Capstone and Keystone 
                            # build toolchains installed, which includes CMake.

How do I run it?
----------------

.. code:: bash

    chiasm-shell
    # or, from the repo base directory:
    python -m chiasm_shell.chiasm_shell

How do I use it?
----------------

-  When the prompt is ``asm>``, you're using the interactive assembler
   backend (Keystone).
-  Input one or more assembly statements separated by a semi-colon. x86
   uses Intel syntax only at the moment.
-  When the prompt is ``disasm>``, you're using the interactive
   disassembler backend (Capstone).
-  Input one or more bytes represented by \\xXX, where XX is a hex
   value.
-  To switch backends, use ``switch asm`` or ``switch disasm``.
-  To change architecture, use ``setarch <arch> <mode(s)>``.
-  e.g. ``setarch x86 64``.
-  You can use more than one mode, separated by spaces.
-  Use ``lsarch`` and ``lsmode`` to view supported architectures and
   modes for the current backend
-  At the moment, you need to know what modes are relevant to each
   architecture - check the Keystone/Capstone source if you're not sure.
-  Type ``help`` to see a list of commands; ``help <cmd>`` to see the
   docstring for ``cmd``.

Example usages
--------------

::

    asm> inc eax; xor ebx, ebx
    \x40\x31\xdb

::

    disasm> \x40\x31\xdb
    0x1000: inc     eax
    0x1001: xor     ebx, ebx

It's broken/I have a suggestion/etc.
------------------------------------

Please get in touch/raise an issue/PR/etc!

Known Issues
------------

-  None at this time.

TODO
----

-  Syntax highlighting and/or tab completion for assembly
-  Intelligent mode selection
-  Support different input/output formats
-  Test suite

.. |Latest Release| image:: https://img.shields.io/pypi/v/chiasm-shell.svg
   :target: https://pypi.python.org/pypi/chiasm-shell
django-sqlserver 1.9
Django backend database support for MS SQL Server and pytds.
License: MIT

Django MSSQL Database Backend
=============================

A minimal wrapper for django-mssql to make it work with python-tds.

This package will try to connect using ADO first, and if it is not
available it will try python-tds second.

In addition to django-mssql features this package also supports:

- select_for_update
- multiple NULLs in unique constraints

Installation
------------

.. code-block::

   pip install git+https://bitbucket.org/Manfre/django-mssql.git#egg=django-mssql
   pip install git+https://github.com/denisenkom/django-sqlserver.git#egg=django-sqlserver


Requirements
------------

- django-mssql, version 1.6.x
- Python 2.7 or 3.3

SQL Server versions
-------------------

- 2012

Status
------

Works on python-tds, ADO not tested yet, but should work too.
Django 1.7 migration tests are not fully passing yet.

License
-------

MIT

Known Issues
------------

- Doesn't work with old DATETIME columns.  To use this package you should change all DATETIME columns
  to DATETIME2(6).

Testing
-------

This project integrates with Django's own test suite.  To run tests you need to install Microsoft SQL Server
2012 or newer.  In SQL server create user sa with password sa, alternatively you can use different user but in this
case you should set SQLUSER and SQLPASSWORD environment variables.

If you use SQL server instance name provide it in SQLINSTANCE environment variable.

If your SQL server runs on host different from localhost you need to provide name of the host in HOST environment
variable.

By default tests are run against Django 1.9, if you want to test against different version specify it in DJANGO_VER
environment variable.

By default tests are run using default Python, if you want to use different Python version specify it's location
in PYTHONHOME environment variable.

Now on Windows you can run:

  ci.bat

If you are on UNIX run:

  ci.sh
tmuxssh 1.1.1
ssh into several hosts at once using tmux
License: MIT
Keywords: tmux ssh

tmuxssh
#######

ssh into several hosts at once using tmux

Installation
============

::

    pip install tmuxssh

Usage
=====

::

    Usage:
      tmuxssh [--template=<template>] <host>...
      tmuxssh --version
      tmuxssh -h | --help

    Options:
      --template=<template>  ssh command template
      --version              show version
      -h --help              show this screen

Examples
--------

::

    tmuxssh --template 'ssh -i ~/.ssh/my.pem -l ubuntu {}' 10.64.93.208 10.64.93.207
    tmuxssh --template 'ssh -ti ~/.ssh/jump.pem 10.1.1.1 "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i ~/.ssh/another.pem -l ubuntu {}"' 10.64.93.208 10.64.93.207