check broken links
This commit is contained in:
parent
93fd84a1d0
commit
220ee4330e
@ -1189,6 +1189,7 @@ if echo $CHECKS | grep -q SysI; then
|
|||||||
|
|
||||||
if [ "$(command -v bash 2>/dev/null)" ]; then
|
if [ "$(command -v bash 2>/dev/null)" ]; then
|
||||||
print_2title "Executing Linux Exploit Suggester"
|
print_2title "Executing Linux Exploit Suggester"
|
||||||
|
print_info "https://github.com/mzet-/linux-exploit-suggester"
|
||||||
les_b64="peass{LES}"
|
les_b64="peass{LES}"
|
||||||
echo $les_b64 | base64 -d | bash
|
echo $les_b64 | base64 -d | bash
|
||||||
echo ""
|
echo ""
|
||||||
@ -1196,11 +1197,19 @@ if echo $CHECKS | grep -q SysI; then
|
|||||||
|
|
||||||
if [ "$(command -v perl 2>/dev/null)" ]; then
|
if [ "$(command -v perl 2>/dev/null)" ]; then
|
||||||
print_2title "Executing Linux Exploit Suggester 2"
|
print_2title "Executing Linux Exploit Suggester 2"
|
||||||
|
print_info "https://github.com/jondonas/linux-exploit-suggester-2"
|
||||||
les2_b64="peass{LES2}"
|
les2_b64="peass{LES2}"
|
||||||
echo $les2_b64 | base64 -d | perl
|
echo $les2_b64 | base64 -d | perl
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$(command -v brew 2>/dev/null)" ]; then
|
||||||
|
print_2title "Brew Doctor Suggestions"
|
||||||
|
brew doctor
|
||||||
|
echo ""
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#-- SY) AppArmor
|
#-- SY) AppArmor
|
||||||
print_2title "Protections"
|
print_2title "Protections"
|
||||||
@ -2982,6 +2991,13 @@ if echo $CHECKS | grep -q IntFiles; then
|
|||||||
done
|
done
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
print_2title "Broken links in path"
|
||||||
|
echo $PATH | tr ":" "\n" | while read d; do
|
||||||
|
find "$d" -type l 2>/dev/null | xargs file 2>/dev/null | grep broken | sed -${E} "s,broken,${SED_RED},";
|
||||||
|
done
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
|
||||||
if [ "$MACPEAS" ]; then
|
if [ "$MACPEAS" ]; then
|
||||||
print_2title "Unsigned Applications"
|
print_2title "Unsigned Applications"
|
||||||
macosNotSigned /System/Applications
|
macosNotSigned /System/Applications
|
||||||
|
Loading…
Reference in New Issue
Block a user