Skip to content

Commit

Permalink
Update run-remote.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy authored Apr 1, 2018
1 parent c9663f6 commit adb50d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/run-remote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
# (assumes GDB+Python3, requires sudo NOPASSWD)
#
# On the host, run:
# $ sh -c "$(curl https://raw.githubusercontent.com/hugsy/gef/master/tests/run-remote.sh)"
# $ bash -c "$(curl https://raw.githubusercontent.com/hugsy/gef/master/tests/run-remote.sh)"
#

set -e

pushd .
rm -fr /tmp/gef-tests
rm -fr /tmp/gef-tests && mkdir /tmp/gef-tests
cd /tmp/gef-tests
sudo apt update
sudo apt upgrade -y
sudo apt install gdb git cmake gcc g++ pkg-config libglib2.0-dev python3-pip python3-setuptools python3-dev python3 make -y
sudo apt install gdb git cmake gcc g++ pkg-config libglib2.0-dev libssl-dev python3-pip python3-setuptools python3-dev python3 make -y
sudo rm -fr -- /tmp/{keystone,capstone,unicorn}
sh -c "$(curl https://raw.githubusercontent.com/hugsy/stuff/master/update-trinity.sh)"
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
pip3 install -U ropper cryptography
sudo pip3 install -U ropper cryptography
git clone https://github.com/hugsy/gef.git
cd gef
tests/test-runner.py
Expand Down

0 comments on commit adb50d8

Please sign in to comment.