How To install msf on RPi 5
Page 1 of 1
How To install msf on RPi 5
Setup.sh
remove.sh
- Code:
#!/bin/bash
echo "Setting Up MSF For RPi 5 By J~Net 2024"
#
#
#
#
#
# How To install msf on RPi 5
sudo apt update -y
sudo apt install -y curl wget gnupg2
# Install Apache and Passenger (if needed)
sudo apt install -y apache2
sudo apt install -y libapache2-mod-passenger
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall
sudo chmod +x msfinstall
./msfinstall
msfdb init
msfconsole --version
echo "Now Loading For 1st Time, Please Wait..."
export PATH=$PATH:/usr/bin
sudo msfconsole
echo "Thanks For Using MSF For RPi 5 By J~Net 2024!"
remove.sh
- Code:
#!/bin/bash
echo "Removing MSF For RPi 5 By J~Net 2024"
#
# sudo ./uninstall_msf.sh
#
#
# How To install msf on RPi 5
#!/bin/bash
# Function to uninstall Metasploit Framework
uninstall_metasploit() {
echo "Uninstalling Metasploit Framework..."
# Remove Metasploit Framework directory
sudo rm -rf /opt/metasploit-framework
# Remove Metasploit user scripts
sudo rm -rf ~/.msf4
# Remove msfupdate script
sudo rm /usr/bin/msfinstall
# Remove Metasploit symlink
sudo rm /usr/bin/msfconsole
# Remove gem packages
sudo gem uninstall metasploit-framework
# Remove gem dependencies
sudo apt remove -y curl wget gnupg2
echo "Metasploit Framework uninstalled."
}
# Main function
main() {
echo "Uninstalling Metasploit Framework..."
uninstall_metasploit
echo "Uninstallation complete."
}
# Run the main function
main
Similar topics
» how to install kde 4.8 in linux
» LINUX AFTER INSTALL HELP
» Install cryptcat for linux
» how to install .jar files on linux
» to install clam av gui for linux
» LINUX AFTER INSTALL HELP
» Install cryptcat for linux
» how to install .jar files on linux
» to install clam av gui for linux
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|