Ethical Hacking Tutorials, Tips and Tricks

Linux Operating System Enumeration

When I decide to write down this tips and trick Linux Operating System Enumeration, actually there’s many thought about this since the enumeration is a huge area so it’s almost impossible also to cover everything in this article. The article below is just a basic guide for you to know about Linux Operating System enumeration. Not every command will work in this article since Linux distribution also varies so much.

Why we need to know about this Operating System enumeration? It will be useful as one little step when you want to do privilege escalation.

What is the distribution type?

cat /etc/issue
cat /etc/*-release
cat /etc/lsb-release
cat /etc/redhat-release

What is the kernel version? 32-bit or 64-bit?

cat /proc/version
uname -a
uname -mrs
rpm -q kernel
dmesg | grep Linux
ls /boot | grep vmlinuz-

Find out the printer is it available or not.

lpstat -a

Learn from the environmental variable

cat /etc/profile
cat /etc/bashrc
cat ~/.bash_profile
cat ~/.bashrc
cat ~/.bash_logout
env
set

Just that for now the simple tips and trick Linux Operating System Enumeration, I will continue the next enumeration tips and trick about finding out the communications and networking in Linux system.

hope it useful 🙂

Exit mobile version