How can I uninstall metasploit?

39,451

It seems that you only would have to sudo rm -rf /opt/metasploit.

Be careful with this command since it will recursively (-r) and forcefully (-f, no questions asked) remove the path that is specified.

Share:
39,451

Related videos on Youtube

Ahmed Ekri
Author by

Ahmed Ekri

I'm an Android developer from Manama, Bahrain. You can find me on; Twitter Instagram LinkedIn Google+ Or visit my personal website: ahmedekri.me

Updated on September 18, 2022

Comments

  • Ahmed Ekri
    Ahmed Ekri almost 2 years

    Possible Duplicate:
    Uninstall metasploit problem

    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 and after a few seconds another window opens for 0.01 sec then closes and it types Killed in the terminal.

    so how do I uninstall it ?

    • ImaginaryRobots
      ImaginaryRobots over 11 years
      how did you install it?
    • gertvdijk
      gertvdijk over 11 years
      You have already asked this question yesterday! Uninstall metasploit problem We do not re-ask questions here.
    • Suraj Mandal
      Suraj Mandal almost 8 years
      use "sudo /opt/metasploit/uninstall" (without quotes).
  • Ahmed Ekri
    Ahmed Ekri over 11 years
    removing it solved my problem, thnx
  • Russell Fulton
    Russell Fulton almost 5 years
    Many years later... this still works but on my ubuntu 18.04 system it left links in /usr/bin pointing to /etc/alternatives which had links pointing to the file in /opt/...
  • Russell Fulton
    Russell Fulton almost 5 years
    actually it looks as if MSF is installed as a package so you can use apt to rm it