Untitled
raw download clone
TEXT
views 77
,
size 49249 b
#!/bin/bash
#PE Script By WazeHell 
# @wazehell
clear
header()
{
echo -e "\033[0;40m############# PE Linux        \033[0m" 
echo -e "\033[0;41m############# By WazeHell     \033[0m" 
rzltsdir="Reports"
if [ -d "$rzltsdir" ]; then
  echo -e ""
else
echo -e "\033[0;41m############# Reporting Directory : /Report \033[0m" 
    mkdir "$rzltsdir"
fi
}
VULNERABLE_VERSIONS=(
    # UBUNTU PRECISE
    "3.1.1-1400-linaro-lt-mx5"
    "3.11.0-13-generic"
    "3.11.0-14-generic"
    "3.11.0-15-generic"
    "3.11.0-17-generic"
    "3.11.0-18-generic"
    "3.11.0-20-generic"
    "3.11.0-22-generic"
    "3.11.0-23-generic"
    "3.11.0-24-generic"
    "3.11.0-26-generic"
    "3.13.0-100-generic"
    "3.13.0-24-generic"
    "3.13.0-27-generic"
    "3.13.0-29-generic"
    "3.13.0-30-generic"
    "3.13.0-32-generic"
    "3.13.0-33-generic"
    "3.13.0-34-generic"
    "3.13.0-35-generic"
    "3.13.0-36-generic"
    "3.13.0-37-generic"
    "3.13.0-39-generic"
    "3.13.0-40-generic"
    "3.13.0-41-generic"
    "3.13.0-43-generic"
    "3.13.0-44-generic"
    "3.13.0-46-generic"
    "3.13.0-48-generic"
    "3.13.0-49-generic"
    "3.13.0-51-generic"
    "3.13.0-52-generic"
    "3.13.0-53-generic"
    "3.13.0-54-generic"
    "3.13.0-55-generic"
    "3.13.0-57-generic"
    "3.13.0-58-generic"
    "3.13.0-59-generic"
    "3.13.0-61-generic"
    "3.13.0-62-generic"
    "3.13.0-63-generic"
    "3.13.0-65-generic"
    "3.13.0-66-generic"
    "3.13.0-67-generic"
    "3.13.0-68-generic"
    "3.13.0-71-generic"
    "3.13.0-73-generic"
    "3.13.0-74-generic"
    "3.13.0-76-generic"
    "3.13.0-77-generic"
    "3.13.0-79-generic"
    "3.13.0-83-generic"
    "3.13.0-85-generic"
    "3.13.0-86-generic"
    "3.13.0-88-generic"
    "3.13.0-91-generic"
    "3.13.0-92-generic"
    "3.13.0-93-generic"
    "3.13.0-95-generic"
    "3.13.0-96-generic"
    "3.13.0-98-generic"
    "3.2.0-101-generic"
    "3.2.0-101-generic-pae"
    "3.2.0-101-virtual"
    "3.2.0-102-generic"
    "3.2.0-102-generic-pae"
    "3.2.0-102-virtual"
    "3.2.0-104-generic"
    "3.2.0-104-generic-pae"
    "3.2.0-104-virtual"
    "3.2.0-105-generic"
    "3.2.0-105-generic-pae"
    "3.2.0-105-virtual"
    "3.2.0-106-generic"
    "3.2.0-106-generic-pae"
    "3.2.0-106-virtual"
    "3.2.0-107-generic"
    "3.2.0-107-generic-pae"
    "3.2.0-107-virtual"
    "3.2.0-109-generic"
    "3.2.0-109-generic-pae"
    "3.2.0-109-virtual"
    "3.2.0-110-generic"
    "3.2.0-110-generic-pae"
    "3.2.0-110-virtual"
    "3.2.0-111-generic"
    "3.2.0-111-generic-pae"
    "3.2.0-111-virtual"
    "3.2.0-1412-omap4"
    "3.2.0-1602-armadaxp"
    "3.2.0-23-generic"
    "3.2.0-23-generic-pae"
    "3.2.0-23-lowlatency"
    "3.2.0-23-lowlatency-pae"
    "3.2.0-23-omap"
    "3.2.0-23-powerpc-smp"
    "3.2.0-23-powerpc64-smp"
    "3.2.0-23-virtual"
    "3.2.0-24-generic"
    "3.2.0-24-generic-pae"
    "3.2.0-24-virtual"
    "3.2.0-25-generic"
    "3.2.0-25-generic-pae"
    "3.2.0-25-virtual"
    "3.2.0-26-generic"
    "3.2.0-26-generic-pae"
    "3.2.0-26-virtual"
    "3.2.0-27-generic"
    "3.2.0-27-generic-pae"
    "3.2.0-27-virtual"
    "3.2.0-29-generic"
    "3.2.0-29-generic-pae"
    "3.2.0-29-virtual"
    "3.2.0-31-generic"
    "3.2.0-31-generic-pae"
    "3.2.0-31-virtual"
    "3.2.0-32-generic"
    "3.2.0-32-generic-pae"
    "3.2.0-32-virtual"
    "3.2.0-33-generic"
    "3.2.0-33-generic-pae"
    "3.2.0-33-lowlatency"
    "3.2.0-33-lowlatency-pae"
    "3.2.0-33-virtual"
    "3.2.0-34-generic"
    "3.2.0-34-generic-pae"
    "3.2.0-34-virtual"
    "3.2.0-35-generic"
    "3.2.0-35-generic-pae"
    "3.2.0-35-lowlatency"
    "3.2.0-35-lowlatency-pae"
    "3.2.0-35-virtual"
    "3.2.0-36-generic"
    "3.2.0-36-generic-pae"
    "3.2.0-36-lowlatency"
    "3.2.0-36-lowlatency-pae"
    "3.2.0-36-virtual"
    "3.2.0-37-generic"
    "3.2.0-37-generic-pae"
    "3.2.0-37-lowlatency"
    "3.2.0-37-lowlatency-pae"
    "3.2.0-37-virtual"
    "3.2.0-38-generic"
    "3.2.0-38-generic-pae"
    "3.2.0-38-lowlatency"
    "3.2.0-38-lowlatency-pae"
    "3.2.0-38-virtual"
    "3.2.0-39-generic"
    "3.2.0-39-generic-pae"
    "3.2.0-39-lowlatency"
    "3.2.0-39-lowlatency-pae"
    "3.2.0-39-virtual"
    "3.2.0-40-generic"
    "3.2.0-40-generic-pae"
    "3.2.0-40-lowlatency"
    "3.2.0-40-lowlatency-pae"
    "3.2.0-40-virtual"
    "3.2.0-41-generic"
    "3.2.0-41-generic-pae"
    "3.2.0-41-lowlatency"
    "3.2.0-41-lowlatency-pae"
    "3.2.0-41-virtual"
    "3.2.0-43-generic"
    "3.2.0-43-generic-pae"
    "3.2.0-43-virtual"
    "3.2.0-44-generic"
    "3.2.0-44-generic-pae"
    "3.2.0-44-lowlatency"
    "3.2.0-44-lowlatency-pae"
    "3.2.0-44-virtual"
    "3.2.0-45-generic"
    "3.2.0-45-generic-pae"
    "3.2.0-45-virtual"
    "3.2.0-48-generic"
    "3.2.0-48-generic-pae"
    "3.2.0-48-lowlatency"
    "3.2.0-48-lowlatency-pae"
    "3.2.0-48-virtual"
    "3.2.0-51-generic"
    "3.2.0-51-generic-pae"
    "3.2.0-51-lowlatency"
    "3.2.0-51-lowlatency-pae"
    "3.2.0-51-virtual"
    "3.2.0-52-generic"
    "3.2.0-52-generic-pae"
    "3.2.0-52-lowlatency"
    "3.2.0-52-lowlatency-pae"
    "3.2.0-52-virtual"
    "3.2.0-53-generic"
    "3.2.0-53-generic-pae"
    "3.2.0-53-lowlatency"
    "3.2.0-53-lowlatency-pae"
    "3.2.0-53-virtual"
    "3.2.0-54-generic"
    "3.2.0-54-generic-pae"
    "3.2.0-54-lowlatency"
    "3.2.0-54-lowlatency-pae"
    "3.2.0-54-virtual"
    "3.2.0-55-generic"
    "3.2.0-55-generic-pae"
    "3.2.0-55-lowlatency"
    "3.2.0-55-lowlatency-pae"
    "3.2.0-55-virtual"
    "3.2.0-56-generic"
    "3.2.0-56-generic-pae"
    "3.2.0-56-lowlatency"
    "3.2.0-56-lowlatency-pae"
    "3.2.0-56-virtual"
    "3.2.0-57-generic"
    "3.2.0-57-generic-pae"
    "3.2.0-57-lowlatency"
    "3.2.0-57-lowlatency-pae"
    "3.2.0-57-virtual"
    "3.2.0-58-generic"
    "3.2.0-58-generic-pae"
    "3.2.0-58-lowlatency"
    "3.2.0-58-lowlatency-pae"
    "3.2.0-58-virtual"
    "3.2.0-59-generic"
    "3.2.0-59-generic-pae"
    "3.2.0-59-lowlatency"
    "3.2.0-59-lowlatency-pae"
    "3.2.0-59-virtual"
    "3.2.0-60-generic"
    "3.2.0-60-generic-pae"
    "3.2.0-60-lowlatency"
    "3.2.0-60-lowlatency-pae"
    "3.2.0-60-virtual"
    "3.2.0-61-generic"
    "3.2.0-61-generic-pae"
    "3.2.0-61-virtual"
    "3.2.0-63-generic"
    "3.2.0-63-generic-pae"
    "3.2.0-63-lowlatency"
    "3.2.0-63-lowlatency-pae"
    "3.2.0-63-virtual"
    "3.2.0-64-generic"
    "3.2.0-64-generic-pae"
    "3.2.0-64-lowlatency"
    "3.2.0-64-lowlatency-pae"
    "3.2.0-64-virtual"
    "3.2.0-65-generic"
    "3.2.0-65-generic-pae"
    "3.2.0-65-lowlatency"
    "3.2.0-65-lowlatency-pae"
    "3.2.0-65-virtual"
    "3.2.0-67-generic"
    "3.2.0-67-generic-pae"
    "3.2.0-67-lowlatency"
    "3.2.0-67-lowlatency-pae"
    "3.2.0-67-virtual"
    "3.2.0-68-generic"
    "3.2.0-68-generic-pae"
    "3.2.0-68-lowlatency"
    "3.2.0-68-lowlatency-pae"
    "3.2.0-68-virtual"
    "3.2.0-69-generic"
    "3.2.0-69-generic-pae"
    "3.2.0-69-lowlatency"
    "3.2.0-69-lowlatency-pae"
    "3.2.0-69-virtual"
    "3.2.0-70-generic"
    "3.2.0-70-generic-pae"
    "3.2.0-70-lowlatency"
    "3.2.0-70-lowlatency-pae"
    "3.2.0-70-virtual"
    "3.2.0-72-generic"
    "3.2.0-72-generic-pae"
    "3.2.0-72-lowlatency"
    "3.2.0-72-lowlatency-pae"
    "3.2.0-72-virtual"
    "3.2.0-73-generic"
    "3.2.0-73-generic-pae"
    "3.2.0-73-lowlatency"
    "3.2.0-73-lowlatency-pae"
    "3.2.0-73-virtual"
    "3.2.0-74-generic"
    "3.2.0-74-generic-pae"
    "3.2.0-74-lowlatency"
    "3.2.0-74-lowlatency-pae"
    "3.2.0-74-virtual"
    "3.2.0-75-generic"
    "3.2.0-75-generic-pae"
    "3.2.0-75-lowlatency"
    "3.2.0-75-lowlatency-pae"
    "3.2.0-75-virtual"
    "3.2.0-76-generic"
    "3.2.0-76-generic-pae"
    "3.2.0-76-lowlatency"
    "3.2.0-76-lowlatency-pae"
    "3.2.0-76-virtual"
    "3.2.0-77-generic"
    "3.2.0-77-generic-pae"
    "3.2.0-77-lowlatency"
    "3.2.0-77-lowlatency-pae"
    "3.2.0-77-virtual"
    "3.2.0-79-generic"
    "3.2.0-79-generic-pae"
    "3.2.0-79-lowlatency"
    "3.2.0-79-lowlatency-pae"
    "3.2.0-79-virtual"
    "3.2.0-80-generic"
    "3.2.0-80-generic-pae"
    "3.2.0-80-lowlatency"
    "3.2.0-80-lowlatency-pae"
    "3.2.0-80-virtual"
    "3.2.0-82-generic"
    "3.2.0-82-generic-pae"
    "3.2.0-82-lowlatency"
    "3.2.0-82-lowlatency-pae"
    "3.2.0-82-virtual"
    "3.2.0-83-generic"
    "3.2.0-83-generic-pae"
    "3.2.0-83-virtual"
    "3.2.0-84-generic"
    "3.2.0-84-generic-pae"
    "3.2.0-84-virtual"
    "3.2.0-85-generic"
    "3.2.0-85-generic-pae"
    "3.2.0-85-virtual"
    "3.2.0-86-generic"
    "3.2.0-86-generic-pae"
    "3.2.0-86-virtual"
    "3.2.0-87-generic"
    "3.2.0-87-generic-pae"
    "3.2.0-87-virtual"
    "3.2.0-88-generic"
    "3.2.0-88-generic-pae"
    "3.2.0-88-virtual"
    "3.2.0-89-generic"
    "3.2.0-89-generic-pae"
    "3.2.0-89-virtual"
    "3.2.0-90-generic"
    "3.2.0-90-generic-pae"
    "3.2.0-90-virtual"
    "3.2.0-91-generic"
    "3.2.0-91-generic-pae"
    "3.2.0-91-virtual"
    "3.2.0-92-generic"
    "3.2.0-92-generic-pae"
    "3.2.0-92-virtual"
    "3.2.0-93-generic"
    "3.2.0-93-generic-pae"
    "3.2.0-93-virtual"
    "3.2.0-94-generic"
    "3.2.0-94-generic-pae"
    "3.2.0-94-virtual"
    "3.2.0-95-generic"
    "3.2.0-95-generic-pae"
    "3.2.0-95-virtual"
    "3.2.0-96-generic"
    "3.2.0-96-generic-pae"
    "3.2.0-96-virtual"
    "3.2.0-97-generic"
    "3.2.0-97-generic-pae"
    "3.2.0-97-virtual"
    "3.2.0-98-generic"
    "3.2.0-98-generic-pae"
    "3.2.0-98-virtual"
    "3.2.0-99-generic"
    "3.2.0-99-generic-pae"
    "3.2.0-99-virtual"
    "3.5.0-40-generic"
    "3.5.0-41-generic"
    "3.5.0-42-generic"
    "3.5.0-43-generic"
    "3.5.0-44-generic"
    "3.5.0-45-generic"
    "3.5.0-46-generic"
    "3.5.0-49-generic"
    "3.5.0-51-generic"
    "3.5.0-52-generic"
    "3.5.0-54-generic"
    "3.8.0-19-generic"
    "3.8.0-21-generic"
    "3.8.0-22-generic"
    "3.8.0-23-generic"
    "3.8.0-27-generic"
    "3.8.0-29-generic"
    "3.8.0-30-generic"
    "3.8.0-31-generic"
    "3.8.0-32-generic"
    "3.8.0-33-generic"
    "3.8.0-34-generic"
    "3.8.0-35-generic"
    "3.8.0-36-generic"
    "3.8.0-37-generic"
    "3.8.0-38-generic"
    "3.8.0-39-generic"
    "3.8.0-41-generic"
    "3.8.0-42-generic"

    # Ubuntu Trusty
    "3.13.0-24-generic"
    "3.13.0-24-generic-lpae"
    "3.13.0-24-lowlatency"
    "3.13.0-24-powerpc-e500"
    "3.13.0-24-powerpc-e500mc"
    "3.13.0-24-powerpc-smp"
    "3.13.0-24-powerpc64-emb"
    "3.13.0-24-powerpc64-smp"
    "3.13.0-27-generic"
    "3.13.0-27-lowlatency"
    "3.13.0-29-generic"
    "3.13.0-29-lowlatency"
    "3.13.0-3-exynos5"
    "3.13.0-30-generic"
    "3.13.0-30-lowlatency"
    "3.13.0-32-generic"
    "3.13.0-32-lowlatency"
    "3.13.0-33-generic"
    "3.13.0-33-lowlatency"
    "3.13.0-34-generic"
    "3.13.0-34-lowlatency"
    "3.13.0-35-generic"
    "3.13.0-35-lowlatency"
    "3.13.0-36-generic"
    "3.13.0-36-lowlatency"
    "3.13.0-37-generic"
    "3.13.0-37-lowlatency"
    "3.13.0-39-generic"
    "3.13.0-39-lowlatency"
    "3.13.0-40-generic"
    "3.13.0-40-lowlatency"
    "3.13.0-41-generic"
    "3.13.0-41-lowlatency"
    "3.13.0-43-generic"
    "3.13.0-43-lowlatency"
    "3.13.0-44-generic"
    "3.13.0-44-lowlatency"
    "3.13.0-46-generic"
    "3.13.0-46-lowlatency"
    "3.13.0-48-generic"
    "3.13.0-48-lowlatency"
    "3.13.0-49-generic"
    "3.13.0-49-lowlatency"
    "3.13.0-51-generic"
    "3.13.0-51-lowlatency"
    "3.13.0-52-generic"
    "3.13.0-52-lowlatency"
    "3.13.0-53-generic"
    "3.13.0-53-lowlatency"
    "3.13.0-54-generic"
    "3.13.0-54-lowlatency"
    "3.13.0-55-generic"
    "3.13.0-55-lowlatency"
    "3.13.0-57-generic"
    "3.13.0-57-lowlatency"
    "3.13.0-58-generic"
    "3.13.0-58-lowlatency"
    "3.13.0-59-generic"
    "3.13.0-59-lowlatency"
    "3.13.0-61-generic"
    "3.13.0-61-lowlatency"
    "3.13.0-62-generic"
    "3.13.0-62-lowlatency"
    "3.13.0-63-generic"
    "3.13.0-63-lowlatency"
    "3.13.0-65-generic"
    "3.13.0-65-lowlatency"
    "3.13.0-66-generic"
    "3.13.0-66-lowlatency"
    "3.13.0-67-generic"
    "3.13.0-67-lowlatency"
    "3.13.0-68-generic"
    "3.13.0-68-lowlatency"
    "3.13.0-70-generic"
    "3.13.0-70-lowlatency"
    "3.13.0-71-generic"
    "3.13.0-71-lowlatency"
    "3.13.0-73-generic"
    "3.13.0-73-lowlatency"
    "3.13.0-74-generic"
    "3.13.0-74-lowlatency"
    "3.13.0-76-generic"
    "3.13.0-76-lowlatency"
    "3.13.0-77-generic"
    "3.13.0-77-lowlatency"
    "3.13.0-79-generic"
    "3.13.0-79-lowlatency"
    "3.13.0-83-generic"
    "3.13.0-83-lowlatency"
    "3.13.0-85-generic"
    "3.13.0-85-lowlatency"
    "3.13.0-86-generic"
    "3.13.0-86-lowlatency"
    "3.13.0-87-generic"
    "3.13.0-87-lowlatency"
    "3.13.0-88-generic"
    "3.13.0-88-lowlatency"
    "3.13.0-91-generic"
    "3.13.0-91-lowlatency"
    "3.13.0-92-generic"
    "3.13.0-92-lowlatency"
    "3.13.0-93-generic"
    "3.13.0-93-lowlatency"
    "3.13.0-95-generic"
    "3.13.0-95-lowlatency"
    "3.13.0-96-generic"
    "3.13.0-96-lowlatency"
    "3.13.0-98-generic"
    "3.13.0-98-lowlatency"
    "3.16.0-25-generic"
    "3.16.0-25-lowlatency"
    "3.16.0-26-generic"
    "3.16.0-26-lowlatency"
    "3.16.0-28-generic"
    "3.16.0-28-lowlatency"
    "3.16.0-29-generic"
    "3.16.0-29-lowlatency"
    "3.16.0-31-generic"
    "3.16.0-31-lowlatency"
    "3.16.0-33-generic"
    "3.16.0-33-lowlatency"
    "3.16.0-34-generic"
    "3.16.0-34-lowlatency"
    "3.16.0-36-generic"
    "3.16.0-36-lowlatency"
    "3.16.0-37-generic"
    "3.16.0-37-lowlatency"
    "3.16.0-38-generic"
    "3.16.0-38-lowlatency"
    "3.16.0-39-generic"
    "3.16.0-39-lowlatency"
    "3.16.0-41-generic"
    "3.16.0-41-lowlatency"
    "3.16.0-43-generic"
    "3.16.0-43-lowlatency"
    "3.16.0-44-generic"
    "3.16.0-44-lowlatency"
    "3.16.0-45-generic"
    "3.16.0-45-lowlatency"
    "3.16.0-46-generic"
    "3.16.0-46-lowlatency"
    "3.16.0-48-generic"
    "3.16.0-48-lowlatency"
    "3.16.0-49-generic"
    "3.16.0-49-lowlatency"
    "3.16.0-50-generic"
    "3.16.0-50-lowlatency"
    "3.16.0-51-generic"
    "3.16.0-51-lowlatency"
    "3.16.0-52-generic"
    "3.16.0-52-lowlatency"
    "3.16.0-53-generic"
    "3.16.0-53-lowlatency"
    "3.16.0-55-generic"
    "3.16.0-55-lowlatency"
    "3.16.0-56-generic"
    "3.16.0-56-lowlatency"
    "3.16.0-57-generic"
    "3.16.0-57-lowlatency"
    "3.16.0-59-generic"
    "3.16.0-59-lowlatency"
    "3.16.0-60-generic"
    "3.16.0-60-lowlatency"
    "3.16.0-62-generic"
    "3.16.0-62-lowlatency"
    "3.16.0-67-generic"
    "3.16.0-67-lowlatency"
    "3.16.0-69-generic"
    "3.16.0-69-lowlatency"
    "3.16.0-70-generic"
    "3.16.0-70-lowlatency"
    "3.16.0-71-generic"
    "3.16.0-71-lowlatency"
    "3.16.0-73-generic"
    "3.16.0-73-lowlatency"
    "3.16.0-76-generic"
    "3.16.0-76-lowlatency"
    "3.16.0-77-generic"
    "3.16.0-77-lowlatency"
    "3.19.0-20-generic"
    "3.19.0-20-lowlatency"
    "3.19.0-21-generic"
    "3.19.0-21-lowlatency"
    "3.19.0-22-generic"
    "3.19.0-22-lowlatency"
    "3.19.0-23-generic"
    "3.19.0-23-lowlatency"
    "3.19.0-25-generic"
    "3.19.0-25-lowlatency"
    "3.19.0-26-generic"
    "3.19.0-26-lowlatency"
    "3.19.0-28-generic"
    "3.19.0-28-lowlatency"
    "3.19.0-30-generic"
    "3.19.0-30-lowlatency"
    "3.19.0-31-generic"
    "3.19.0-31-lowlatency"
    "3.19.0-32-generic"
    "3.19.0-32-lowlatency"
    "3.19.0-33-generic"
    "3.19.0-33-lowlatency"
    "3.19.0-37-generic"
    "3.19.0-37-lowlatency"
    "3.19.0-39-generic"
    "3.19.0-39-lowlatency"
    "3.19.0-41-generic"
    "3.19.0-41-lowlatency"
    "3.19.0-42-generic"
    "3.19.0-42-lowlatency"
    "3.19.0-43-generic"
    "3.19.0-43-lowlatency"
    "3.19.0-47-generic"
    "3.19.0-47-lowlatency"
    "3.19.0-49-generic"
    "3.19.0-49-lowlatency"
    "3.19.0-51-generic"
    "3.19.0-51-lowlatency"
    "3.19.0-56-generic"
    "3.19.0-56-lowlatency"
    "3.19.0-58-generic"
    "3.19.0-58-lowlatency"
    "3.19.0-59-generic"
    "3.19.0-59-lowlatency"
    "3.19.0-61-generic"
    "3.19.0-61-lowlatency"
    "3.19.0-64-generic"
    "3.19.0-64-lowlatency"
    "3.19.0-65-generic"
    "3.19.0-65-lowlatency"
    "3.19.0-66-generic"
    "3.19.0-66-lowlatency"
    "3.19.0-68-generic"
    "3.19.0-68-lowlatency"
    "3.19.0-69-generic"
    "3.19.0-69-lowlatency"
    "3.19.0-71-generic"
    "3.19.0-71-lowlatency"
    "3.4.0-5-chromebook"
    "4.2.0-18-generic"
    "4.2.0-18-lowlatency"
    "4.2.0-19-generic"
    "4.2.0-19-lowlatency"
    "4.2.0-21-generic"
    "4.2.0-21-lowlatency"
    "4.2.0-22-generic"
    "4.2.0-22-lowlatency"
    "4.2.0-23-generic"
    "4.2.0-23-lowlatency"
    "4.2.0-25-generic"
    "4.2.0-25-lowlatency"
    "4.2.0-27-generic"
    "4.2.0-27-lowlatency"
    "4.2.0-30-generic"
    "4.2.0-30-lowlatency"
    "4.2.0-34-generic"
    "4.2.0-34-lowlatency"
    "4.2.0-35-generic"
    "4.2.0-35-lowlatency"
    "4.2.0-36-generic"
    "4.2.0-36-lowlatency"
    "4.2.0-38-generic"
    "4.2.0-38-lowlatency"
    "4.2.0-41-generic"
    "4.2.0-41-lowlatency"
    "4.4.0-21-generic"
    "4.4.0-21-lowlatency"
    "4.4.0-22-generic"
    "4.4.0-22-lowlatency"
    "4.4.0-24-generic"
    "4.4.0-24-lowlatency"
    "4.4.0-28-generic"
    "4.4.0-28-lowlatency"
    "4.4.0-31-generic"
    "4.4.0-31-lowlatency"
    "4.4.0-34-generic"
    "4.4.0-34-lowlatency"
    "4.4.0-36-generic"
    "4.4.0-36-lowlatency"
    "4.4.0-38-generic"
    "4.4.0-38-lowlatency"
    "4.4.0-42-generic"
    "4.4.0-42-lowlatency"

    # Ubuntu Xenial
    "4.4.0-1009-raspi2"
    "4.4.0-1012-snapdragon"
    "4.4.0-21-generic"
    "4.4.0-21-generic-lpae"
    "4.4.0-21-lowlatency"
    "4.4.0-21-powerpc-e500mc"
    "4.4.0-21-powerpc-smp"
    "4.4.0-21-powerpc64-emb"
    "4.4.0-21-powerpc64-smp"
    "4.4.0-22-generic"
    "4.4.0-22-lowlatency"
    "4.4.0-24-generic"
    "4.4.0-24-lowlatency"
    "4.4.0-28-generic"
    "4.4.0-28-lowlatency"
    "4.4.0-31-generic"
    "4.4.0-31-lowlatency"
    "4.4.0-34-generic"
    "4.4.0-34-lowlatency"
    "4.4.0-36-generic"
    "4.4.0-36-lowlatency"
    "4.4.0-38-generic"
    "4.4.0-38-lowlatency"
    "4.4.0-42-generic"
    "4.4.0-42-lowlatency"

    # RHEL5
    "2.6.18-8.1.1.el5"
    "2.6.18-8.1.3.el5"
    "2.6.18-8.1.4.el5"
    "2.6.18-8.1.6.el5"
    "2.6.18-8.1.8.el5"
    "2.6.18-8.1.10.el5"
    "2.6.18-8.1.14.el5"
    "2.6.18-8.1.15.el5"
    "2.6.18-53.el5"
    "2.6.18-53.1.4.el5"
    "2.6.18-53.1.6.el5"
    "2.6.18-53.1.13.el5"
    "2.6.18-53.1.14.el5"
    "2.6.18-53.1.19.el5"
    "2.6.18-53.1.21.el5"
    "2.6.18-92.el5"
    "2.6.18-92.1.1.el5"
    "2.6.18-92.1.6.el5"
    "2.6.18-92.1.10.el5"
    "2.6.18-92.1.13.el5"
    "2.6.18-92.1.18.el5"
    "2.6.18-92.1.22.el5"
    "2.6.18-92.1.24.el5"
    "2.6.18-92.1.26.el5"
    "2.6.18-92.1.27.el5"
    "2.6.18-92.1.28.el5"
    "2.6.18-92.1.29.el5"
    "2.6.18-92.1.32.el5"
    "2.6.18-92.1.35.el5"
    "2.6.18-92.1.38.el5"
    "2.6.18-128.el5"
    "2.6.18-128.1.1.el5"
    "2.6.18-128.1.6.el5"
    "2.6.18-128.1.10.el5"
    "2.6.18-128.1.14.el5"
    "2.6.18-128.1.16.el5"
    "2.6.18-128.2.1.el5"
    "2.6.18-128.4.1.el5"
    "2.6.18-128.4.1.el5"
    "2.6.18-128.7.1.el5"
    "2.6.18-128.8.1.el5"
    "2.6.18-128.11.1.el5"
    "2.6.18-128.12.1.el5"
    "2.6.18-128.14.1.el5"
    "2.6.18-128.16.1.el5"
    "2.6.18-128.17.1.el5"
    "2.6.18-128.18.1.el5"
    "2.6.18-128.23.1.el5"
    "2.6.18-128.23.2.el5"
    "2.6.18-128.25.1.el5"
    "2.6.18-128.26.1.el5"
    "2.6.18-128.27.1.el5"
    "2.6.18-128.29.1.el5"
    "2.6.18-128.30.1.el5"
    "2.6.18-128.31.1.el5"
    "2.6.18-128.32.1.el5"
    "2.6.18-128.35.1.el5"
    "2.6.18-128.36.1.el5"
    "2.6.18-128.37.1.el5"
    "2.6.18-128.38.1.el5"
    "2.6.18-128.39.1.el5"
    "2.6.18-128.40.1.el5"
    "2.6.18-128.41.1.el5"
    "2.6.18-164.el5"
    "2.6.18-164.2.1.el5"
    "2.6.18-164.6.1.el5"
    "2.6.18-164.9.1.el5"
    "2.6.18-164.10.1.el5"
    "2.6.18-164.11.1.el5"
    "2.6.18-164.15.1.el5"
    "2.6.18-164.17.1.el5"
    "2.6.18-164.19.1.el5"
    "2.6.18-164.21.1.el5"
    "2.6.18-164.25.1.el5"
    "2.6.18-164.25.2.el5"
    "2.6.18-164.28.1.el5"
    "2.6.18-164.30.1.el5"
    "2.6.18-164.32.1.el5"
    "2.6.18-164.34.1.el5"
    "2.6.18-164.36.1.el5"
    "2.6.18-164.37.1.el5"
    "2.6.18-164.38.1.el5"
    "2.6.18-194.el5"
    "2.6.18-194.3.1.el5"
    "2.6.18-194.8.1.el5"
    "2.6.18-194.11.1.el5"
    "2.6.18-194.11.3.el5"
    "2.6.18-194.11.4.el5"
    "2.6.18-194.17.1.el5"
    "2.6.18-194.17.4.el5"
    "2.6.18-194.26.1.el5"
    "2.6.18-194.32.1.el5"
    "2.6.18-238.el5"
    "2.6.18-238.1.1.el5"
    "2.6.18-238.5.1.el5"
    "2.6.18-238.9.1.el5"
    "2.6.18-238.12.1.el5"
    "2.6.18-238.19.1.el5"
    "2.6.18-238.21.1.el5"
    "2.6.18-238.27.1.el5"
    "2.6.18-238.28.1.el5"
    "2.6.18-238.31.1.el5"
    "2.6.18-238.33.1.el5"
    "2.6.18-238.35.1.el5"
    "2.6.18-238.37.1.el5"
    "2.6.18-238.39.1.el5"
    "2.6.18-238.40.1.el5"
    "2.6.18-238.44.1.el5"
    "2.6.18-238.45.1.el5"
    "2.6.18-238.47.1.el5"
    "2.6.18-238.48.1.el5"
    "2.6.18-238.49.1.el5"
    "2.6.18-238.50.1.el5"
    "2.6.18-238.51.1.el5"
    "2.6.18-238.52.1.el5"
    "2.6.18-238.53.1.el5"
    "2.6.18-238.54.1.el5"
    "2.6.18-238.55.1.el5"
    "2.6.18-238.56.1.el5"
    "2.6.18-274.el5"
    "2.6.18-274.3.1.el5"
    "2.6.18-274.7.1.el5"
    "2.6.18-274.12.1.el5"
    "2.6.18-274.17.1.el5"
    "2.6.18-274.18.1.el5"
    "2.6.18-308.el5"
    "2.6.18-308.1.1.el5"
    "2.6.18-308.4.1.el5"
    "2.6.18-308.8.1.el5"
    "2.6.18-308.8.2.el5"
    "2.6.18-308.11.1.el5"
    "2.6.18-308.13.1.el5"
    "2.6.18-308.16.1.el5"
    "2.6.18-308.20.1.el5"
    "2.6.18-308.24.1.el5"
    "2.6.18-348.el5"
    "2.6.18-348.1.1.el5"
    "2.6.18-348.2.1.el5"
    "2.6.18-348.3.1.el5"
    "2.6.18-348.4.1.el5"
    "2.6.18-348.6.1.el5"
    "2.6.18-348.12.1.el5"
    "2.6.18-348.16.1.el5"
    "2.6.18-348.18.1.el5"
    "2.6.18-348.19.1.el5"
    "2.6.18-348.21.1.el5"
    "2.6.18-348.22.1.el5"
    "2.6.18-348.23.1.el5"
    "2.6.18-348.25.1.el5"
    "2.6.18-348.27.1.el5"
    "2.6.18-348.28.1.el5"
    "2.6.18-348.29.1.el5"
    "2.6.18-348.30.1.el5"
    "2.6.18-348.31.2.el5"
    "2.6.18-371.el5"
    "2.6.18-371.1.2.el5"
    "2.6.18-371.3.1.el5"
    "2.6.18-371.4.1.el5"
    "2.6.18-371.6.1.el5"
    "2.6.18-371.8.1.el5"
    "2.6.18-371.9.1.el5"
    "2.6.18-371.11.1.el5"
    "2.6.18-371.12.1.el5"
    "2.6.18-398.el5"
    "2.6.18-400.el5"
    "2.6.18-400.1.1.el5"
    "2.6.18-402.el5"
    "2.6.18-404.el5"
    "2.6.18-406.el5"
    "2.6.18-407.el5"
    "2.6.18-408.el5"
    "2.6.18-409.el5"
    "2.6.18-410.el5"
    "2.6.18-411.el5"
    "2.6.18-412.el5"

    # RHEL6
    "2.6.32-71.7.1.el6"
    "2.6.32-71.14.1.el6"
    "2.6.32-71.18.1.el6"
    "2.6.32-71.18.2.el6"
    "2.6.32-71.24.1.el6"
    "2.6.32-71.29.1.el6"
    "2.6.32-71.31.1.el6"
    "2.6.32-71.34.1.el6"
    "2.6.32-71.35.1.el6"
    "2.6.32-71.36.1.el6"
    "2.6.32-71.37.1.el6"
    "2.6.32-71.38.1.el6"
    "2.6.32-71.39.1.el6"
    "2.6.32-71.40.1.el6"
    "2.6.32-131.0.15.el6"
    "2.6.32-131.2.1.el6"
    "2.6.32-131.4.1.el6"
    "2.6.32-131.6.1.el6"
    "2.6.32-131.12.1.el6"
    "2.6.32-131.17.1.el6"
    "2.6.32-131.21.1.el6"
    "2.6.32-131.22.1.el6"
    "2.6.32-131.25.1.el6"
    "2.6.32-131.26.1.el6"
    "2.6.32-131.28.1.el6"
    "2.6.32-131.29.1.el6"
    "2.6.32-131.30.1.el6"
    "2.6.32-131.30.2.el6"
    "2.6.32-131.33.1.el6"
    "2.6.32-131.35.1.el6"
    "2.6.32-131.36.1.el6"
    "2.6.32-131.37.1.el6"
    "2.6.32-131.38.1.el6"
    "2.6.32-131.39.1.el6"
    "2.6.32-220.el6"
    "2.6.32-220.2.1.el6"
    "2.6.32-220.4.1.el6"
    "2.6.32-220.4.2.el6"
    "2.6.32-220.4.7.bgq.el6"
    "2.6.32-220.7.1.el6"
    "2.6.32-220.7.3.p7ih.el6"
    "2.6.32-220.7.4.p7ih.el6"
    "2.6.32-220.7.6.p7ih.el6"
    "2.6.32-220.7.7.p7ih.el6"
    "2.6.32-220.13.1.el6"
    "2.6.32-220.17.1.el6"
    "2.6.32-220.23.1.el6"
    "2.6.32-220.24.1.el6"
    "2.6.32-220.25.1.el6"
    "2.6.32-220.26.1.el6"
    "2.6.32-220.28.1.el6"
    "2.6.32-220.30.1.el6"
    "2.6.32-220.31.1.el6"
    "2.6.32-220.32.1.el6"
    "2.6.32-220.34.1.el6"
    "2.6.32-220.34.2.el6"
    "2.6.32-220.38.1.el6"
    "2.6.32-220.39.1.el6"
    "2.6.32-220.41.1.el6"
    "2.6.32-220.42.1.el6"
    "2.6.32-220.45.1.el6"
    "2.6.32-220.46.1.el6"
    "2.6.32-220.48.1.el6"
    "2.6.32-220.51.1.el6"
    "2.6.32-220.52.1.el6"
    "2.6.32-220.53.1.el6"
    "2.6.32-220.54.1.el6"
    "2.6.32-220.55.1.el6"
    "2.6.32-220.56.1.el6"
    "2.6.32-220.57.1.el6"
    "2.6.32-220.58.1.el6"
    "2.6.32-220.60.2.el6"
    "2.6.32-220.62.1.el6"
    "2.6.32-220.63.2.el6"
    "2.6.32-220.64.1.el6"
    "2.6.32-220.65.1.el6"
    "2.6.32-220.66.1.el6"
    "2.6.32-220.67.1.el6"
    "2.6.32-279.el6"
    "2.6.32-279.1.1.el6"
    "2.6.32-279.2.1.el6"
    "2.6.32-279.5.1.el6"
    "2.6.32-279.5.2.el6"
    "2.6.32-279.9.1.el6"
    "2.6.32-279.11.1.el6"
    "2.6.32-279.14.1.bgq.el6"
    "2.6.32-279.14.1.el6"
    "2.6.32-279.19.1.el6"
    "2.6.32-279.22.1.el6"
    "2.6.32-279.23.1.el6"
    "2.6.32-279.25.1.el6"
    "2.6.32-279.25.2.el6"
    "2.6.32-279.31.1.el6"
    "2.6.32-279.33.1.el6"
    "2.6.32-279.34.1.el6"
    "2.6.32-279.37.2.el6"
    "2.6.32-279.39.1.el6"
    "2.6.32-279.41.1.el6"
    "2.6.32-279.42.1.el6"
    "2.6.32-279.43.1.el6"
    "2.6.32-279.43.2.el6"
    "2.6.32-279.46.1.el6"
    "2.6.32-358.el6"
    "2.6.32-358.0.1.el6"
    "2.6.32-358.2.1.el6"
    "2.6.32-358.6.1.el6"
    "2.6.32-358.6.2.el6"
    "2.6.32-358.6.3.p7ih.el6"
    "2.6.32-358.11.1.bgq.el6"
    "2.6.32-358.11.1.el6"
    "2.6.32-358.14.1.el6"
    "2.6.32-358.18.1.el6"
    "2.6.32-358.23.2.el6"
    "2.6.32-358.28.1.el6"
    "2.6.32-358.32.3.el6"
    "2.6.32-358.37.1.el6"
    "2.6.32-358.41.1.el6"
    "2.6.32-358.44.1.el6"
    "2.6.32-358.46.1.el6"
    "2.6.32-358.46.2.el6"
    "2.6.32-358.48.1.el6"
    "2.6.32-358.49.1.el6"
    "2.6.32-358.51.1.el6"
    "2.6.32-358.51.2.el6"
    "2.6.32-358.55.1.el6"
    "2.6.32-358.56.1.el6"
    "2.6.32-358.59.1.el6"
    "2.6.32-358.61.1.el6"
    "2.6.32-358.62.1.el6"
    "2.6.32-358.65.1.el6"
    "2.6.32-358.67.1.el6"
    "2.6.32-358.68.1.el6"
    "2.6.32-358.69.1.el6"
    "2.6.32-358.70.1.el6"
    "2.6.32-358.71.1.el6"
    "2.6.32-358.72.1.el6"
    "2.6.32-358.73.1.el6"
    "2.6.32-358.111.1.openstack.el6"
    "2.6.32-358.114.1.openstack.el6"
    "2.6.32-358.118.1.openstack.el6"
    "2.6.32-358.123.4.openstack.el6"
    "2.6.32-431.el6"
    "2.6.32-431.1.1.bgq.el6"
    "2.6.32-431.1.2.el6"
    "2.6.32-431.3.1.el6"
    "2.6.32-431.5.1.el6"
    "2.6.32-431.11.2.el6"
    "2.6.32-431.17.1.el6"
    "2.6.32-431.20.3.el6"
    "2.6.32-431.20.5.el6"
    "2.6.32-431.23.3.el6"
    "2.6.32-431.29.2.el6"
    "2.6.32-431.37.1.el6"
    "2.6.32-431.40.1.el6"
    "2.6.32-431.40.2.el6"
    "2.6.32-431.46.2.el6"
    "2.6.32-431.50.1.el6"
    "2.6.32-431.53.2.el6"
    "2.6.32-431.56.1.el6"
    "2.6.32-431.59.1.el6"
    "2.6.32-431.61.2.el6"
    "2.6.32-431.64.1.el6"
    "2.6.32-431.66.1.el6"
    "2.6.32-431.68.1.el6"
    "2.6.32-431.69.1.el6"
    "2.6.32-431.70.1.el6"
    "2.6.32-431.71.1.el6"
    "2.6.32-431.72.1.el6"
    "2.6.32-431.73.2.el6"
    "2.6.32-431.74.1.el6"
    "2.6.32-504.el6"
    "2.6.32-504.1.3.el6"
    "2.6.32-504.3.3.el6"
    "2.6.32-504.8.1.el6"
    "2.6.32-504.8.2.bgq.el6"
    "2.6.32-504.12.2.el6"
    "2.6.32-504.16.2.el6"
    "2.6.32-504.23.4.el6"
    "2.6.32-504.30.3.el6"
    "2.6.32-504.30.5.p7ih.el6"
    "2.6.32-504.33.2.el6"
    "2.6.32-504.36.1.el6"
    "2.6.32-504.38.1.el6"
    "2.6.32-504.40.1.el6"
    "2.6.32-504.43.1.el6"
    "2.6.32-504.46.1.el6"
    "2.6.32-504.49.1.el6"
    "2.6.32-504.50.1.el6"
    "2.6.32-504.51.1.el6"
    "2.6.32-504.52.1.el6"
    "2.6.32-573.el6"
    "2.6.32-573.1.1.el6"
    "2.6.32-573.3.1.el6"
    "2.6.32-573.4.2.bgq.el6"
    "2.6.32-573.7.1.el6"
    "2.6.32-573.8.1.el6"
    "2.6.32-573.12.1.el6"
    "2.6.32-573.18.1.el6"
    "2.6.32-573.22.1.el6"
    "2.6.32-573.26.1.el6"
    "2.6.32-573.30.1.el6"
    "2.6.32-573.32.1.el6"
    "2.6.32-573.34.1.el6"
    "2.6.32-642.el6"
    "2.6.32-642.1.1.el6"
    "2.6.32-642.3.1.el6"
    "2.6.32-642.4.2.el6"
    "2.6.32-642.6.1.el6"

    # RHEL7
    "3.10.0-123.el7"
    "3.10.0-123.1.2.el7"
    "3.10.0-123.4.2.el7"
    "3.10.0-123.4.4.el7"
    "3.10.0-123.6.3.el7"
    "3.10.0-123.8.1.el7"
    "3.10.0-123.9.2.el7"
    "3.10.0-123.9.3.el7"
    "3.10.0-123.13.1.el7"
    "3.10.0-123.13.2.el7"
    "3.10.0-123.20.1.el7"
    "3.10.0-229.el7"
    "3.10.0-229.1.2.el7"
    "3.10.0-229.4.2.el7"
    "3.10.0-229.7.2.el7"
    "3.10.0-229.11.1.el7"
    "3.10.0-229.14.1.el7"
    "3.10.0-229.20.1.el7"
    "3.10.0-229.24.2.el7"
    "3.10.0-229.26.2.el7"
    "3.10.0-229.28.1.el7"
    "3.10.0-229.30.1.el7"
    "3.10.0-229.34.1.el7"
    "3.10.0-229.38.1.el7"
    "3.10.0-229.40.1.el7"
    "3.10.0-229.42.1.el7"
    "3.10.0-327.el7"
    "3.10.0-327.3.1.el7"
    "3.10.0-327.4.4.el7"
    "3.10.0-327.4.5.el7"
    "3.10.0-327.10.1.el7"
    "3.10.0-327.13.1.el7"
    "3.10.0-327.18.2.el7"
    "3.10.0-327.22.2.el7"
    "3.10.0-327.28.2.el7"
    "3.10.0-327.28.3.el7"
    "3.10.0-327.36.1.el7"
    "3.10.0-327.36.2.el7"
    "3.10.0-229.1.2.ael7b"
    "3.10.0-229.4.2.ael7b"
    "3.10.0-229.7.2.ael7b"
    "3.10.0-229.11.1.ael7b"
    "3.10.0-229.14.1.ael7b"
    "3.10.0-229.20.1.ael7b"
    "3.10.0-229.24.2.ael7b"
    "3.10.0-229.26.2.ael7b"
    "3.10.0-229.28.1.ael7b"
    "3.10.0-229.30.1.ael7b"
    "3.10.0-229.34.1.ael7b"
    "3.10.0-229.38.1.ael7b"
    "3.10.0-229.40.1.ael7b"
    "3.10.0-229.42.1.ael7b"
    "4.2.0-0.21.el7"

    # RHEL5
    "2.6.24.7-74.el5rt"
    "2.6.24.7-81.el5rt"
    "2.6.24.7-93.el5rt"
    "2.6.24.7-101.el5rt"
    "2.6.24.7-108.el5rt"
    "2.6.24.7-111.el5rt"
    "2.6.24.7-117.el5rt"
    "2.6.24.7-126.el5rt"
    "2.6.24.7-132.el5rt"
    "2.6.24.7-137.el5rt"
    "2.6.24.7-139.el5rt"
    "2.6.24.7-146.el5rt"
    "2.6.24.7-149.el5rt"
    "2.6.24.7-161.el5rt"
    "2.6.24.7-169.el5rt"
    "2.6.33.7-rt29.45.el5rt"
    "2.6.33.7-rt29.47.el5rt"
    "2.6.33.7-rt29.55.el5rt"
    "2.6.33.9-rt31.64.el5rt"
    "2.6.33.9-rt31.67.el5rt"
    "2.6.33.9-rt31.86.el5rt"

    # RHEL6
    "2.6.33.9-rt31.66.el6rt"
    "2.6.33.9-rt31.74.el6rt"
    "2.6.33.9-rt31.75.el6rt"
    "2.6.33.9-rt31.79.el6rt"
    "3.0.9-rt26.45.el6rt"
    "3.0.9-rt26.46.el6rt"
    "3.0.18-rt34.53.el6rt"
    "3.0.25-rt44.57.el6rt"
    "3.0.30-rt50.62.el6rt"
    "3.0.36-rt57.66.el6rt"
    "3.2.23-rt37.56.el6rt"
    "3.2.33-rt50.66.el6rt"
    "3.6.11-rt28.20.el6rt"
    "3.6.11-rt30.25.el6rt"
    "3.6.11.2-rt33.39.el6rt"
    "3.6.11.5-rt37.55.el6rt"
    "3.8.13-rt14.20.el6rt"
    "3.8.13-rt14.25.el6rt"
    "3.8.13-rt27.33.el6rt"
    "3.8.13-rt27.34.el6rt"
    "3.8.13-rt27.40.el6rt"
    "3.10.0-229.rt56.144.el6rt"
    "3.10.0-229.rt56.147.el6rt"
    "3.10.0-229.rt56.149.el6rt"
    "3.10.0-229.rt56.151.el6rt"
    "3.10.0-229.rt56.153.el6rt"
    "3.10.0-229.rt56.158.el6rt"
    "3.10.0-229.rt56.161.el6rt"
    "3.10.0-229.rt56.162.el6rt"
    "3.10.0-327.rt56.170.el6rt"
    "3.10.0-327.rt56.171.el6rt"
    "3.10.0-327.rt56.176.el6rt"
    "3.10.0-327.rt56.183.el6rt"
    "3.10.0-327.rt56.190.el6rt"
    "3.10.0-327.rt56.194.el6rt"
    "3.10.0-327.rt56.195.el6rt"
    "3.10.0-327.rt56.197.el6rt"
    "3.10.33-rt32.33.el6rt"
    "3.10.33-rt32.34.el6rt"
    "3.10.33-rt32.43.el6rt"
    "3.10.33-rt32.45.el6rt"
    "3.10.33-rt32.51.el6rt"
    "3.10.33-rt32.52.el6rt"
    "3.10.58-rt62.58.el6rt"
    "3.10.58-rt62.60.el6rt"

    # RHEL7
    "3.10.0-229.rt56.141.el7"
    "3.10.0-229.1.2.rt56.141.2.el7_1"
    "3.10.0-229.4.2.rt56.141.6.el7_1"
    "3.10.0-229.7.2.rt56.141.6.el7_1"
    "3.10.0-229.11.1.rt56.141.11.el7_1"
    "3.10.0-229.14.1.rt56.141.13.el7_1"
    "3.10.0-229.20.1.rt56.141.14.el7_1"
    "3.10.0-229.rt56.141.el7"
    "3.10.0-327.rt56.204.el7"
    "3.10.0-327.4.5.rt56.206.el7_2"
    "3.10.0-327.10.1.rt56.211.el7_2"
    "3.10.0-327.13.1.rt56.216.el7_2"
    "3.10.0-327.18.2.rt56.223.el7_2"
    "3.10.0-327.22.2.rt56.230.el7_2"
    "3.10.0-327.28.2.rt56.234.el7_2"
    "3.10.0-327.28.3.rt56.235.el7"
    "3.10.0-327.36.1.rt56.237.el7"
)

