Golang: add rsync as a program capable of arbitrary shell command execution#11288
Conversation
rsync as a program capable of arbitrary shell command execution
|
@pwntester please rebase so we only get one commit instead of a big merge. I think this would also be sensible to add to |
|
Please add a test case to https://github.com/github/codeql/tree/main/go/ql/test/query-tests/Security/CWE-078 too |
c08b994 to
1459edd
Compare
|
@smowton let me know if it looks better now. Would it make sense to share these lists of commands with other languages in a shared qlpack or similar? |
|
Wants a change-note, otherwise looks good |
|
@pwntester The tests are failing because it doesn't like your declaration of a function named |
3ec6d14 to
8a27660
Compare
|
@pwntester Are you happy to merge this? |
|
@owen-mc sure! I cant merge it though |
|
@pwntester Ah, I didn't realise. I've done it now. Feel free to prod us if it looks like we've forgotten a PR, especially if it's ready to be merged. |
Add rsync since both --rsh and --rsync-path admit commands