Install only what you need. Keep your server lean. Install only those packages that you really need. If there are unwanted packages; purge. The fewer the packages the less chance of unpatched code. Run only what you need. This output will show you which services are running on which ports: netstat -npl You should also […]
In case you ever wondered what some obscurely named Linux commands stand for, like awk, grep, etc., click here.
In Windows: Go to Control Panel > Network and Internet > Network and Sharing Center > (on the left bar) Change Adapter Settings Right-Click the adapter you want to configure and choose Properties Double-Click Internet Protocel Version4 (TCP/IPv4) You can set your DNS servers’ address on the bottom half. In Linux: Edit the file: /etc/resolv.conf […]
Answer: /var/log The following are the 20 different log files that are located under /var/log/ directory. Some of these log files are distribution specific. For example, you’ll see dpkg.log on Debian based systems (for example, on Ubuntu). /var/log/messages – Contains global system messages, including the messages that are logged during system startup. There are several […]
Hat tip to g0tmi1k for authoring one of the best basic Linux privilege escalation compilations ever. Operating System What’s the distribution type? What version? 1 2 3 4 cat /etc/issue cat /etc/*-release cat /etc/lsb-release # Debian based cat /etc/redhat-release # Redhat based What’s the kernel version? Is it 64-bit? 1 2 3 4 5 6 […]