mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 19:28:02 +00:00
36 lines
1.1 KiB
XML
36 lines
1.1 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<scenario xmlns="http://www.github/cliffe/SecGen/scenario"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.github/cliffe/SecGen/scenario">
|
|
|
|
<!-- an example system with a setgid script challenge. -->
|
|
<system>
|
|
<system_name>group_challenges</system_name>
|
|
<base platform="linux" type="server"/>
|
|
|
|
<!-- 1) Default uses an account and drops the challenge in the users home directory -->
|
|
<vulnerability type="script_challenge">
|
|
<input into="group">
|
|
<value>task1</value>
|
|
</input>
|
|
</vulnerability>
|
|
|
|
<!-- 2) Using a custom storage directory -->
|
|
<!--<vulnerability type="script_challenge">-->
|
|
<!--<input into="group">-->
|
|
<!--<value>task2</value>-->
|
|
<!--</input>-->
|
|
<!--<input into="account">-->
|
|
<!--<value/>-->
|
|
<!--</input>-->
|
|
<!--<input into="storage_directory">-->
|
|
<!--<value>/test/hidden/challenges</value>-->
|
|
<!--</input>-->
|
|
<!--</vulnerability>-->
|
|
|
|
<network type="private_network" range="dhcp"/>
|
|
</system>
|
|
|
|
</scenario>
|