progr_dev=(
      "which perl"
      "which gcc"
      "which g++"
      "which python"
      "which php"
      "which cc"
      "which go"
      "which node"
)


file_ex_password=(
      "*.php"
      "*.txt"
      "*.c"
      "*.db"
      "*.rb"
      "*.py"
      "*.html"
      "*.js"
      "*db*"
      "*.db"
      "*database*"
      "*password*"
      "wp-config.php"
      "configuration.php"
      "setting.php"
      "local.xml"
      "parameters.yml"
)
bash_his=(
    "password"
    "PASSWORD"
    "root"
    "sftp"
    "psql"
    "mysql"
    "rdesktop"
    "P"
    "ssh"
    "@"
)

priv_keys=(
    "~/.ssh/authorized_keys"
    "~/.ssh/identity.pub"
    "~/.ssh/identity"
    "~/.ssh/id_rsa.pub"
    "~/.ssh/id_rsa"
    "~/.ssh/id_dsa.pub"
    "~/.ssh/id_dsa"
    "/etc/ssh/ssh_host_dsa_key.pub"
    "/etc/ssh/ssh_host_dsa_key"
    "/etc/ssh/ssh_host_rsa_key.pub"
    "/etc/ssh/ssh_host_rsa_key"
    "/etc/ssh/ssh_host_key.pub"
    "/etc/ssh/ssh_host_key"
)
file_interss=(
    "/var/log"
    "/var/mail"
    "/var/spool"
    "/var/spool/lpd"
    "/var/lib/pgsql"
    "/var/lib/dhcp3/"
    "/var/log/postgresql/"
    "/var/log/proftpd/"
    "/var/log/samba/"
)
logs_files=(
    "/etc/httpd/logs/access_log"
    "/etc/httpd/logs/access.log"
    "/etc/httpd/logs/error_log"
    "/etc/httpd/logs/error.log"
    "/var/log/apache2/access_log"
    "/var/log/apache2/access.log"
    "/var/log/apache2/error_log"
    "/var/log/apache2/error.log"
    "/var/log/apache/access_log"
    "/var/log/apache/access.log"
    "/var/log/auth.log"
    "/var/log/chttp.log"
    "/var/log/cups/error_log"
    "/var/log/dpkg.log"
    "/var/log/faillog"
    "/var/log/httpd/access_log"
    "/var/log/httpd/access.log"
    "/var/log/httpd/error_log"
    "/var/log/httpd/error.log"
    "/var/log/lastlog"
    "/var/log/lighttpd/access.log"
    "/var/log/lighttpd/error.log"
    "/var/log/lighttpd/lighttpd.access.log"
    "/var/log/lighttpd/lighttpd.error.log"
    "/var/log/messages"
    "/var/log/secure"
    "/var/log/syslog"
    "/var/log/wtmp"
    "/var/log/xferlog"
    "/var/log/yum.log"
    "/var/run/utmp"
    "/var/webmin/miniserv.log"
    "/var/www/logs/access_log"
    "/var/www/logs/access.log"
)

