File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
lib/msf/core/modules/metadata Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,6 @@ def init_store
2222 load_metadata
2323 end
2424
25- def get_user_store
26- store_dir = ::File . join ( Msf ::Config . config_directory , "store" )
27- FileUtils . makedirs ( store_dir ) if !::File . exist? ( store_dir )
28- return ::File . join ( store_dir , UserMetaDataFile )
29- end
30-
31-
3225 #######
3326 private
3427 #######
@@ -114,6 +107,12 @@ def configure_user_store
114107 return copied
115108 end
116109
110+ def get_user_store
111+ store_dir = ::File . join ( Msf ::Config . config_directory , "store" )
112+ FileUtils . makedirs ( store_dir ) if !::File . exist? ( store_dir )
113+ return ::File . join ( store_dir , UserMetaDataFile )
114+ end
115+
117116 def load_cache_from_file_store
118117 cache_map = JSON . parse ( File . read ( @path_to_user_metadata ) )
119118 cache_map . each { |k , v |
You can’t perform that action at this time.
0 commit comments