Coder Social home page Coder Social logo

tgg / connect-or-cut Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 7.0 8.96 MB

Simple network sandbox for Unix and Windows

License: BSD 3-Clause "New" or "Revised" License

Makefile 1.38% C 52.29% Shell 15.31% C++ 23.36% PowerShell 7.66%
network sandboxing security unix windows

connect-or-cut's People

Contributors

saito-tom avatar tgg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

connect-or-cut's Issues

pthreads should be lazily loaded

Current implementation is compiled with -pthread with gcc. This implies that even for a non-threaded program whenever connect-or-cut gets injected pthread support gets loaded.

We should instead do a dynamic lookup of pthread symbols, and if not found then provide dummy stubs.

Wrap CreateProcessAsUser

Injection for IE11 on Windows 10 does not work.

IE11 is 64-bit process that then spawns a 32-bit IE11 using CreateProcessAsUser and that function is not hooked, so the process escapes connect-or-cut control.

Hooking CreateProcessAsUser should do the trick.

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.