From aafe2a4e3f93fe2b61683e312937e7061cc4d8cc Mon Sep 17 00:00:00 2001 From: neargle-sandbox-win-tbook Date: Sat, 18 May 2024 16:12:37 +0800 Subject: [PATCH] feat(tool docs): add netstat document --- README.md | 1 + pkg/cli/banner.go | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index bc1b793..3f2310c 100644 --- a/README.md +++ b/README.md @@ -183,6 +183,7 @@ cdk ps |---|---|---|---| |nc|TCP Tunnel|✔|[link](https://github.com/cdk-team/CDK/wiki/Tool:-nc)| |ps|Process Information|✔|[link](https://github.com/cdk-team/CDK/wiki/Tool:-ps)| +|netstat|Like "netstat -antup" command|✔|| |ifconfig|Network Information|✔|[link](https://github.com/cdk-team/CDK/wiki/Tool:-ifconfig)| |vi|Edit Files|✔|[link](https://github.com/cdk-team/CDK/wiki/Tool:-vi)| |ectl|Unauthorized enumeration of ectd keys|✔|| diff --git a/pkg/cli/banner.go b/pkg/cli/banner.go index 6c61a98..1503943 100644 --- a/pkg/cli/banner.go +++ b/pkg/cli/banner.go @@ -59,6 +59,7 @@ var BannerContainerTpl = BannerHeader + ` %s vi Edit files in container like "vi" command. ps Show process information like "ps -ef" command. + netstat Like "netstat -antup" command. nc [options] Create TCP tunnel. ifconfig Show network information. kcurl (get|post) [] Make request to K8s api-server.