mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
Add “tools_installer” quick command
This commit is contained in:
@@ -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 '
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user