diff --git a/msfbinscan b/msfbinscan index e5c278988161..6f59645bfada 100755 --- a/msfbinscan +++ b/msfbinscan @@ -126,6 +126,11 @@ rescue OptionParser::InvalidOption exit(1) end +if not mode + puts "A mode must be selected" + exit(1) +end + # check if the file is a directory if it is collect all the entries ARGV.each do |file|