File tree 9 files changed +30
-11
lines changed 9 files changed +30
-11
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# it's z3!
4
- pip install https://github.com/zardus/z3/archive/pypy-and-setup.zip
4
+ ctf-tools-pip install https://github.com/zardus/z3/archive/pypy-and-setup.zip
5
+
6
+ source ${VIRTUALENVWRAPPER_SCRIPT}
7
+ workon ctftools
5
8
6
9
# pybfd can't be installed with pip
7
10
git clone --depth 1 https://github.com/Groundworkstech/pybfd
8
11
cd pybfd/
9
12
python setup.py install
10
13
cd ..
11
14
15
+ # install pyasmjit
16
+ git clone --depth 1 https://github.com/programa-stic/pyasmjit.git
17
+ cd pyasmjit
18
+ python setup.py install
19
+ cd ..
20
+
12
21
# install barf
13
22
git clone --depth 1 https://github.com/programa-stic/barf-project
14
23
cd barf-project/
15
- pip install -e pyasmjit/
16
- pip install -e barf/
24
+ python setup.py install
17
25
cd ..
18
26
19
27
mkdir -p bin
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- pip uninstall -y barf pyasmjit
3
+ ctf-tools- pip uninstall -y barf pyasmjit
4
4
rm -f $VIRTUAL_ENV /bin/BARFgadgets
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
3
git clone --depth 1 https://github.com/devttys0/binwalk.git
4
- pip install -e binwalk
4
+ ctf-tools- pip install -e binwalk
5
5
6
6
mkdir -p bin
7
7
ln -s $VIRTUAL_ENV /bin/binwalk bin
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ cp distorm3/make/linux/*.so distorm3/*.a lib
11
11
mkdir -p include
12
12
cp distorm3/include/* .h include
13
13
14
- pip install -U pycparser
14
+ ctf-tools- pip install -U pycparser
15
15
16
16
sed -i -e " s|/usr/local|$PWD |" panda/qemu/build.sh
17
17
export QEMU_CFLAGS=" -I $PWD /include -L $PWD /lib"
Original file line number Diff line number Diff line change 2
2
3
3
[ -e ropper ] || git clone --depth 1 https://github.com/sashs/Ropper.git ropper
4
4
5
- pip install --no-use-wheel --no-cache-dir -I capstone
6
- pip install filebytes
7
- pip install -e ropper
5
+ ctf-tools- pip install --no-use-wheel --no-cache-dir -I capstone
6
+ ctf-tools- pip install filebytes
7
+ ctf-tools- pip install -e ropper
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
+ set +e
4
+ source ${VIRTUALENVWRAPPER_SCRIPT}
5
+ workon ctftools
6
+ set -e
7
+
3
8
[ $( ropper --file /bin/false | wc -l) -gt 400 ] || exit 1
4
9
exit 0
Original file line number Diff line number Diff line change 2
2
3
3
git clone https://github.com/b3mb4m/shellsploit-framework.git
4
4
cd shellsploit-framework
5
+
6
+ set +e
7
+ source ${VIRTUALENVWRAPPER_SCRIPT}
8
+ workon ctftools
9
+ set -e
5
10
python easyinstall.py install
6
11
cd ..
7
12
8
13
mkdir -p bin
9
14
cd bin
10
15
ln -sf $VIRTUAL_ENV /bin/shellsploit .
11
16
cd ..
17
+ deactivate
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git
4
- pip install pymysql psycopg2 pysqlite2 python-ntlm
4
+ ctf-tools- pip install pymysql psycopg2 pysqlite2 python-ntlm
5
5
mkdir bin
6
6
cd bin
7
7
ln -s ../sqlmap/sqlmap.py .
Original file line number Diff line number Diff line change 1
1
git clone --depth 1 https://github.com/antoniobianchi333/virtualsocket.git
2
- pip install -e virtualsocket/
2
+ ctf-tools- pip install -e virtualsocket/
3
3
You can’t perform that action at this time.
0 commit comments