Skip to content

Commit 546000e

Browse files
committed
feat: fix syntax for where steps lead and change entrypoint
1 parent 307a703 commit 546000e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tutorials/language-model-tutorial/my-language.mal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ category System {
1010
& access
1111
-> compromise
1212
| compromise
13-
-> folder.accessFolder
14-
-> toComputer.connect
15-
-> toComputer.crackPassword
13+
-> folder.accessFolder,
14+
toComputer.connect,
15+
toComputer.crackPassword
1616
}
1717
asset Folder {
1818
| accessFolder

tutorials/language-model-tutorial/my-model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def main():
4040

4141
simulator = MalSimulator(graph)
4242
simulator.register_attacker(
43-
"MyAttacker", entry_points=["ComputerA:connect"], goals=["FolderB:stealSecrets"]
43+
"MyAttacker", entry_points=["ComputerA:access"], goals=["FolderB:stealSecrets"]
4444
)
4545
agents = [{"name": "MyAttacker", "agent": RandomAgent({})}]
4646
path = run_simulation(simulator, agents)

0 commit comments

Comments
 (0)