Files
SecGen/scenarios/examples/ctf_challenge_examples/setuid_script_example.xml

29 lines
931 B
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 setuid script challenge. -->
<system>
<system_name>setuid_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"/>
<!-- 2) Using a custom storage directory -->
<!--<vulnerability type="script_challenge">-->
<!--<input into="account">-->
<!--<value/>-->
<!--</input>-->
<!--<input into="storage_directory">-->
<!--<value>/test/hidden/challenges</value>-->
<!--</input>-->
<!--</vulnerability>-->
<network type="private_network" range="dhcp"/>
</system>
</scenario>