mirror of
https://github.com/zardus/ctf-tools
synced 2024-11-13 01:17:05 +00:00
pwntools
This commit is contained in:
parent
4e392de8da
commit
6008834633
3 changed files with 37 additions and 0 deletions
|
@ -31,6 +31,7 @@ Installers for the following tools are included:
|
|||
| binary | peda | Enhanced environment for gdb. |
|
||||
| binary | preeny | A collection of helpful preloads (compiled for many architectures!). |
|
||||
| binary | qemu | Latest version of qemu! |
|
||||
| binary | [pwntools](https://github.com/Gallopsled/pwntools) | Useful CTF utilities. |
|
||||
| binary | radare2 | Some crazy thing crowell likes. |
|
||||
| binary | shellnoob | Shellcode writing helper. |
|
||||
| binary | [qira](http://qira.me) | Parallel, timeless debugger. |
|
||||
|
|
30
pwntools/install
Executable file
30
pwntools/install
Executable file
|
@ -0,0 +1,30 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
# pwnutils
|
||||
git clone https://github.com/Gallopsled/pwntools.git
|
||||
cd pwntools
|
||||
pip install -r requirements.txt
|
||||
cd ..
|
||||
|
||||
# binutils
|
||||
#curl https://ftp.gnu.org/gnu/binutils/binutils-2.25.tar.gz | tar xvz
|
||||
#mkdir binutils-build
|
||||
#cd binutils-build
|
||||
#export AR=ar
|
||||
#export AS=as
|
||||
#../binutils-2.25/configure --prefix=$(dirname $PWD)/binutils-inst --enable-multilib
|
||||
#make -j $(nproc)
|
||||
#make install
|
||||
|
||||
mkdir -p bin
|
||||
cd bin
|
||||
for i in $(yes n | pip uninstall pwntools | grep bin)
|
||||
do
|
||||
mv $i $(basename $i).real
|
||||
cat <<END > $(basename $i)
|
||||
#!/bin/bash
|
||||
PATH=/usr/bin:\$PATH $PWD/$(basename $i).real "\$@"
|
||||
END
|
||||
chmod 755 $(basename $i)
|
||||
done
|
||||
cd ..
|
6
pwntools/install-root
Executable file
6
pwntools/install-root
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
apt-add-repository -y ppa:pwntools/binutils
|
||||
apt-get update
|
||||
apt-get install binutils-.*-linux-gnu
|
||||
|
Loading…
Reference in a new issue