Skip to content

Commit

Permalink
Replicate comment in code for the build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
trufae committed Jan 19, 2017
1 parent 11579c9 commit eb87b43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# script to build dirtycow on Termux
#
export T=/data/data/com.termux/files/usr
if [ -d "$T" ]; then
echo "This script must be run in a native Android inside the Termux shell"
exit 1
fi
gcc -o io_dirtycow.so io_dirtycow.c -I $T/include/libr -L $T/lib -lr_util -lr_io -shared -fPIC
mkdir -p ~/.config/radare2/plugins
cp -f io_dirtycow.so ~/.config/radare2/plugins
Expand Down

0 comments on commit eb87b43

Please # to comment.