People often ask me "How did you learn how to hack?" The answer: by reading. This page is a collection of the blog posts and other articles that I have accumulated over the years of my journey. Enjoy!
ssh -T -D $RANDOM_PORT "$REMOTE_HOST" bash, where the REMOTE_HOST is controlled by our user. ssh command. As a result, a ProxyCommand argument could be injected into SSH to run arbitrary commands on the local machine. vscode:// URI! It appears that the vscode URI unescapes all of the '+'s and other encoded characters for us. This allows for arbitrary characters to be sent to the CLI, making this much more exploitable.
vscode://vscode-remote/ssh-remote+-oProxyCommand=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -c msg %username% command_injection" "a@127.0.0.1+/a
.