File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -103,21 +103,11 @@ def checkver():
103103 exit (0 )
104104 def install ():
105105 print (Y + "\n Installing Metasploit-framework...\n " + W )
106- premsf = ['kali' ,'parrot' ]
107- deb = ['ubuntu' ,'debian' ]
108106 did = distro .like ()
109107 did2 = distro .id ()
110- print (did )
111-
112- if did in deb :
113- if did in premsf :
114- os .system ("sudo curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && sudo chmod 755 msfinstall && ./msfinstall" )
115- os .system ("clear" )
116- elif (did == "" ):
117- print (Y + "\n Other distro detected ! Please install metasploit manually.\n " + W )
118- exit (0 )
119- else :
120- print (R + "\n Something went wrong!\n " + W )
108+ print ("Current Distro: " + did )
109+ os .system ("sudo curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && sudo chmod 755 msfinstall && sudo ./msfinstall" )
110+ os .system ("clear" )
121111
122112 def mk ():
123113 if os .path .exists ("payload" )== False :
You can’t perform that action at this time.
0 commit comments