2nd init

The following binary will basically inject code to /init to “restart itself” allowing you to use custom init binary and init.rc scripts without side effects developed by Skrilax_CZ. Technically using code injection the code to call “execve(”/init”, {”/init”, NULL**, environ);” is injected and the environ variables are read from /proc/1/environ by the binary. Note that this is recomended only to be used with the “sh hijack” or inside recovery. You only need to replace the files in the filesystem.

Download:
Binary & Source code.

 
2ndinit.txt · Last modified: 2011/05/21 22:57 by skrilax_cz
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki