=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== puppet-beaker-4.21.0/acceptance/fixtures/files/retry_script.txt-9- puppet-beaker-4.21.0/acceptance/fixtures/files/retry_script.txt:10:current=`cat ${BASEDIR}/value.txt || echo '0'` puppet-beaker-4.21.0/acceptance/fixtures/files/retry_script.txt-11-current=$((current+1)) ############################################## puppet-beaker-4.21.0/acceptance/tests/load_path_bootstrap.rb:1:# Ensure that `$LOAD_PATH` is set up properly, in cases where the entire puppet-beaker-4.21.0/acceptance/tests/load_path_bootstrap.rb-2-# acceptance suite is being run, but the options file ############################################## puppet-beaker-4.21.0/docs/how_to/ssh_agent_forwarding.md-13- puppet-beaker-4.21.0/docs/how_to/ssh_agent_forwarding.md:14:A dirty hack is to `chmod -R 777 /tmp/ssh-*` before changing to another user and relying on `$SSH_AUTH_SOCK`. puppet-beaker-4.21.0/docs/how_to/ssh_agent_forwarding.md-15- ############################################## puppet-beaker-4.21.0/docs/tutorials/creating_a_test_environment.md-65- puppet-beaker-4.21.0/docs/tutorials/creating_a_test_environment.md:66:The platform's format is `/^OSFAMILY-VERSION-ARCH.*$/` where `OSFAMILY` is one of: puppet-beaker-4.21.0/docs/tutorials/creating_a_test_environment.md-67- ############################################## puppet-beaker-4.21.0/docs/tutorials/test_run.md-17- puppet-beaker-4.21.0/docs/tutorials/test_run.md:18:## Execution puppet-beaker-4.21.0/docs/tutorials/test_run.md-19- ############################################## puppet-beaker-4.21.0/ext/completion/beaker-completion.bash-30- # grep extended regex, only print match puppet-beaker-4.21.0/ext/completion/beaker-completion.bash:31: local dash_words=`echo "${beaker_help}" | grep -oE ' \-(\w|\[|\]|-)+' | uniq` puppet-beaker-4.21.0/ext/completion/beaker-completion.bash-32- # parse for negated commands puppet-beaker-4.21.0/ext/completion/beaker-completion.bash:33: local negative_words=`echo "${dash_words}" | grep -oE '\-\-\[\w+-\](\w|-)+' | sed 's/\[//' | sed 's/\]//'` puppet-beaker-4.21.0/ext/completion/beaker-completion.bash-34- # remove the negative portion from dash_words puppet-beaker-4.21.0/ext/completion/beaker-completion.bash:35: local dash_words=`echo "${dash_words}" | sed 's/\[no\-\]//g'` puppet-beaker-4.21.0/ext/completion/beaker-completion.bash-36- ############################################## puppet-beaker-4.21.0/lib/beaker/host/mac/user.rb-23- # puppet-beaker-4.21.0/lib/beaker/host/mac/user.rb:24: # @note Calls POSIX-compliant `$ id -P <user>` to get /etc/passwd-style puppet-beaker-4.21.0/lib/beaker/host/mac/user.rb-25- # output ############################################## puppet-beaker-4.21.0/lib/beaker/host/pswindows/exec.rb-154- key = key.to_s.upcase puppet-beaker-4.21.0/lib/beaker/host/pswindows/exec.rb:155: exec(powershell("[Environment]::SetEnvironmentVariable('#{key}', $null, 'Machine')")) puppet-beaker-4.21.0/lib/beaker/host/pswindows/exec.rb:156: exec(powershell("[Environment]::SetEnvironmentVariable('#{key}', $null, 'User')")) puppet-beaker-4.21.0/lib/beaker/host/pswindows/exec.rb:157: exec(powershell("[Environment]::SetEnvironmentVariable('#{key}', $null, 'Process')")) puppet-beaker-4.21.0/lib/beaker/host/pswindows/exec.rb-158- self.close #refresh the state ############################################## puppet-beaker-4.21.0/lib/beaker/host/unix/exec.rb-211- #if the key only has that single value remove the entire line puppet-beaker-4.21.0/lib/beaker/host/unix/exec.rb:212: exec(Beaker::SedCommand.new(self['platform'], "/#{key}=#{val}$/d", env_file)) puppet-beaker-4.21.0/lib/beaker/host/unix/exec.rb-213- #value in middle of list ############################################## puppet-beaker-4.21.0/lib/beaker/host/unix/exec.rb-238- #remove entire line puppet-beaker-4.21.0/lib/beaker/host/unix/exec.rb:239: exec(Beaker::SedCommand.new(self['platform'], "/^#{key}=.*$/d", env_file)) puppet-beaker-4.21.0/lib/beaker/host/unix/exec.rb-240- #update the profile.d to current state ############################################## puppet-beaker-4.21.0/lib/beaker/host_prebuilt_steps.rb-182- elsif host['platform'] =~ /aix/ puppet-beaker-4.21.0/lib/beaker/host_prebuilt_steps.rb:183: host.exec(Command.new(ROOT_KEYS_SYNC_CMD_AIX % "env PATH=/usr/gnu/bin:$PATH bash"), :accept_all_exit_codes => true) puppet-beaker-4.21.0/lib/beaker/host_prebuilt_steps.rb-184- else puppet-beaker-4.21.0/lib/beaker/host_prebuilt_steps.rb:185: host.exec(Command.new(ROOT_KEYS_SYNC_CMD % "env PATH=\"/usr/gnu/bin:$PATH\" bash"), :accept_all_exit_codes => true) puppet-beaker-4.21.0/lib/beaker/host_prebuilt_steps.rb-186- end ############################################## puppet-beaker-4.21.0/lib/beaker/host_prebuilt_steps.rb-267- #update /etc/yum.repos.d/epel.repo for new baseurl puppet-beaker-4.21.0/lib/beaker/host_prebuilt_steps.rb:268: host.exec(Command.new("sed -i -e 's;#baseurl.*$;baseurl=#{Regexp.escape("#{url_base}/#{host['platform'].version}")}/\$basearch;' /etc/yum.repos.d/epel.repo")) puppet-beaker-4.21.0/lib/beaker/host_prebuilt_steps.rb-269- #remove mirrorlist