From 7158f0fa44003c188a7c81c2d6a3d32051a0c272 Mon Sep 17 00:00:00 2001 From: zinduolis Date: Thu, 26 Feb 2026 11:30:54 +1000 Subject: [PATCH] Fix useless local assignments --- core/main/handlers/browserdetails.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/main/handlers/browserdetails.rb b/core/main/handlers/browserdetails.rb index 54c9ab83a..51d83afcf 100644 --- a/core/main/handlers/browserdetails.rb +++ b/core/main/handlers/browserdetails.rb @@ -305,7 +305,6 @@ module BeEF BD.set(session_id, 'browser.language', browser_lang) else err_msg "Invalid browser language returned from the hook browser's initial connection." - browser_lang = 'Unknown' end # get and store the cookies @@ -349,7 +348,6 @@ module BeEF BD.set(session_id, 'host.os.arch', os_arch) else err_msg "Invalid operating system architecture returned from the hook browser's initial connection." - os_arch = 'Unknown' end # get and store default browser @@ -358,7 +356,6 @@ module BeEF BD.set(session_id, 'host.software.defaultbrowser', default_browser) else err_msg "Invalid default browser returned from the hook browser's initial connection." - default_browser = 'Unknown' end # get and store the hardware type