system_info()
{
echo -e "\e[00;34m#########################################################\e[00m" 
echo -e "\e[00;34m#################### System Info ########################\\e[00m" 
echo -e "\e[00;34m#########################################################\e[00m" 
dddd=`uname -r 2>/dev/null`
if [ "$dddd" ]; then
  echo -e "\e[00;31mKernel :\e[00m $dddd"
  echo -e "\e[00;34m#########################################################\e[00m"  
else 
  :
fi
hostn=`uname -n 2>/dev/null`
if [ "$hostnamed" ]; then
  echo -e "\e[00;31mHostname:\e[00m $hostn" 
  echo -e "\e[00;34m#########################################################\e[00m" 
else 
  :
fi
arc=`uname -m 2>/dev/null`
if [ "$arc" ]; then
  echo -e "\e[00;31mLinux kernel architecture:\e[00m $arc" 
  echo -e "\e[00;34m#########################################################\e[00m" 
else 
  :
fi
shaee=`cat /etc/shells |grep "bin"|cut -d "/" -f3 2>/dev/null \n`
if [ "$shaee" ]; then
  echo -e "\e[00;31mShells On The System:\e[00m\n$shaee"
  echo -e "\e[00;34m#########################################################\e[00m" 
else 
  :
fi
unameinfo=`uname -a 2>/dev/null`
if [ "$unameinfo" ]; then
  echo -e "\e[00;31mFull Kernel information:\e[00m\n$unameinfo"
  echo -e "\e[00;34m#########################################################\e[00m" 
else 
  :
fi
des1=`cat /etc/redhat-release 2>/dev/null`
if [ "$des1" ]; then
  echo -e "\e[00;31mDistribution information:\e[00m\n$des1"
  echo -e "\e[00;34m#########################################################\e[00m" 
else 
  :
fi
des2=`cat /etc/lsb-release |grep "DISTRIB_DESCRIPTION"|cut -d "=" -f2 2>/dev/null`
if [ "$des2" ]; then
  echo -e "\e[00;31mDistribution information:\e[00m\n$des2"
  echo -e "\e[00;34m#########################################################\e[00m" 
else 
  :
fi
  echo -e "\e[00;31mMore About Kernel:\e[00m"
  printf "  GCC stack protector support:            "
  if $kconfig | grep -qi 'CONFIG_CC_STACKPROTECTOR=y'; then
    printf "\033[32mEnabled\033[m\n"
  else
    printf "\033[31mDisabled\033[m\n"
  fi

  printf "  Strict user copy checks:                "
  if $kconfig | grep -qi 'CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=y'; then
    printf "\033[32mEnabled\033[m\n"
  else
    printf "\033[31mDisabled\033[m\n"
  fi

  printf "  Enforce read-only kernel data:          "
  if $kconfig | grep -qi 'CONFIG_DEBUG_RODATA=y'; then
    printf "\033[32mEnabled\033[m\n"
  else
    printf "\033[31mDisabled\033[m\n"
  fi
  printf "  Restrict /dev/mem access:               "
  if $kconfig | grep -qi 'CONFIG_STRICT_DEVMEM=y'; then
    printf "\033[32mEnabled\033[m\n"
  else
    printf "\033[31mDisabled\033[m\n"
  fi

  printf "  Restrict /dev/kmem access:              "
  if $kconfig | grep -qi 'CONFIG_DEVKMEM=y'; then
    printf "\033[31mDisabled\033[m\n"
  else
    printf "\033[32mEnabled\033[m\n"
  fi
  echo -e "\e[00;34m#########################################################\e[00m" 
  echo -e "\e[00;31mProgramming Langage in the system:\e[00m" 
  for programmin_lang in "${progr_dev[@]}"; do
        pss=`$programmin_lang |cut -d"/" -f4`
        if [ "$pss" ]; then
            echo -e "$pss"
        fi
  done
  echo -e "\e[00;34m#########################################################\e[00m" 
  envinfo=`env 2>/dev/null | grep -v 'LS_COLORS' 2>/dev/null`
  if [ "$envinfo" ]; then
    echo -e "\e[00;31mEnvironment information:\e[00m" 
    echo -e "\e[00;34m#########################################################\e[00m" 
    echo "$envinfo" > Reports/Environment.txt
    echo -e "Check Environment.txt" 
  else 
    :
  fi
  echo -e "\e[00;34m#########################################################\e[00m" 
  echo -e "\e[00;31mPath information:\e[00m" 
  echo "$PATH" > Reports/Path.txt
  echo -e "Check PATH.txt" 
}

