mirror of
https://github.com/carlospolop/PEASS-ng
synced 2025-02-21 10:30:58 +01:00
linpeasv2.2.6
This commit is contained in:
parent
039e61b027
commit
9a0173ad7a
@ -981,6 +981,7 @@ if [ "`echo $CHECKS | grep SofI`" ]; then
|
||||
if [ -r $f ]; then
|
||||
echo "Found readable $f"
|
||||
cat "$f" | grep -v "^#" | grep -v "^$" | sed "s,auth\|password\|md5\|user=\|pass=,${C}[1;31m&${C}[0m," 2>/dev/null
|
||||
echo ""
|
||||
fi
|
||||
done
|
||||
else echo_not_found
|
||||
@ -1378,6 +1379,17 @@ if [ "`echo $CHECKS | grep SofI`" ]; then
|
||||
done
|
||||
fi
|
||||
echo ""
|
||||
|
||||
##-- 36SI) Mosquitto
|
||||
printf $Y"[+] "$GREEN"Looking for mosquitto.conf\n"$NC
|
||||
mqttconfs=`find /var /etc /home /root /tmp /usr /opt -type f -name "mosquitto.conf" 2>/dev/null`
|
||||
for f in $mqttconfs; do
|
||||
if [ -r $f ]; then
|
||||
echo "Found readable $f"
|
||||
cat "$f" | grep -v "^#" | grep -v "^$" | sed "s,password_file.*\|psk_file.*\|allow_anonymous.*true\|auth,${C}[1;31m&${C}[0m," 2>/dev/null
|
||||
fi
|
||||
done
|
||||
echo ""
|
||||
echo ""
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user