Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion LinEnum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,12 @@ fi
user_info()
{
echo -e "\e[00;33m### USER/GROUP ##########################################\e[00m"

#Can the current user execute anything with elevated privilege
privilege=`sudo -l`
if [ "$privilege" ]; then
echo -e "\e[00;31m[-] Sudo Privilege Escalation:\e[00m\n$privilege"
echo -e "\n"
fi
#current user details
currusr=`id 2>/dev/null`
if [ "$currusr" ]; then
Expand Down