checkCow()
{
      echo -e "\e[00;34m#########################################################\e[00m" 
    for tested_kernel in "${VULNERABLE_VERSIONS[@]}"; do
        if [[ "$dddd" == *"$tested_kernel"* ]]; then
            vulnerable_kernel=${dddd}
            break
        fi
    done
        echo -e "\e[00;31mChecking DirtyCoW Exploit :\e[00m" 

    if [[ "$vulnerable_kernel" ]]; then
        echo -e "MoW You Are Need A Cow !! "
    else
        echo -e "No Cow Here !"
    fi

}

passwords_gar(){
                      echo -e "\e[00;34m#########################################################\e[00m" 
                      echo -e "\e[00;31m################# Passwords Lookup ######################\e[00m" 
                      echo -e "\e[00;34m#########################################################\e[00m" 
                      echo -e "\e[00;34m#########################################################\e[00m" 
                      
umaskdef=`grep -i "^UMASK" /etc/login.defs 2>/dev/null`
logindefs=`grep "^PASS_MAX_DAYS\|^PASS_MIN_DAYS\|^PASS_WARN_AGE\|^ENCRYPT_METHOD" /etc/login.defs 2>/dev/null`
lolzz=`grep -r -E -l -i -s 'pass=|pwd=|log=|login=|user=|username=|pw=|passw=|passwd=|password=|pass:|user:|username:|password:|login:|pass |user ' /etc/ > passwordfiles.txt 2>/dev/null`
    for passwordfile in "${file_ex_password[@]}"; do
      ss=`find . -name "$passwordfile" -print0 2>/dev/null | xargs -0 grep -i -n "password" > Reports/passwords.txt 2>/dev/null`
    done
    for bash_command in "${bash_his[@]}"; do
      findinhis=`cat ~/.bash_history |grep --text "$bash_command" 2>/dev/null |sort -u `
      findoth1=`cat ~/.nano_history 2>/dev/null |grep --text "$bash_command" 2>/dev/null |sort -u `
      findoth2="`cat ~/.mysql_history 2>/dev/null |grep --text "$bash_command" 2>/dev/null |sort -u `"
      findoth3=`cat ~/.php_history 2>/dev/null |grep --text "$bash_command" 2>/dev/null |sort -u `
      if [ "$findinhis" ] || [ "$findoth1" ] || [ "$findoth2" ] || [ "$findoth3" ]; then

        echo -e "\e[00;31mIntersting Info !:\e[00m \n $findinhis $findoth1 $findoth2 $findoth3 $findoth4"
                      echo -e "\e[00;34m#########################################################\e[00m" 

      fi
    done
if [ "$umaskdef" ]; then
  echo -e "\e[00;31mumask value as specified in /etc/login.defs:\e[00m\n$umaskdef" 
fi
if [ "$logindefs" ]; then
echo -e "\e[00;34m#########################################################\e[00m" 

  echo -e "\e[00;31mPassword and storage information:\e[00m\n$logindefs" 
fi
                      echo -e "\e[00;34m#########################################################\e[00m" 

echo -e "\e[00;31mPossible Passwords in Files:\e[00m" 
echo -e "Check Passwords.txt File For Possible Scripts Have A Passwords"
                      echo -e "\e[00;34m#########################################################\e[00m" 

echo -e "\e[00;31mFiles Maybe Cabiton Passwords (configs):\e[00m" 
echo -e "Check passwordfiles.txt"
                      echo -e "\e[00;34m#########################################################\e[00m" 

}
check_ssh(){
  permitrootlogin=`grep "^PermitRootLogin" /etc/ssh/sshd_config 2>/dev/null`
  if [[ $permitrootlogin == "PermitRootLogin no" ]] || [[ $permitrootlogin == "PermitRootLogin prohibit-password" ]] ; then 
echo -e "\e[00;31m There No SSH With Root :( \e[00m" 
                      echo -e "\e[00;34m#########################################################\e[00m" 

  else
echo -e "\e[00;31m There Are SSH With Root :) \e[00m" 
                      echo -e "\e[00;34m#########################################################\e[00m" 

  fi
}

