Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koraa/pipe_exec
Execute binaries from pipes, stdin and ttys
https://github.com/koraa/pipe_exec
Last synced: about 1 month ago
JSON representation
Execute binaries from pipes, stdin and ttys
- Host: GitHub
- URL: https://github.com/koraa/pipe_exec
- Owner: koraa
- License: mit
- Created: 2016-07-04T18:13:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-04T09:44:49.000Z (about 5 years ago)
- Last Synced: 2024-04-15T20:16:24.401Z (5 months ago)
- Language: C
- Homepage:
- Size: 67.4 KB
- Stars: 63
- Watchers: 7
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: COPYING
Awesome Lists containing this project
- awesome-cli-apps - pipe_exec - Run executables from stdin, pipes and ttys without creating a temporary file. (Utilities / Shell Utilities)
- fucking-awesome-cli-apps - pipe_exec - Run executables from stdin, pipes and ttys without creating a temporary file. (Utilities / Shell Utilities)
README
# pipe_exec
Execute ELF binaries from pipes & and terminals. This makes it possible to
execute binaries that are not stored in a file system or for
which the execute permission is not set and to run binaries
directly from stdin; e.g. when piping gcc output or when
downloading them via SSH.It works by allocating an in-memory file via the
memfd_create(2) syscall, copying all data from the
executable there and finally executing it using the
fexecve(3) syscall.pipe_exec will first try to execute the file in place; e.g.
`pexec