Skip to content

Commit 907a628

Browse files
committed
Update COT_PROMPT to specify target_service format for ExploitService action
1 parent 04fb4f4 commit 907a628

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

agents/attackers/interactive_tui/assistant.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
Here are some examples of actions:
3232
Action: {"action":"ScanNetwork", "parameters": {"target_network": "1.1.1.0/24", 'source_host': '2.2.2.2'}}
3333
Action: {"action":"ScanServices", "parameters":{"target_host":"2.2.2.3", 'source_host': '2.2.2.2'}}
34-
Action: {"action":"ExploitService", "parameters":{"target_host":"1.1.1.1", "target_service":"openssh", 'source_host': '1.1.1.2'}}
34+
Action: {"action":"ExploitService", "parameters":{"target_host":"1.1.1.1", "target_service":"22/tcp, ssh", 'source_host': '1.1.1.2'}}
3535
Action: {"action":"FindData", "parameters":{"target_host":"1.1.1.1", 'source_host': '1.1.1.2'}}
3636
Action: {"action":"ExfiltrateData", "parameters": {"target_host": "2.2.2.2", "data": {"owner":"User1", "id":"WebData"}, "source_host": "1.1.1.2"}}
3737
End of examples.
@@ -52,6 +52,7 @@
5252
Do not scan or exploit services in hosts you control.
5353
Do not scan the same network twice.
5454
Do not exfiltrate the same data twice.
55+
Do not exfiltrate logfiles.
5556
Exploit services that you know and find data in all controlled hosts.
5657
Once you have known data exfiltrate them to the target one by one.
5758
"""

0 commit comments

Comments
 (0)