Brutkey

Guillaume Rossolini
@GuillaumeRossolini@infosec.exchange

@jerry@infosec.exchange @lerg@infosec.exchange also, assuming this is bash or equivalent, these shells tend not to default to set -e if memory serves? Meaning β€œexit as soon as you get a failed command”: this isn’t the default.

Another flag I discovered recently is
set -o pipefail which has the same effect for piped commands, because that isn’t covered by -e for some reason.

So a failed directory creation would let the remainder of the script run, like you said, without extra checks (or these flags)

Guillaume Rossolini
@GuillaumeRossolini@infosec.exchange

@jerry@infosec.exchange @lerg@infosec.exchange still another failing of these tools, they aren’t really absorbing the boring tasks (the quality checks) that were hidden in the prompt