Skip to content

Commit

Permalink
Update 7_interesting_files.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospolop authored May 11, 2022
1 parent f8e0090 commit fa0f2e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions linPEAS/builder/linpeas_parts/7_interesting_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -448,9 +448,9 @@ FILECMD="$(command -v file 2>/dev/null)"
if [ "$PSTORAGE_DATABASE" ]; then
printf "%s\n" "$PSTORAGE_DATABASE" | while read f; do
if [ "$FILECMD" ]; then
echo "Found: $(file $f)" | sed -${E} "s,\.db|\.sql|\.sqlite|\.sqlite3,${SED_RED},g";
echo "Found "$(file "$f") | sed -${E} "s,\.db|\.sql|\.sqlite|\.sqlite3,${SED_RED},g";
else
echo "Found: $f" | sed -${E} "s,\.db|\.sql|\.sqlite|\.sqlite3,${SED_RED},g";
echo "Found $f" | sed -${E} "s,\.db|\.sql|\.sqlite|\.sqlite3,${SED_RED},g";
fi
done
SQLITEPYTHON=""
Expand Down Expand Up @@ -635,4 +635,4 @@ if ! [ "$FAST" ] && ! [ "$SUPERFAST" ] && [ "$TIMEOUT" ]; then

##-- IF) Find possible regexes
peass{REGEXES}
fi
fi

0 comments on commit fa0f2e1

Please sign in to comment.