Git Product home page Git Product logo

hypershell's Introduction

Hypershell

Hypershell is a practical hypervisor layer guest OS shell that has all of the functionality of a traditional shell, but offers better automation, uniformity and centralized management.

Enviroment

1.Host: Ubuntu 12.04 (linux kernel version small than 3.10)

2.Guest: Debian 6

Build

  1. build the kvm-kmod

    $ cd kvm-kmod  
    $ ./configure & make  
    
  2. build qemu

    $ cd sse-qemu  
    $ mkdir build  
    $ cd build  
    $ ../configure --prefix=`pwd` --target-list=i386-softmmu --disable-werror --disable-strip  --enable-kvm  
    $ make install  
    
  3. build syscall interception module

    $ cd sse  
    $ make  
    
  4. Recomplie the glibc (not needed)

    $ cd glibc
    $ mkdir build
    $ cd build
    $ ../eglibc-2.15/configure --prefix=`pwd`
    $ make CFLAGS="-O2 -U_FORTIFY_SOURCE -fno-stack-protector" 
    

RUN

  1. load the new kvm-kmod

    cd kvm-kmod & ./load.sh

  2. start the VM

    sudo ./qemu-i386-system guest.img --enable-kvm -monitor stdio -m 256

    In qemu terminal run start-sse

  3. run the introspection program

    $ cd run  
    $ ./run.sh ps  
    

hypershell's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hypershell's Issues

Can not get correct result!

When I make and run Hypershell whit following "readme", I can not get anything . So I think /run/libc.so has some bugs. I hope you can tell me what's wrong.

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.