Add “tools_installer” quick command

pull/347/head
Mathew Fleisch 2017-03-26 15:17:37 -07:00
parent c10a388f8c
commit ea483975fd
1 changed files with 18 additions and 0 deletions

View File

@ -36,6 +36,24 @@ $(document).ready(function() {
+'else ' +'else '
+'echo "Repository does not exist..."; ' +'echo "Repository does not exist..."; '
+'fi' +'fi'
},{
name:"Tools Installer",
command:'if [ -d /root/udisk/payloads/library/tools_installer ]; then '
+'if [ -d /pentest ]; then '
+'echo "/pentest already exists..."; '
+'else '
+'mkdir -r /pentest; '
+'cp -r /root/udisk/payloads/library/tools_installer/tools_to_install/* /pentest/.; '
+'if [ -d /pentest/impacket ]; then '
+'cd /pentest/impacket; '
+'python ./setup.py install; '
+'else '
+'echo "Missing /pentest/impacket folder."; '
+'fi '
+'fi '
+'else '
+'echo "Cannot run tools installer: Missing git repository"; '
+'fi '
} }
]; ];