Skip to content

Commit d417645

Browse files
committed
fixed ARE engine issue #1855
1 parent 3f314fc commit d417645

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

core/main/ar-migrations/008_create_executions.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ def change
1010
t.text :exec_time
1111
t.text :rule_token
1212
t.boolean :is_sent
13+
t.integer :rule_id
1314
end
1415

1516
end

core/main/autorun_engine/engine.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def trigger(rule_ids, hb_id)
8686
end
8787

8888
are_exec = BeEF::Core::Models::Execution.new(
89-
:session => hb_session,
89+
:session_id => hb_session,
9090
:mod_count => modules.length,
9191
:mod_successful => 0,
9292
:rule_token => rule_token,

0 commit comments

Comments
 (0)