lib/metasploit/credential/importer/multi.rb in metasploit-credential-1.0.0 vs lib/metasploit/credential/importer/multi.rb in metasploit-credential-1.0.1
- old
+ new
@@ -39,14 +39,14 @@
elsif csv?
@selected_importer = Metasploit::Credential::Importer::Core.new(input: input, origin: origin, workspace: workspace)
end
end
- # Perform the import
+ # Perform the import. Return true if import succeeded. Return false if any cred failed due to formatting.
#
- # @return [void]
+ # @return [Boolean]
def import!
- selected_importer.import!
+ return selected_importer.import!
end
# True if the file can be opened with `Zip::File::open`, false otherwise
#
\ No newline at end of file