files_inter(){
  root_dir=`ls -ahlR /root/ 2>/dev/null`
  home_dir=`ls -ahlR /home/ 2>/dev/null`
  for priv_key in "${priv_keys[@]}"; do
    ss=`cat "$priv_key" 2>/dev/null`
    if [[ "$ss" ]]; then
        echo -e "\e[00;31m We Found Some RSA Keys :) \e[00m"
        echo -e "\e[00;31m $priv_key \e[00m"
      echo -e " $ss "
                      echo -e "\e[00;34m#########################################################\e[00m" 
    fi
  done
  if [[ "$root_dir" ]]; then
        echo -e "Root Directory Is Readple"
  fi
  if [[ "$home_dir" ]]; then
      echo -e "$home_dir" > Reports/Home_Dir.txt
  fi
    for interfile in "${file_interss[@]}"; do
      inter_check=`ls -alh "$interfile" 2>/dev/null`
      if [[ "$inter_check" ]]; then
          echo "$interfile" > Reports/Var_Directory.txt
      fi
    done

      echo -e "Root Directory Discovering .."
                            echo -e "\e[00;34m#########################################################\e[00m" 

      echo -e "Home Directory Discovering .."
      echo -e "Check Home_Dir.txt"
                            echo -e "\e[00;34m#########################################################\e[00m" 

      echo -e "Discovering Var Directory ..."
      echo -e "Check Var_Directory.txt"

    for var_log in "${logs_files[@]}"; do
      var_logs=`cat "$var_log" 2>/dev/null`
      if [[ "$var_logs" ]]; then
          echo "$var_logs" > Reports/logs_var.txt
      fi
    done
                          echo -e "\e[00;34m#########################################################\e[00m" 

              echo -e "Discovering Logs  ..."
              echo -e "Check Logs_var.txt"

}

