Category: Linux

Penetration Testing

A while back I was tasked with some penetration testing. I plan to put a collection of what I did here. I use Kali Linux for my testing. nmap Here is an example of a command to scan for any open ports on network 192.168.1.0 nmap...

Read More

How to test SMTP communication

Here is a good website to test and make sure your DNS records are set correctly: https://mxtoolbox.com/ A good way to test an email server on windows is to install telnet then connect to the mail server you want to test telnet...

Read More

Firewalld and iptables

On CentOS 7 it looks like firewalld creates iptables rules even though iptables does not seem to be installed. the iptables command works however the service is not installed when trying systemctl status iptables the result says...

Read More

Linux Commands

To find the file size of a folder cd to the folder you want then run this command: du -h It will go through each folder and file showing the size then at the end it will have a total To Delete a folder and all files inside...

Read More

Check Hard Drive Health

On Windows I open CMD and type chkdsk /r Then restart For linux: To check logs and health sudo smartctl -a /dev/sda To do a short scan: sudo smartctl -t short /dev/sda To view the results: sudo smartctl -l selftest /dev/sda I...

Read More
Loading

Categories

Recent Posts