2.0.6
This commit is contained in:
parent
bc11a2736d
commit
e95fecd54e
18
linpeas.sh
18
linpeas.sh
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
VERSION="v2.0.5"
|
VERSION="v2.0.6"
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
#---------------) Colors (----------------#
|
#---------------) Colors (----------------#
|
||||||
@ -223,7 +223,7 @@ echo ""
|
|||||||
#-----------) Some Basic Info (-----------#
|
#-----------) Some Basic Info (-----------#
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
printf $B"================================( "$GREEN"Basic information"$B" )================================\n"$NC
|
printf $B"====================================( "$GREEN"Basic information"$B" )=====================================\n"$NC
|
||||||
printf $LG"OS: "$NC
|
printf $LG"OS: "$NC
|
||||||
(cat /proc/version || uname -a ) 2>/dev/null | sed "s,$kernelDCW_Ubuntu_Precise_1,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Ubuntu_Precise_2,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Ubuntu_Trusty_1,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Ubuntu_Trusty_2,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Ubuntu_Xenial,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Rhel5,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Rhel6_1,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Rhel6_2,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Rhel7,${C}[1;31;103m&${C}[0m," | sed "s,$kernelB,${C}[1;31m&${C}[0m,"
|
(cat /proc/version || uname -a ) 2>/dev/null | sed "s,$kernelDCW_Ubuntu_Precise_1,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Ubuntu_Precise_2,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Ubuntu_Trusty_1,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Ubuntu_Trusty_2,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Ubuntu_Xenial,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Rhel5,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Rhel6_1,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Rhel6_2,${C}[1;31;103m&${C}[0m," | sed "s,$kernelDCW_Rhel7,${C}[1;31;103m&${C}[0m," | sed "s,$kernelB,${C}[1;31m&${C}[0m,"
|
||||||
printf $LG"User & Groups: "$NC
|
printf $LG"User & Groups: "$NC
|
||||||
@ -239,7 +239,7 @@ echo ""
|
|||||||
###########################################
|
###########################################
|
||||||
#-------------) System Info (-------------#
|
#-------------) System Info (-------------#
|
||||||
###########################################
|
###########################################
|
||||||
printf $B"================================( "$GREEN"System Information"$B" )================================\n"$NC
|
printf $B"====================================( "$GREEN"System Information"$B" )====================================\n"$NC
|
||||||
|
|
||||||
#-- 1SY) OS
|
#-- 1SY) OS
|
||||||
printf $Y"[+] "$GREEN"Operative system\n"$NC
|
printf $Y"[+] "$GREEN"Operative system\n"$NC
|
||||||
@ -309,7 +309,7 @@ echo ""
|
|||||||
###########################################
|
###########################################
|
||||||
#---------------) Devices (---------------#
|
#---------------) Devices (---------------#
|
||||||
###########################################
|
###########################################
|
||||||
printf $B"================================( "$GREEN"Devices"$B" )================================\n"$NC
|
printf $B"=========================================( "$GREEN"Devices"$B" )==========================================\n"$NC
|
||||||
|
|
||||||
#-- 1D) sd in /dev
|
#-- 1D) sd in /dev
|
||||||
printf $Y"[+] "$GREEN"Any sd* disk in /dev? (limit 20)\n"$NC
|
printf $Y"[+] "$GREEN"Any sd* disk in /dev? (limit 20)\n"$NC
|
||||||
@ -327,7 +327,7 @@ echo ""
|
|||||||
###########################################
|
###########################################
|
||||||
#---------) Available Software (----------#
|
#---------) Available Software (----------#
|
||||||
###########################################
|
###########################################
|
||||||
printf $B"================================( "$GREEN"Available Software"$B" )================================\n"$NC
|
printf $B"====================================( "$GREEN"Available Software"$B" )====================================\n"$NC
|
||||||
|
|
||||||
#-- 1AS) Useful software
|
#-- 1AS) Useful software
|
||||||
printf $Y"[+] "$GREEN"Useful software?\n"$NC
|
printf $Y"[+] "$GREEN"Useful software?\n"$NC
|
||||||
@ -385,7 +385,7 @@ echo ""
|
|||||||
###########################################
|
###########################################
|
||||||
#---------) Network Information (---------#
|
#---------) Network Information (---------#
|
||||||
###########################################
|
###########################################
|
||||||
printf $B"================================( "$GREEN"Network Information"$B" )================================\n"$NC
|
printf $B"===================================( "$GREEN"Network Information"$B" )====================================\n"$NC
|
||||||
|
|
||||||
#-- 1NI) Hostname, hosts and DNS
|
#-- 1NI) Hostname, hosts and DNS
|
||||||
printf $Y"[+] "$GREEN"Hostname, hosts and DNS\n"$NC
|
printf $Y"[+] "$GREEN"Hostname, hosts and DNS\n"$NC
|
||||||
@ -431,7 +431,7 @@ echo ""
|
|||||||
###########################################
|
###########################################
|
||||||
#----------) Users Information (----------#
|
#----------) Users Information (----------#
|
||||||
###########################################
|
###########################################
|
||||||
printf $B"================================( "$GREEN"Users Information"$B" )================================\n"$NC
|
printf $B"====================================( "$GREEN"Users Information"$B" )=====================================\n"$NC
|
||||||
|
|
||||||
#-- 1UI) My user
|
#-- 1UI) My user
|
||||||
printf $Y"[+] "$GREEN"My user\n"$NC
|
printf $Y"[+] "$GREEN"My user\n"$NC
|
||||||
@ -510,7 +510,7 @@ echo ""
|
|||||||
###########################################
|
###########################################
|
||||||
#--------) Software Information (---------#
|
#--------) Software Information (---------#
|
||||||
###########################################
|
###########################################
|
||||||
printf $B"================================( "$GREEN"Software Information"$B" )================================\n"$NC
|
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
|
||||||
@ -884,7 +884,7 @@ echo ""
|
|||||||
###########################################
|
###########################################
|
||||||
#----------) Interesting files (----------#
|
#----------) Interesting files (----------#
|
||||||
###########################################
|
###########################################
|
||||||
printf $B"================================( "$GREEN"Interesting Files"$B" )================================\n"$NC
|
printf $B"====================================( "$GREEN"Interesting Files"$B" )=====================================\n"$NC
|
||||||
|
|
||||||
##-- 1IF) SUID
|
##-- 1IF) SUID
|
||||||
printf $Y"[+] "$GREEN"SUID\n"$NC
|
printf $Y"[+] "$GREEN"SUID\n"$NC
|
||||||
|
Loading…
Reference in New Issue
Block a user