BenjiTrapp / shellinject

Spawn a reverse TCP shell in the context of another Linux process

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shellinject.py

Spawn a reverse TCP in the context of another linux process

Largely based on dlinject, but with different stage2 shellcode. (Perhaps I should merge these codebases and/or create a generic shellcode injection library?).

I created this so I could quickly and conclusively answer questions like "does process x have permission to access resource y".

TODO:

  • Add support for other architectures (notably ARM).

  • Don't rely on netcat for our reverse shell - we should just open a socket in the stage2 shellcode.

About

Spawn a reverse TCP shell in the context of another Linux process

License:MIT License


Languages

Language:Python 100.0%