Update 6_software_information.sh
This commit is contained in:
parent
10960f2456
commit
f8e0090962
@ -84,7 +84,7 @@ fi
|
|||||||
if [ "$PSTORAGE_MYSQL" ] || [ "$DEBUG" ]; then
|
if [ "$PSTORAGE_MYSQL" ] || [ "$DEBUG" ]; then
|
||||||
print_2title "Searching mysql credentials and exec"
|
print_2title "Searching mysql credentials and exec"
|
||||||
printf "%s\n" "$PSTORAGE_MYSQL" | while read d; do
|
printf "%s\n" "$PSTORAGE_MYSQL" | while read d; do
|
||||||
if [ -f "$d" ]; then
|
if [ -f "$d" ] && ! [ "$(basename $d)" = "mysql" ]; then
|
||||||
STRINGS="`command -v strings`"
|
STRINGS="`command -v strings`"
|
||||||
echo "Potential file containing credentials:"
|
echo "Potential file containing credentials:"
|
||||||
ls -l "$d"
|
ls -l "$d"
|
||||||
|
Loading…
Reference in New Issue
Block a user