File tree 5 files changed +5
-5
lines changed
linPEAS/builder/linpeas_parts/3_cloud
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ if [ "$is_az_automation_acc" = "Yes" ]; then
24
24
if [ " $( command -v curl || echo -n ' ' ) " ]; then
25
25
az_req=" curl -s -f -L -H '$HEADER '"
26
26
elif [ " $( command -v wget || echo -n ' ' ) " ]; then
27
- az_req=" wget -q -O - -H '$HEADER '"
27
+ az_req=" wget -q -O - --header '$HEADER '"
28
28
else
29
29
echo " Neither curl nor wget were found, I can't enumerate the metadata service :("
30
30
fi
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ if [ "$is_ibm_vm" = "Yes" ]; then
28
28
if [ " $( command -v curl || echo -n ' ' ) " ]; then
29
29
ibm_req=" curl -s -f -L -H '$TOKEN_HEADER ' -H '$ACCEPT_HEADER '"
30
30
elif [ " $( command -v wget || echo -n ' ' ) " ]; then
31
- ibm_req=" wget -q -O - -H '$TOKEN_HEADER ' -H '$ACCEPT_HEADER '"
31
+ ibm_req=" wget -q -O - --header '$TOKEN_HEADER ' -H '$ACCEPT_HEADER '"
32
32
else
33
33
echo " Neither curl nor wget were found, I can't enumerate the metadata service :("
34
34
fi
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ if [ "$is_aws_ec2" = "Yes" ]; then
23
23
if [ " $( command -v curl || echo -n ' ' ) " ]; then
24
24
aws_req=" curl -s -f -L -H '$HEADER '"
25
25
elif [ " $( command -v wget || echo -n ' ' ) " ]; then
26
- aws_req=" wget -q -O - -H '$HEADER '"
26
+ aws_req=" wget -q -O - --header '$HEADER '"
27
27
else
28
28
echo " Neither curl nor wget were found, I can't enumerate the metadata service :("
29
29
fi
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ if [ "$is_az_vm" = "Yes" ]; then
24
24
if [ " $( command -v curl || echo -n ' ' ) " ]; then
25
25
az_req=" curl -s -f -L -H '$HEADER '"
26
26
elif [ " $( command -v wget || echo -n ' ' ) " ]; then
27
- az_req=" wget -q -O - -H '$HEADER '"
27
+ az_req=" wget -q -O - --header '$HEADER '"
28
28
else
29
29
echo " Neither curl nor wget were found, I can't enumerate the metadata service :("
30
30
fi
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ if [ "$is_az_app" = "Yes" ]; then
24
24
if [ " $( command -v curl || echo -n ' ' ) " ]; then
25
25
az_req=" curl -s -f -L -H '$HEADER '"
26
26
elif [ " $( command -v wget || echo -n ' ' ) " ]; then
27
- az_req=" wget -q -O - -H '$HEADER '"
27
+ az_req=" wget -q -O - --header '$HEADER '"
28
28
else
29
29
echo " Neither curl nor wget were found, I can't enumerate the metadata service :("
30
30
fi
You can’t perform that action at this time.
0 commit comments