fix1
This commit is contained in:
parent
6b58fe3f18
commit
68434fd938
@ -1,6 +1,6 @@
|
||||
#!/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."
|
||||
|
||||
|
||||
@ -925,9 +925,16 @@ if [ "`echo $CHECKS | grep UsrI`" ]; then
|
||||
echo ""
|
||||
fi
|
||||
|
||||
|
||||
if [ "`echo $CHECKS | grep SofI`" ]; then
|
||||
###########################################
|
||||
#--------) Software Information (---------#
|
||||
###########################################
|
||||
printf $B"===================================( "$GREEN"Software Information"$B" )===================================\n"$NC
|
||||
|
||||
###########################################
|
||||
#----------) Caching Finds (--------------#
|
||||
###########################################
|
||||
|
||||
prep_to_find() {
|
||||
echo "$1" | sed 's/ / -o -name /g' | sed 's/^/\\( -name /g' | sed 's/$/ \\)/g'
|
||||
}
|
||||
@ -1030,12 +1037,6 @@ printf ". "
|
||||
|
||||
printf "DONE\n"
|
||||
|
||||
if [ "`echo $CHECKS | grep SofI`" ]; then
|
||||
###########################################
|
||||
#--------) Software Information (---------#
|
||||
###########################################
|
||||
printf $B"===================================( "$GREEN"Software Information"$B" )===================================\n"$NC
|
||||
|
||||
#-- 1SI) Mysql version
|
||||
printf $Y"[+] "$GREEN"MySQL version\n"$NC
|
||||
mysql --version 2>/dev/null || echo_not_found "mysql"
|
||||
|
Loading…
Reference in New Issue
Block a user