File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ class Msfupdate
86
86
87
87
def validate_args
88
88
valid = true
89
- if binary_install? || apt?
89
+ if binary_install?
90
90
if @git_branch
91
91
stderr . puts "[-] ERROR: git-branch is not supported on this installation"
92
92
valid = false
@@ -96,7 +96,7 @@ class Msfupdate
96
96
valid = false
97
97
end
98
98
end
99
- if apt? || git?
99
+ if git?
100
100
if @offline_file
101
101
stderr . puts "[-] ERROR: offline-file option is not supported on this installation"
102
102
valid = false
@@ -135,8 +135,8 @@ class Msfupdate
135
135
136
136
Dir . chdir ( @msfbase_dir ) do
137
137
if apt?
138
- stderr . puts "msfupdate is not supported on Kali Linux, since it is a normal OS package ."
139
- stderr . puts "Please use 'apt update; apt install metasploit-framework' instead."
138
+ stderr . puts "[-] ERROR: msfupdate is not supported on Kali Linux."
139
+ stderr . puts "[-] Please run 'apt update; apt install metasploit-framework' instead."
140
140
elsif binary_install?
141
141
update_binary_install!
142
142
elsif git?
You can’t perform that action at this time.
0 commit comments