users_group(){


echo -e "\e[00;34m#################### Users Info #########################\e[00m" 
echo -e "\e[00;34m#########################################################\e[00m" 
echo -e "\e[00;34m#########################################################\e[00m" 
    usr_name=`cat /etc/passwd | cut -d ":" -f 1 2>/dev/null`
    usr_uid=`cat /etc/passwd | cut -d ":" -f 3 2>/dev/null`
    usr_gid=`cat /etc/passwd | cut -d ":" -f 4 2>/dev/null`
    root_users=`grep -v -E "^#" /etc/passwd 2>/dev/null| awk -F: '$3 == 0 { print $1}' 2>/dev/null`
    if [[ "$usr_name" ]]; then
    echo -e "\e[00;31m Users List \e[00m" 
    echo -e "$usr_name"
    echo -e "\e[00;34m#########################################################\e[00m" 
    fi
    if [[ "$usr_uid" ]]; then
    echo -e "\e[00;31m UID List \e[00m" 
    echo -e "$usr_uid"
    echo -e "\e[00;34m#########################################################\e[00m" 
    fi
    if [[ "$usr_gid" ]]; then
    echo -e "\e[00;31m GID List \e[00m" 
    echo -e "$usr_gid"
    echo -e "\e[00;34m#########################################################\e[00m" 
    fi
    if [[ "$root_users" ]]; then
    echo -e "\e[00;31m Root List \e[00m" 
    echo -e "$root_users"
    echo -e "\e[00;34m#########################################################\e[00m" 
    fi
}

