3 Commits

Author SHA1 Message Date
David Tomaschik
e52cf7ae00 Add ptf to install_tool. 2018-10-03 05:45:07 -07:00
David Tomaschik
eb2d6e776f Remove ptf from default install script. 2018-10-03 05:39:42 -07:00
David Tomaschik
af85d6f81f Add seclists tool. 2018-10-03 05:38:57 -07:00
2 changed files with 7 additions and 3 deletions

View File

@@ -117,6 +117,9 @@ case ${TOOL} in
${DESTDIR}/hak5.txt.bz2 ${DESTDIR}/hak5.txt.bz2
bunzip2 ${DESTDIR}/hak5.txt.bz2 bunzip2 ${DESTDIR}/hak5.txt.bz2
;; ;;
seclists)
git clone https://github.com/danielmiessler/SecLists.git ${DESTDIR}
;;
gcloud) gcloud)
mkdir -p ${DESTDIR} mkdir -p ${DESTDIR}
gtemp=`mktemp -d` gtemp=`mktemp -d`
@@ -210,6 +213,10 @@ case ${TOOL} in
chmod +x ${DESTDIR}/apktool chmod +x ${DESTDIR}/apktool
add_bin_symlink apktool add_bin_symlink apktool
;; ;;
ptf)
src="https://github.com/trustedsec/ptf.git"
git clone ${src} ${DESTDIR}
;;
*) *)
echo "Unknown tool: ${TOOL}" >/dev/stderr echo "Unknown tool: ${TOOL}" >/dev/stderr
exit 1 exit 1

View File

@@ -129,9 +129,6 @@ postinstall() {
if [ -d $HOME/.vim/bundle/Vundle.vim ] ; then if [ -d $HOME/.vim/bundle/Vundle.vim ] ; then
vim +VundleInstall +qall vim +VundleInstall +qall
fi fi
# Install other useful tools
install_git https://github.com/trustedsec/ptf.git ${HOME}/bin/ptframework && \
add_bin_symlink ${HOME}/bin/ptframework/ptf
} }
ssh_key_already_installed() { ssh_key_already_installed() {