Skip to content

Commit f2bb235

Browse files
lleizerovichREDMOND\lleizerovich
andauthored
Fix token string (#18)
* fixed the token grep string in the lateral movement scenario * added $ to print the token value --------- Co-authored-by: REDMOND\lleizerovich <lleizerovich@microsoft.com>
1 parent 3d4273c commit f2bb235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Images/attacker/src/secrets-and-files.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ echo " "
1616
kube_token_file="/var/run/secrets/kubernetes.io/serviceaccount/token"
1717
if (test -f $kube_token_file); then
1818
kube_token=$(cat $kube_token_file | head -c 30 && echo "...")
19-
echo "Found Kubernetes service account in $kube_token_file: kube_token"
19+
echo "Found Kubernetes service account in $kube_token_file: $kube_token"
2020
else
2121
echo "Kubernetes service account token not found"
2222
fi

0 commit comments

Comments
 (0)