lib/pwn/plugins/transparent_browser.rb in pwn-0.4.702 vs lib/pwn/plugins/transparent_browser.rb in pwn-0.4.703
- old
+ new
@@ -310,10 +310,10 @@
PWN::Plugins::Tor.stop(tor_obj: browser_obj[:tor_obj])
end
unless browser_obj[:browser].to_s.include?('RestClient')
# Close the browser unless this_browser_obj.nil? (thus the &)
- this_browser_obj[:browser]&.close
+ browser_obj[:browser]&.close
end
nil
rescue StandardError => e
raise e
end