Kubernetes Cheatsheet

List all containers kubectl get pods --all-namespaces -o=custom-columns=NameSpace:.metadata.namespace,NAME:.metadata.name,CONTAINERS:.spec.containers[*].name Resource: https://serverfault.com/questions/873490/how-to-list-all-containers-in-kubernetes By namespace kubectl get pods -n <namespace> Check for insecure kubelet API access From the host curl -k https://localhost:10250/pods…

AWS Pentesting

S3 Hunting You can reach S3 buckets via a web interface regardless of whether or not access is permitted. The URL formats are: http://<bucketname>.s3.amazonaws.com http://s3.amazonaws.com/<bucketname> A couple of things worth keeping in mind for creating tooling around hunting…

IOS Pentesting Cheatsheet

Jailbreaking At the time of this writing, only up to version 12.1.2 of iOS can be jailbroken. While it is theoretically possible to downgrade the version, it is a giant hassle and I was not able to find a fully working solution over the span of several hours…

VSCode Notes

Fine, you win world. Symbols to keep in mind ⌘ is the command key aka the windows key ⇧ is the shift key ⌃ is the control key ⌥ is the alt key Switch between windows On Mac: ⌘ tab number For example: ⌘2 Resource: https://zellwk.com/blog/useful-vscode-keyboard-shortcuts/ Markdown This extension is great,…

Chef Notes

Knife Vault Create a secret knife vault create passwords root '{"username": "root", "password": "mypassword"}' Show secrets vaults knife vault list Show secrets in a vault secret_vault is the vault in this case: knife vault show secret_vault Show value…