job_info()
{
alljobs=`ls -la /etc/cron* 2>/dev/null`
yourcorn=`crontab -l -u `whoami` 2>/dev/null`
cornprm=`find /etc/cron* -perm -0002 -type f -exec ls -la {} \; -exec cat {} 2>/dev/null \;`
contabscontent=`cat /etc/crontab 2>/dev/null`
tolookup=`ls -la /var/spool/cron/crontabs 2>/dev/null`
usersforcon=`cut -d ":" -f 1 /etc/passwd | xargs -n1 crontab -l -u 2>/dev/null`
checkothercorn=`ls -aRl /etc/cron* | awk '$1 ~ /w.$/' 2>/dev/null`

    if [[ "$alljobs" ]]; then
    echo -e "\e[00;31m Cron Jobs List \e[00m" 
    echo -e "$alljobs"
    echo -e "\e[00;34m#########################################################\e[00m" 
    fi
    if [[ "$yourcorn" ]]; then
    echo -e "\e[00;31m Own Crontab List \e[00m" 
    echo -e "$yourcorn"
    echo -e "\e[00;34m#########################################################\e[00m" 
    fi
    if [[ "$cornprm" ]]; then
    echo -e "\e[00;31m Cron Promotions \e[00m" 
    echo -e "$cornprm"
    echo -e "\e[00;34m#########################################################\e[00m" 
    fi
    if [[ "$contabscontent" ]]; then
    echo -e "\e[00;31m Cron Jobs Content \e[00m" 
    echo -e "$contabscontent"
    echo -e "\e[00;34m#########################################################\e[00m" 
    fi
    if [[ "$tolookup" ]]; then
    echo -e "\e[00;31m Spool Cron \e[00m" 
    echo -e "$tolookup"
    echo -e "\e[00;34m#########################################################\e[00m" 
    fi
    if [[ "$usersforcon" ]]; then
    echo -e "\e[00;31m Cron Users List \e[00m" 
    echo -e "$usersforcon"
    echo -e "\e[00;34m#########################################################\e[00m" 
    fi
    if [[ "$checkothercorn" ]]; then
    echo -e "\e[00;31m Cron Writable Cron \e[00m" 
    echo -e "$checkothercorn"
    echo -e "\e[00;34m#########################################################\e[00m" 
    fi
}

