Merge pull request #3 from Matir/ptffix

PTF fix
This commit is contained in:
David Tomaschik
2018-10-03 05:46:06 -07:00
committed by GitHub
2 changed files with 7 additions and 3 deletions

View File

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

View File

@@ -129,9 +129,6 @@ postinstall() {
if [ -d $HOME/.vim/bundle/Vundle.vim ] ; then
vim +VundleInstall +qall
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() {