2

I had serious problems with Metasploit since I installed it, so I want to uninstall it

I did try /opt/metasploit-4.5.0/uninstall but it doesn't work

it shows a yes and no .. I choose yes then wait some seconds another window opens for 0.01sec then closes and it types Killed in the terminal

David Foerster
  • 36,890
  • 56
  • 97
  • 151

3 Answers3

2

You will have to navigate to the directory /opt/metasploit-4.5.0.
Open a terminal window ( ctrl+alt+T) and type cd /opt/metasploit-4.5.0 .
Next, run ./uninstall in your Terminal window.
A uninstall window should pop up

Mukund
  • 2,122
2

I also had some problems with my Metasploit on 12.10.

I, by mistake of course, deleted my /opt/metasploit-4.5.0 before I found out it had an uninstaller inside. What I did to reinstall was search my file system for metasploit. Through root terminal (sudo su) I went and rmed all of the files. Then I ran the installer with sudo ./YOUR_DIRECTORY_HERE/metasploit-latest-linux-installel.run.

To succesfully reinstall Metasploit, be sure to remove ALL of the old Metasploit files in /etc/init.d and /etc/rc0-6.d.

Seth
  • 59,332
2

You need to run ./uninstall with root user.

cd /opt/metasploit    
sudo ./uninstall

Uninstall wizard will pop up. Best regards.

David Foerster
  • 36,890
  • 56
  • 97
  • 151
peycho
  • 21