Skip to content
Snippets Groups Projects
Commit 0a75a9e5 authored by Bob Mottram's avatar Bob Mottram
Browse files

Quotes

parent 555f5e7c
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ function test_curl_bash {
for filename in $FILES
do
curl_bash=$(grep "curl" "$filename" | grep "|" | grep "bash\\| sh")
if $curl_bash; then
if "$curl_bash"; then
echo ''
echo $"${filename} curl piped to bash or sh"
exit 46375683
......@@ -70,7 +70,7 @@ function test_curl_bash {
for filename in $FILES
do
curl_bash=$(grep "curl" "$filename" | grep "|" | grep "bash\\| sh")
if $curl_bash; then
if "$curl_bash"; then
echo ''
echo $"${filename} curl piped to bash or sh"
exit 53789759359
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment