Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guitmz/memrun
Small tool to run ELF binaries from memory with a given process name
https://github.com/guitmz/memrun
assembly elf golang linux
Last synced: about 1 month ago
JSON representation
Small tool to run ELF binaries from memory with a given process name
- Host: GitHub
- URL: https://github.com/guitmz/memrun
- Owner: guitmz
- License: mit
- Created: 2018-06-05T15:40:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-06T11:13:09.000Z (about 3 years ago)
- Last Synced: 2024-08-05T17:24:30.549Z (4 months ago)
- Topics: assembly, elf, golang, linux
- Language: Assembly
- Homepage: https://www.guitmz.com/running-elf-from-memory/
- Size: 22.5 KB
- Stars: 147
- Watchers: 11
- Forks: 31
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - guitmz/memrun - Small tool to run ELF binaries from memory with a given process name (Assembly)
README
# memrun
Small tool written in Golang to run ELF (x86_64) binaries from memory with a given process name. Works on Linux where kernel version is >= 3.17 (relies on the `memfd_create` syscall).# Usage
Build it with `$ go build memrun.go` and execute it. The first argument is the process name (string) you want to see in `ps auxww` output for example. Second argument is the path for the ELF binary you want to run from memory.
```
Usage: memrun process_name elf_binary
```