network_info(){
echo -e "\e[00;34m#################### Network Info #######################\e[00m" 
echo -e "\e[00;34m#########################################################\e[00m" 
echo -e "\e[00;34m#########################################################\e[00m" 
machine_ip=`ifconfig |grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b"|sed -n 1p 2>/dev/null`
arpips=`arp -a |grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b" 2>/dev/null`
getwwayip=`grep "nameserver" /etc/resolv.conf | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b" 2>/dev/null`
tcpconnectinos=`netstat -an |grep tcp 2>/dev/null`

if [[ "$machine_ip" ]]; then
    echo -e "Internal IP : \n$machine_ip"
    echo -e "\e[00;34m#########################################################\e[00m" 

fi
if [[ "$arpips" ]]; then
    echo -e "ARP IPs :\n$arpips"
    echo -e "\e[00;34m#########################################################\e[00m" 
fi
if [[ "$getwwayip" ]]; then
    echo -e " Getway IPs : $getwwayip"
    echo -e "\e[00;34m#########################################################\e[00m" 
fi
if [[ "$tcpconnectinos" ]]; then
    echo -e "TCP Connections : \n$tcpconnectinos"
    echo -e "\e[00;34m#########################################################\e[00m" 
fi
}

all_f(){
header
system_info 
checkCow 
passwords_gar 
check_ssh  
files_inter
network_info
users_group
job_info
}

all_f
close fullscreen
Login or Register to edit or fork this paste. It's free.