Giter VIP home page Giter VIP logo

windows-container's Introduction

Windows Container

This project provides a lightweight sandbox for Windows.

Build Instructions

Use Visual Studio 2015.

To build the python binding, set the PYTHON_INCLUDE and PYTHON_LIB environment variable to the include and libs directory of a python installation in your system. The build configuration needs to match the python installation (Debug/Release, 32/64bit). Both python 2 and 3 are supported.

Use setup.py

For python 3.5+, use python setup.py build to build and python setup.py install to install

Python Binding

Example: launch cmd in a container.

import winc
container = winc.Container()
target = container.spawn(u'C:\\Windows\\system32\\cmd.exe')
target.start().wait_for_process()

Try whoami in the launched cmd, should get ERROR: Access is denied..

You may enable the current user's identity and try again.

container.add_restricted_sid(container.logon.user_sid)

Supported Operating Systems

The following versions of operating systems are supported:

  • Windows Vista / 7 / 8 / 8.1 / 10
  • Windows Server 2008 / 2008 R2 / 2012 / 2012 R2 / 2016

windows-container's People

Contributors

iceboy233 avatar ruihe774 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.