google / kctf

kCTF is a Kubernetes-based infrastructure for CTF competitions. For documentation, see
https://google.github.io/kctf/
Apache License 2.0
657 stars 73 forks source link

docs: fix port used in connection for local-testing.md #368

Closed dobsonj closed 2 years ago

dobsonj commented 2 years ago

This section of the doc was slightly confusing at first glance. The doc says:

Connect to the LOCAL_PORT:

nc 127.0.0.1 [external_port]

But it really should be LOCAL_PORT. For example:

> kctf chal debug port-forward &
[1] 21137
[*] starting port-forward, ctrl+c to exit
Forwarding from 127.0.0.1:43373 -> 1337

> nc localhost 43373
== proof-of-work: disabled ==
CTF{TestFlag}
google-cla[bot] commented 2 years ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

For more information, open the CLA check for this pull request.