Ethical Hacking Midterm – Fall 2018 (Mission College)

I am currently taking an Ethical Hacking course at Mission College (CIT016), taught by Micky Pandit. For our mid-term project, we had to create videos on a product and showcase how to install, configure and use it. Upon learning how easy it is to find vulnerabilities and pwn devices, our paranoia got dialed up to … Read more Ethical Hacking Midterm – Fall 2018 (Mission College)

Windows Subsystem for Linux – Ubuntu GUI with xfce

I’ve finally moved on from my Macbook Pro, late 2013 model and onto a Dell XPS13. I have a work-issued MBP with the touch-bar gimmick and absolutely dislike the keyboard. I decided to dual boot the device with Ubuntu 18.04 but what to do so many workarounds due to the NVMe disk in my XPS13 … Read more Windows Subsystem for Linux – Ubuntu GUI with xfce

HTML5 GUI management for KVM hosts

I came across this cool HTML5-based management interface for KVM hosts. Its called kimchi-project (https://github.com/kimchi-project/kimchi/). In this guide, i’ll show you how to install it on an Ubuntu 16.04 host and manage your guest VMs. Pre-installation steps If you haven’t installed quemu, go ahead and do that now. sudo apt-get update && sudo apt-get upgrade -y … Read more HTML5 GUI management for KVM hosts

verify dhcpd.conf for syntax errors

In CentOS you can check to see if your dhcpd.conf file has any syntax errors before you restart DHCP and it fails to come up. You’ll need to run a command called dhcpd and point it to your configuration file like this: [root@dhcp-server ~]# dhcpd -t -cf /etc/dhcp/dhcpd.conf   If you run into any syntax … Read more verify dhcpd.conf for syntax errors

PI-HOLE: Adblocking for home

I’ve came across a yet another easy and cool home project that is intended for Rapsberry Pis, but can run on any flavor of Linux (Requirements here). Its called Pi-Hole and you can set it up in 5 minutes or less. Website: https://pi-hole.net/ The idea is simple: it blocks all add traffic in your network … Read more PI-HOLE: Adblocking for home

Ubuntu ZFS Samba share

In my previous posts regarding setting up ZFS on Ubuntu 16.04, I had referred to Aaron Toponce’s website on doing additional configuration to ZFS such as sharing via NFS or SMB. In the portion for SMB here: https://pthree.org/2012/12/31/zfs-administration-part-xv-iscsi-nfs-and-samba/, it seems that there is a couple more things to do. After running zfs set sharesmb=on pool/srv  and zfs share … Read more Ubuntu ZFS Samba share

ZFS on Ubuntu Linux

This guide discusses how to setup ZFS on Ubuntu 14.04.3 LTS, based from Aaron Toponce’s guide. Environment settings: Operating System: Ubuntu 14.04 LTS Setting up your host: Installation of the ZFS repository # sudo add-apt-repository ppa:zfs-native/stable   Installation of ZFS dependencies # apt-get install spl-dkms   Installation of Ubuntu ZFS # apt-get install -y ubuntu-zfs … Read more ZFS on Ubuntu Linux

Script to monitor disk space usage

Here is a quick and easy script that you can add to your crontab to monitor disk space consumption. Once you hit 85% disk utilization, you automatically send an email to yourself # cat space-monitor.sh #!/bin/bash #This script runs nightly to check disk space usage ADMIN=”macky@supermaru.com” df -h | grep -vE ‘^Filesystem|tmpfs|cdrom’ | awk ‘{print … Read more Script to monitor disk space usage

hot-add CPU and memory to Ubuntu guest in VMware

Virtualization has made our lives easier. We can spin up new resources for applications, dynamically add more disk space, migrate them, etc. In vSphere, we can dynamically add additional memory and vCPU to a guest VM without any downtime (assuming its been enabled prior to powering on). Now in Ubuntu 12.04, I had two production … Read more hot-add CPU and memory to Ubuntu guest in VMware