Skip to content

Commit 175d857

Browse files
committed
Fix empty message and don't lie in yardoc
1 parent 2dab69d commit 175d857

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/msf/core/db.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3005,6 +3005,7 @@ def import_filetype_detect(data)
30053005
@import_filedata[:zip_entry_names] = data.entries.map {|x| x.name}
30063006

30073007
if @import_filedata[:zip_entry_names].include?(Metasploit::Credential::Importer::Zip::MANIFEST_FILE_NAME)
3008+
@import_filedata[:type] = "Metasploit Credential Dump"
30083009
return :msf_cred_dump_zip
30093010
end
30103011

@@ -3819,7 +3820,7 @@ def import_msf_collateral(args={}, &block)
38193820
# Import credentials given a path to a valid manifest file
38203821
#
38213822
# @param creds_dump_manifest_path [String]
3822-
# @param workspace [Mdm::Workspace]
3823+
# @param workspace [Mdm::Workspace] Default: {#workspace}
38233824
# @return [void]
38243825
def import_msf_cred_dump(creds_dump_manifest_path, workspace)
38253826
manifest_file = File.open(creds_dump_manifest_path)
@@ -3830,7 +3831,8 @@ def import_msf_cred_dump(creds_dump_manifest_path, workspace)
38303831

38313832
# Import credentials given a path to a valid manifest file
38323833
#
3833-
# @opt args [String] :filename
3834+
# @option args [String] :filename
3835+
# @option args [Mdm::Workspace] :wspace Default: {#workspace}
38343836
# @return [void]
38353837
def import_msf_cred_dump_zip(args = {})
38363838
wspace = args[:wspace] || workspace

0 commit comments

Comments
 (0)