Fixed error causing some ARE rules to not run.

This commit is contained in:
Jack Walker
2020-07-06 14:39:04 +10:00
parent 9458bd8fc6
commit 9696b05aba
2 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
{"name": "Confirm Close Tab",
"author": "mgeeky",
"browser": "ALL",
"browser_version": "ALL",
"os": "ALL",
"os_version": "ALL",
"modules": [
{"name": "confirm_close_tab",
"condition": null,
"code": null,
"options": {
"text":"Are you sure you want to navigate away from this page?",
"usePopUnder":"true"
}
}
],
"execution_order": [0],
"execution_delay": [0],
"chain_mode": "sequential"
}

View File

@@ -92,7 +92,7 @@ module BeEF
:rule_token => rule_token,
:mod_body => wrapper,
:is_sent => false,
:rule_id => rule_id
:id => rule_id
)
are_exec.save!
# Once Engine.check() verified that the hooked browser match a Rule, trigger the Rule ;-)