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: 20 days 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-26T09:23:07.000Z (7 months ago)
- Last Synced: 2024-12-17T11:44:38.899Z (29 days ago)
- Language: C
- Homepage:
- Size: 67.4 KB
- Stars: 73
- Watchers: 7
- Forks: 6
- 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