Add log path session config option

This commit is contained in:
dwelch-r7
2022-04-11 16:11:12 +01:00
parent c994f8e933
commit ec9f0b5242
15 changed files with 33 additions and 18 deletions
@@ -56,7 +56,8 @@ module MetasploitModule
extensions: (datastore['EXTENSIONS'] || '').split(','),
ext_init: (datastore['EXTINIT'] || ''),
stageless: true,
debug_build: datastore['MeterpreterDebugBuild']
debug_build: datastore['MeterpreterDebugBuild'],
log_path: Msf::OptMeterpreterDebugLogging.parse_logging_options(datastore['MeterpreterDebugLogging'])[:rpath]
}
# create the configuration instance based off the parameters