1
mirror of https://github.com/carlospolop/PEASS-ng synced 2025-02-17 21:41:25 +01:00

Update 6_software_information.sh

This commit is contained in:
Carlos Polop 2022-05-11 21:09:43 +01:00 committed by GitHub
parent 10960f2456
commit f8e0090962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ fi
if [ "$PSTORAGE_MYSQL" ] || [ "$DEBUG" ]; then
print_2title "Searching mysql credentials and exec"
printf "%s\n" "$PSTORAGE_MYSQL" | while read d; do
if [ -f "$d" ]; then
if [ -f "$d" ] && ! [ "$(basename $d)" = "mysql" ]; then
STRINGS="`command -v strings`"
echo "Potential file containing credentials:"
ls -l "$d"