Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bnoordhuis/cracknode
stop gacking, start cracking
https://github.com/bnoordhuis/cracknode
Last synced: about 1 month ago
JSON representation
stop gacking, start cracking
- Host: GitHub
- URL: https://github.com/bnoordhuis/cracknode
- Owner: bnoordhuis
- License: isc
- Created: 2022-12-25T00:33:50.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-11T22:09:31.000Z (9 months ago)
- Last Synced: 2024-04-15T02:37:07.121Z (7 months ago)
- Language: C
- Size: 8.79 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
To all you people complaining `node` doesn't run on your ancient distro:
**Stop gacking, start cracking!**
Here is what it does:
1. `hacknode -patch node` patches out newer glibc symbols from the `node`
executable2. `hacknode node script.js` adds runtime support for the goodies old systems
lackRun at your own risk. As the ancient proverb goes: THE SOFTWARE IS PROVIDED
"AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES.Prerequisites:
1. x86_64 linux
2. gcc or clangBuild & apply:
# run this once
$ make# also run this once and make sure node is writable
$ ./hacknode -patch `which node`# invoke node like so from now on
$ ./hacknode node -p 'console.log("Hello, crackers!")'For the UNIX connaisseurs among you: observe how `hacknode` is an executable
that's also a `LD_PRELOAD` shared library. A certain amount of pitch black
sorcery is involved in making it all work.