Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/CyberBattleSim
Path: blob/main/cyberbattle/_env/cyberbattle_toyctf.py
597 views
1
# Copyright (c) Microsoft Corporation.
2
# Licensed under the MIT License.
3
4
from ..samples.toyctf import toy_ctf
5
from . import cyberbattle_env
6
7
8
class CyberBattleToyCtf(cyberbattle_env.CyberBattleEnv):
9
"""CyberBattle simulation based on a toy CTF exercise"""
10
11
def __init__(self, **kwargs):
12
super().__init__(initial_environment=toy_ctf.new_environment(), **kwargs)
13
14