Some notes, tools, and techniques for reverse engineering macOS binaries.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # This is a skeleton of a bash daemon. To use for yourself, just set the | |
| # daemonName variable and then enter in the commands to run in the doCommands | |
| # function. Modify the variables just below to fit your preference. | |
| daemonName="DAEMON-NAME" | |
| pidDir="." | |
| pidFile="$pidDir/$daemonName.pid" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum install -y boost boost-devel | |
| yum install -y make gcc gcc-c++ kernel-devel python-devel | |
| wget https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_0_10/libtorrent-rasterbar-1.0.10.tar.gz | |
| tar zxvf libtorrent-rasterbar-1.0.10.tar.gz | |
| cd libtorrent-rasterbar-1.0.10.tar.gz | |
| ./configure --disable-debug --with-boost-libdir=/usr/lib64 --disable-encryption --enable-python-binding | |
| make && make install | |
| export LD_LIBRARY_PATH=/usr/local/lib/ | |
| cd bindings/python | |
| python setup.py build |