Category: Open Source + Macbooks

02 Oct 2025 Artificial Intelligence 👁 130 views

Mac Wireshark MCP Setup for Claude Desktop: Full Guide

If you’re like me, the idea of doing anything twice will make you break out in a cold shiver. For my Claude desktop, I often need network pcap (packet capture) to unpack something that I am doing. So the script below installs wireshark, and then the wireshark mcp and then configures Claude to use it. […]

Read more →
28 Sep 2025 Macbooks 👁 69 views

MacBook Battery Drain: Script to Find Top Processes

If you’re trying to figure out whats draining your macbook, even when the lid is closed – then try the script below (call with “sudo ./battery_drain_analyzer.sh”): If you see windowServer as your top consumer then consider the following: Finer grained optimisations: To optimise the power when the lid is closed, below are some options:

Read more →
22 Sep 2025 Cyber 👁 169 views

hping3 Penetration Testing on macOS: 10 Techniques

⚠️ LEGAL DISCLAIMER AND TERMS OF USE **READ THIS CAREFULLY BEFORE PROCEEDING** Legal Requirements: **AUTHORIZATION REQUIRED**: You MUST have explicit written permission from the system owner before running any of these tests **ILLEGAL WITHOUT PERMISSION**: Unauthorized network scanning, port scanning, or DoS testing is illegal in most jurisdictions **YOUR RESPONSIBILITY**: You are solely responsible for […]

Read more →
20 Aug 2025 Macbooks 👁 28 views

macOS: Find Processes Using a Specific Remote Port

I find this script useful for debugging which processes are talking to which remote port. Example Usuage:

Read more →
19 Aug 2025 Cyber 👁 19 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 👁 19 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 👁 94 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 👁 56 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 👁 78 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 👁 18 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 →
14569