fix1
This commit is contained in:
parent
6b58fe3f18
commit
68434fd938
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
VERSION="v2.4.0"
|
VERSION="v2.4.1"
|
||||||
ADVISORY="linpeas should be used for authorized penetration testing and/or educational purposes only. Any misuse of this software will not be the responsibility of the author or of any other collaborator. Use it at your own networks and/or with the network owner's permission."
|
ADVISORY="linpeas should be used for authorized penetration testing and/or educational purposes only. Any misuse of this software will not be the responsibility of the author or of any other collaborator. Use it at your own networks and/or with the network owner's permission."
|
||||||
|
|
||||||
|
|
||||||
@ -925,9 +925,16 @@ if [ "`echo $CHECKS | grep UsrI`" ]; then
|
|||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [ "`echo $CHECKS | grep SofI`" ]; then
|
||||||
|
###########################################
|
||||||
|
#--------) Software Information (---------#
|
||||||
|
###########################################
|
||||||
|
printf $B"===================================( "$GREEN"Software Information"$B" )===================================\n"$NC
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
#----------) Caching Finds (--------------#
|
#----------) Caching Finds (--------------#
|
||||||
###########################################
|
|
||||||
prep_to_find() {
|
prep_to_find() {
|
||||||
echo "$1" | sed 's/ / -o -name /g' | sed 's/^/\\( -name /g' | sed 's/$/ \\)/g'
|
echo "$1" | sed 's/ / -o -name /g' | sed 's/^/\\( -name /g' | sed 's/$/ \\)/g'
|
||||||
}
|
}
|
||||||
@ -1030,12 +1037,6 @@ printf ". "
|
|||||||
|
|
||||||
printf "DONE\n"
|
printf "DONE\n"
|
||||||
|
|
||||||
if [ "`echo $CHECKS | grep SofI`" ]; then
|
|
||||||
###########################################
|
|
||||||
#--------) Software Information (---------#
|
|
||||||
###########################################
|
|
||||||
printf $B"===================================( "$GREEN"Software Information"$B" )===================================\n"$NC
|
|
||||||
|
|
||||||
#-- 1SI) Mysql version
|
#-- 1SI) Mysql version
|
||||||
printf $Y"[+] "$GREEN"MySQL version\n"$NC
|
printf $Y"[+] "$GREEN"MySQL version\n"$NC
|
||||||
mysql --version 2>/dev/null || echo_not_found "mysql"
|
mysql --version 2>/dev/null || echo_not_found "mysql"
|
||||||
|
Loading…
Reference in New Issue
Block a user