lib/pwn/plugins/baresip.rb in pwn-0.4.812 vs lib/pwn/plugins/baresip.rb in pwn-0.4.813
- old
+ new
@@ -621,16 +621,20 @@
seconds_to_record = opts[:seconds_to_record].to_i
seconds_to_record = 60 if seconds_to_record.zero?
sox_bin = opts[:sox_bin] if File.exist?(opts[:sox_bin].to_s)
sox_bin ||= '/usr/bin/sox'
speech_to_text = opts[:speech_to_text]
+ report_name = opts[:report_name]
target_range = parse_target_file(
target_file: target_file,
randomize: randomize
)
results_hash = {
+ report_name: HTMLEntities.new.encode(
+ report_name.to_s.scrub.strip.chomp
+ ),
session_started: Time.now.strftime('%Y-%m-%d_%H.%M.%S'),
data: []
}
# Change to session_root _before_ executing threads