Blog

Macbooks 17 Nov 2025 👁 6 views

iPhone to MacBook Photo Transfer Script: Complete Guide

Annoying Apple never quite got around to making it easy to offload images from your iPhone to your Macbook. So below is a complete guide to automatically download photos and videos from your iPhone to your MacBook, with options to filter by pattern and date, and organize into folders by creation date. Prerequisites Install the […]

Read more →
AWS Cloud 17 Nov 2025 👁 94 views

PostgreSQL Vacuum Optimization for Large Tables: Deep Dive

When managing large PostgreSQL tables with frequent updates, vacuum operations become critical for maintaining database health and performance. In this comprehensive guide, we’ll explore vacuum optimization techniques, dive deep into the pg_repack extension, and provide hands-on examples you can run in your own environment. 1. Understanding the Problem PostgreSQL uses Multi-Version Concurrency Control (MVCC) to […]

Read more →
Networking 12 Nov 2025 👁 65 views

Monitor LDAP Queries on Domain Controller: PowerShell Guide

The script below monitors LDAP operations on a Domain Controller and logs detailed information about queries that exceed specified thresholds for execution time, CPU usage, or results returned. It helps identify problematic LDAP queries that may be impacting domain controller performance. Parameter: ThresholdSeconds Minimum query duration in seconds to log (default: 5) Parameter: LogPath Path […]

Read more →
AWS Cloud 06 Nov 2025 👁 111 views

AWS NLB Sticky Sessions: Setup, Behavior & Pitfalls

When you deploy applications behind a Network Load Balancer (NLB) in AWS, you usually expect perfect traffic distribution, fast, fair, and stateless.But what if your backend holds stateful sessions, like in-memory login sessions, caching, or WebSocket connections and you need a given client to keep hitting the same target every time? That’s where NLB sticky […]

Read more →
Cyber 20 Oct 2025 👁 12 views

macOS Passive Domain Vulnerability Scanner: Full Guide

Below is a fairly comprehensive passive penetration testing script with vulnerability scanning, API testing, and detailed reporting. Features Installation Required Dependencies Optional Dependencies Usage Basic Syntax Options Examples: Network Configuration Default Interface: en0 (bypasses Zscaler) To change the interface, edit line 24: The script automatically falls back to default routing if the interface is unavailable. Debug Mode […]

Read more →
Macbooks 28 Sep 2025 👁 53 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 →
Cyber 22 Sep 2025 👁 84 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 →
Cyber 16 Sep 2025 👁 21 views

SYN Flood Testing With hping3: Parallel Processes Guide

A SYN flood test using hping3 that allows you to specify the number of SYN packets to send and scales horizontally with a specific number of processes can be created using a Bash script with the xargs command. This approach allows you to distribute the workload across multiple processes for better performance. The Script This […]

Read more →
113141522