Install VMTools for Ubuntu or Debian using Bash Scripts

If you are looking to install VMware VMTools on multiple Ubuntu or Debian Linux servers and don’t feel like typing commands all day then you can run this bash script to install it automatically so long as you are willing to accept all defaults. 1. Mount VMtools 2. Create script folder 3. Create scripting file… Read more »

Stop SSH from Listening on IPv6

By default, SSH listens on both IPv4 and IPv6, if you don’t connect using IPv6 then you can disable it entirely from listening. Example: Edit your SSH config file /etc/ssh/sshd_config Uncomment out the following line: Restart SSH daemon Rerun netstat to check it isn’t listening Should you have any questions, comments or suggestions, please don’t… Read more »

Scheduling Cron Job’s in Linux

Linux Crontab Format Field Description Allowed Value MIN Minute field 0 to 59 HOUR Hour field 0 to 23 DOM Day of Month 1 to 31 MON Month field 1 to 12 DOW Day of Week 0 to 6 CMD Command Any command or full script path Crontab Commands List Crontab Edit Crontab Edit other… Read more »

Building a FTP Server

  1. Install ProFTPd 2. Edit proftpd configuration file Change the following lines to the following: Change “servername” to the server name of the ftp server and “/mnt” to the ftp root location. 3. Add user Change “username” to a username you wish to use. If you are exposing this server to the internet then… Read more »

ZyNOS (ROM-0) Exploit

ZyNOS is the proprietary operating system used on network devices made by the ZyXEL Communications Corporation, ZyXEL Communications Corporation first introduced ZyNOS in 1998. A vulnerability exists with ZyNOS based routers (ZyXel, Netgear and TP-Link and maybe others) that can allow an attacker to download the rom-0 file and reverse engineer to retrieve the local admin… Read more »