some random files

This commit is contained in:
Yan 2020-07-13 19:01:32 -07:00
parent 6a151905e1
commit 9ea53857e1
6 changed files with 59 additions and 5 deletions

21
cross-uclibc/install Executable file
View 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
View 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
View 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

View file

@ -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

View file

@ -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

View file

@ -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 .