nils_for_nulls -> Msf::DBManager::Import::MetasploitFramework
MSP-11124bug/bundler_fix
parent
27c5cf8887
commit
bed98fe43b
|
@ -366,11 +366,6 @@ module Msf::DBManager::Import
|
|||
return obj
|
||||
end
|
||||
|
||||
# Convert the string "NULL" to actual nil
|
||||
def nils_for_nulls(str)
|
||||
str == "NULL" ? nil : str
|
||||
end
|
||||
|
||||
def report_import_note(wspace,addr)
|
||||
if @import_filedata.kind_of?(Hash) && @import_filedata[:filename] && @import_filedata[:filename] !~ /msfe-nmap[0-9]{8}/
|
||||
report_note(
|
||||
|
|
|
@ -6,4 +6,9 @@ module Msf::DBManager::Import::MetasploitFramework
|
|||
include Msf::DBManager::Import::MetasploitFramework::Credential
|
||||
include Msf::DBManager::Import::MetasploitFramework::XML
|
||||
include Msf::DBManager::Import::MetasploitFramework::Zip
|
||||
|
||||
# Convert the string "NULL" to actual nil
|
||||
def nils_for_nulls(str)
|
||||
str == "NULL" ? nil : str
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue