mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-04 18:29:26 +00:00
some random files
This commit is contained in:
parent
6a151905e1
commit
9ea53857e1
6 changed files with 59 additions and 5 deletions
21
cross-uclibc/install
Executable file
21
cross-uclibc/install
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
cat <<END | parallel -u wget -c
|
||||
https://www.uClibc.org/downloads/old-releases/root_fs_armeb.ext2.bz2
|
||||
https://www.uClibc.org/downloads/old-releases/root_fs_arm.ext2.bz2
|
||||
https://www.uClibc.org/downloads/old-releases/root_fs_i386.ext2.bz2
|
||||
https://www.uClibc.org/downloads/old-releases/root_fs_mips.ext2.bz2
|
||||
https://www.uClibc.org/downloads/old-releases/root_fs_mipsel.ext2.bz2
|
||||
https://www.uClibc.org/downloads/old-releases/root_fs_powerpc.ext2.bz2
|
||||
https://www.uClibc.org/downloads/old-releases/root_fs_sh4.ext2.bz2
|
||||
END
|
||||
|
||||
cat <<END | parallel -u tar xjf
|
||||
root_fs_armeb.ext2.bz2
|
||||
root_fs_arm.ext2.bz2
|
||||
root_fs_i386.ext2.bz2
|
||||
root_fs_mips.ext2.bz2
|
||||
root_fs_mipsel.ext2.bz2
|
||||
root_fs_powerpc.ext2.bz2
|
||||
root_fs_sh4.ext2.bz2
|
||||
END
|
26
cross/install
Executable file
26
cross/install
Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
FILE=cross-gcc494-v1.0.zip
|
||||
INSTALL_DIR=$PWD
|
||||
|
||||
[ ! -e $FILE ] && wget http://kozos.jp/books/asm/$FILE
|
||||
unzip $FILE
|
||||
|
||||
cd cross-gcc494/toolchain
|
||||
./fetch.sh
|
||||
./setup.sh
|
||||
cd ..
|
||||
sed -i -e "s|#makeopt=.*|makeopt='-j'|" config.sh
|
||||
sed -i -e "s|install_dir.*|install_dir=\"$INSTALL_DIR\"|" config.sh
|
||||
cd build
|
||||
./build-install-all.sh
|
||||
|
||||
mkdir -p bin
|
||||
cd bin
|
||||
for i in ../*/bin/*
|
||||
do
|
||||
F=$(basename $i)
|
||||
D=$(basename $(dirname $(dirname $i)))
|
||||
[ -f $D-$F ] || ln -s $i $D-$F
|
||||
done
|
||||
cd ..
|
6
mimikatz/install
Executable file
6
mimikatz/install
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
wget -c https://github.com/gentilkiwi/mimikatz/releases/download/2.2.0-20200104/mimikatz_trunk.zip
|
||||
mkdir mimikatz
|
||||
cd mimikatz
|
||||
unzip ../mimikatz_trunk.zip
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
git clone https://github.com/mozilla/rr.git
|
||||
git clone --depth 1 https://github.com/mozilla/rr.git
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=.. -G Ninja ../rr
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
apt-get install -y ccache cmake make g++-multilib gdb \
|
||||
pkg-config libz-dev realpath python-pexpect manpages-dev git zlib1g-dev \
|
||||
ninja-build
|
||||
apt-get install -y ccache cmake make gcc-multilib g++-multilib gdb \
|
||||
pkg-config libz-dev coreutils python-pexpect manpages-dev git zlib1g-dev \
|
||||
libcapnp-dev
|
||||
./configure-system
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#!/bin/bash -e
|
||||
#!/bin/bash -ex
|
||||
|
||||
ctf-tools-pip install distorm3
|
||||
git clone https://github.com/volatilityfoundation/volatility.git
|
||||
chmod 755 volatility/vol.py
|
||||
mkdir bin
|
||||
cd bin
|
||||
ln -s ../volatility/vol.py .
|
||||
|
|
Loading…
Reference in a new issue