Category: Open Source + Macbooks

19 Aug 2025 Cyber 👁 8 views

NMAP Vulnerability Scan Script With Formatted Report on macOS

If you want to quickly health check your website, then the following script is a simple NMAP script that scans your site for common issues and formats the results in a nice report style. Here’s a comprehensive guide on how to fix each type of directory permission issue that the above script might find (for […]

Read more →
15 Aug 2025 Macbooks 👁 15 views

Monitor Top Disk Reads and Writes on macOS Script

The script below tracks disk usage of a macbook for 20 seconds and the shows the processes with the highest disk utilisations Example output:

Read more →
14 Aug 2025 Macbooks 👁 41 views

macOS: Find Which Process Is Using a Specific Port

Below is a useful script when you want to see which processes are using a specific port.

Read more →
16 Mar 2024 Macbooks 👁 27 views

Mac Routing Table: Redirect Website Traffic to en0

This was a hard article to figure out the title for! Put simply, your mac book has a route table and if you want to move a specific IP address or dns from one interface to another, then follow the steps below: First find the IP address of the website that you want to re-route […]

Read more →
26 Oct 2023 Macbooks 👁 50 views

Enable Touch ID for sudo on macOS That Survives Updates

Each day that I wake up I try and figure out if I can do less work than yesterday. With this in mind I was playing around to see if there is a way to save me typing my password each time I SUDO. It turns out this is quite a simple change… Open Terminal […]

Read more →
10 Oct 2023 Macbooks 👁 8 views

Mac Screenshot Format: Change PNG to JPEG, GIF or PDF

There are a few things that I tweak when I get a new Macbook, one of which is the screenshot format (mainly because it doesnt natively render in Whatsapp). So I thought I would share the code snippet that you can run in Terminal to alter the default image type of your screenshots: For JPEG […]

Read more →
28 Aug 2023 AWS Cloud 👁 18 views

AWS CLI Setup on Mac: Install and Configure in Minutes

You can absolutely get the following from the AWS help pages; but this is the lazy way to get everything you need for a simple single account setup. Run the two commands below to drop the package on your Mac. Then check the versions you have installed: Next you need to setup your environment. Note: […]

Read more →
26 Jun 2023 Macbooks 👁 7 views

gping Over Zero Trust Networks on macOS: Interface Guide

Once you start using a zero trust network, the first causality is normally the Ping command. The gping (Graphical Ping) command line displays a color coded realtime graph of continuous pings to a specified host and it supports specifying alternate interfaces/gateways. First lets find which interface to use. The “arp -a” command isĀ used to display […]

Read more →
30 May 2023 Macbooks 👁 18 views

Mac OS X: Find Which Network Interface Routes Traffic

If you have multiple connections on your device (and maybe you have a zero trust client installed); how do you find out which network interface on your device will be used to route the traffic? Below is a route get request for googles DNS service: If you have multiple interfaces enabled, then the first item […]

Read more →
24 May 2023 Internet 👁 193 views

How to Find and Set the Optimal MTU on Mac/macOS

If you have just changed ISPs or moved house and your internet suddenly starts misbehaving the likelihood is your Maximum Transmission Unit (MTU) is set too high for your ISP. The default internet facing MTU is 1500 bytes, BUT depending on your setup, this often needs to be set much lower. Step 1: First check […]

Read more →
14569