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
22
22
load_metadata
23
23
end
24
24
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
-
32
25
#######
33
26
private
34
27
#######
@@ -114,6 +107,12 @@ def configure_user_store
114
107
return copied
115
108
end
116
109
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
+
117
116
def load_cache_from_file_store
118
117
cache_map = JSON . parse ( File . read ( @path_to_user_metadata ) )
119
118
cache_map . each { |k , v |
You can’t perform that action at this time.
0 commit comments