mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 19:28:02 +00:00
(wip) adding static flags to test alert trigger -> web request functionality
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<alertactioner xmlns="http://www.github/cliffe/SecGen/alertactioner_config"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.github/cliffe/SecGen/alertactioner_config">
|
||||
<alertaction>
|
||||
<alert_name>example-rule</alert_name>
|
||||
<WebAction>
|
||||
<target>https://localhost:3000/hacktivities/0/challenges/0/vm_sets/0/vms/auto_flag_submit</target>
|
||||
<request_type>POST</request_type>
|
||||
<data>flag{static_flag_1}</data>
|
||||
</WebAction>
|
||||
</alertaction>
|
||||
<alertaction>
|
||||
<alert_name>replace-me</alert_name>
|
||||
<WebAction>
|
||||
<target>https://localhost:3000/hacktivities/0/challenges/0/vm_sets/0/vms/auto_flag_submit</target>
|
||||
<request_type>POST</request_type>
|
||||
<data>flag{static_flag_2}</data>
|
||||
</WebAction>
|
||||
</alertaction>
|
||||
<alertaction>
|
||||
<alert_name>replace-me</alert_name>
|
||||
<WebAction>
|
||||
<target>https://localhost:3000/hacktivities/0/challenges/0/vm_sets/0/vms/auto_flag_submit</target>
|
||||
<request_type>POST</request_type>
|
||||
<data>flag{static_flag_3}</data>
|
||||
</WebAction>
|
||||
</alertaction>
|
||||
<alertaction>
|
||||
<alert_name>replace-me</alert_name>
|
||||
<WebAction>
|
||||
<target>https://localhost:3000/hacktivities/0/challenges/0/vm_sets/0/vms/auto_flag_submit</target>
|
||||
<request_type>POST</request_type>
|
||||
<data>flag{static_flag_4}</data>
|
||||
</WebAction>
|
||||
</alertaction>
|
||||
<alertaction>
|
||||
<alert_name>replace-me</alert_name>
|
||||
<WebAction>
|
||||
<target>https://localhost:3000/hacktivities/0/challenges/0/vm_sets/0/vms/auto_flag_submit</target>
|
||||
<request_type>POST</request_type>
|
||||
<data>flag{static_flag_5}</data>
|
||||
</WebAction>
|
||||
</alertaction>
|
||||
</alertactioner>
|
||||
@@ -153,11 +153,11 @@
|
||||
<base distro="Debian 10" />
|
||||
|
||||
<input into_datastore="goal_flags">
|
||||
<generator type="flag_generator"/>
|
||||
<generator type="flag_generator"/>
|
||||
<generator type="flag_generator"/>
|
||||
<generator type="flag_generator"/>
|
||||
<generator type="flag_generator"/>
|
||||
<value>flag{static_flag_1}</value>
|
||||
<value>flag{static_flag_2}</value>
|
||||
<value>flag{static_flag_3}</value>
|
||||
<value>flag{static_flag_4}</value>
|
||||
<value>flag{static_flag_5}</value>
|
||||
</input>
|
||||
|
||||
<utility module_path=".*handy_cli_tools.*"/>
|
||||
|
||||
Reference in New Issue
Block a user