-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
William Blum
committed
Jun 24, 2021
1 parent
56fdb67
commit e287436
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# %% | ||
from cyberbattle.simulation.environment_generation import create_random_environment | ||
import cyberbattle.simulation.commandcontrol as commandcontrol | ||
|
||
# %% | ||
print(commandcontrol.__file__) | ||
|
||
|
||
# %% | ||
env = create_random_environment('test', 10) | ||
# %% | ||
env | ||
# %% | ||
c2 = commandcontrol.CommandControl(env) | ||
# %% | ||
c2.print_all_attacks() | ||
|
||
# %% | ||
|
||
c2.list_local_attacks('0') | ||
# %% | ||
|
||
# # %% | ||
# !pip freeze | ||
|
||
# # %% | ||
# !python - -version | ||
# # %% | ||
|
||
# %% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters