From a84dbcb005ab532ebef95c1d9246275da2a4179a Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 1 Apr 2020 19:15:07 -0700 Subject: [PATCH] this was a change that needed to be update --- core/main/network_stack/websocket/websocket.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/main/network_stack/websocket/websocket.rb b/core/main/network_stack/websocket/websocket.rb index 0d651cf09..91ca96530 100644 --- a/core/main/network_stack/websocket/websocket.rb +++ b/core/main/network_stack/websocket/websocket.rb @@ -149,7 +149,7 @@ module BeEF # Check if there are any ARE rules to be triggered. If is_sent=false rules are triggered are_body = '' - are_executions = BeEF::Core::Models::Execution.where(:is_sent => false, :session => hooked_browser.session) + are_executions = BeEF::Core::Models::Execution.where(:is_sent => false, :session_id => hooked_browser.session) are_executions.each do |are_exec| are_body += are_exec.mod_body are_exec.update(:is_sent => true, :exec_time => Time.new.to_i)