From f206be9233087e61878c238b480ceed4fba83361 Mon Sep 17 00:00:00 2001 From: mgeeky Date: Mon, 2 May 2016 13:08:16 +0200 Subject: [PATCH] Revert "Revert "Added four new ARE rules"" This reverts commit 0da86962487f8b65de5d42f0f59331f6e0b4f69e. --- arerules/alert.json | 18 ++++++++++++++++++ arerules/confirm_close_tab.json | 20 ++++++++++++++++++++ arerules/man_in_the_browser.json | 17 +++++++++++++++++ arerules/record_snapshots.json | 19 +++++++++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 arerules/alert.json create mode 100644 arerules/confirm_close_tab.json create mode 100644 arerules/man_in_the_browser.json create mode 100644 arerules/record_snapshots.json diff --git a/arerules/alert.json b/arerules/alert.json new file mode 100644 index 000000000..fa28a55b0 --- /dev/null +++ b/arerules/alert.json @@ -0,0 +1,18 @@ +{"name": "Display an alert", + "author": "mgeeky", + "browser": "ALL", + "browser_version": "ALL", + "os": "ALL", + "os_version": "ALL", + "modules": [ + {"name": "alert_dialog", + "condition": null, + "options": { + "text":"You've been BeEFed ;>" + } + } + ], + "execution_order": [0], + "execution_delay": [0], + "chain_mode": "sequential" +} diff --git a/arerules/confirm_close_tab.json b/arerules/confirm_close_tab.json new file mode 100644 index 000000000..6ca76158e --- /dev/null +++ b/arerules/confirm_close_tab.json @@ -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" +} diff --git a/arerules/man_in_the_browser.json b/arerules/man_in_the_browser.json new file mode 100644 index 000000000..ec18616d5 --- /dev/null +++ b/arerules/man_in_the_browser.json @@ -0,0 +1,17 @@ +{"name": "Perform Man-In-The-Browser", + "author": "mgeeky", + "browser": "ALL", + "browser_version": "ALL", + "os": "ALL", + "os_version": "ALL", + "modules": [ + {"name": "man_in_the_browser", + "condition": null, + "code": null, + "options": {} + } + ], + "execution_order": [0], + "execution_delay": [0], + "chain_mode": "sequential" +} diff --git a/arerules/record_snapshots.json b/arerules/record_snapshots.json new file mode 100644 index 000000000..76054d771 --- /dev/null +++ b/arerules/record_snapshots.json @@ -0,0 +1,19 @@ +{"name": "Collects multiple snapshots of the webpage within Same-Origin", + "author": "mgeeky", + "browser": ["FF", "C", "O", "IE", "S"], + "browser_version": "ALL", + "os": "ALL", + "os_version": "ALL", + "modules": [ + {"name": "spyder_eye", + "condition": null, + "options": { + "repeat":"10", + "delay":"3000" + } + } + ], + "execution_order": [0], + "execution_delay": [0], + "chain_mode": "sequential" +}