New to Linux and Systems Administration? Read the Linux and Systems Administration article
Whether you're learning PowerShell or managing enterprise environments, this book is a practical reference for Windows PowerShell 5.1 and PowerShell 7+. It covers core concepts, scripting, automation and administration with clear examples based on official Microsoft documentation.
Most offensive-security books hand you a framework and a flag. This one hands you a terminal prompt and a target. Apex Foundry is a precision-manufacturing company that builds industrial control interfaces, runs a customer-facing web application backed by Postgres, operates an Active Directory domain for its corporate workforce, and recently bolted an AI assistant onto its support portal. It also happens to be running entirely inside your homelab — Docker containers, a virtual AD forest, and a vulnerable web stack you control end to end. Your job is to break it. Your constraint is that every tool you use must be one you wrote yourself, in Bash. Over thirteen chapters you will work through a single, continuous penetration test — from passive reconnaissance through data exfiltration and final reporting. Each chapter adds a link to the attack chain: you will build port scanners with `/dev/tcp`, web crawlers with `curl`, SQL-injection extractors with pipes and string manipulation, a prompt-injection fuzzer with `jq`, a cron-persisted reverse-shell implant, Kerberoasting wrappers, a covert DNS exfiltration channel with `dig`, and a report generator that pulls every finding into a finished deliverable. Every tool is a script you can paste into any Linux terminal with zero dependencies beyond a standard installation. Along the way you will capture twenty flags (format: `APEX{...}`) and document twenty-two findings, building a portfolio that doubles as a real-world pentest report. Why Bash?Python dominates offensive tooling for good reason — it is powerful, readable, and everywhere. Rust compiles to fast, dependency-free binaries. But Bash offers something neither can: - It is already on the target. Every Linux host, every container, every cloud instance ships with a POSIX shell. There is nothing to install, nothing to upload, nothing to compile. Your tool is the terminal.- No forensic footprint. A Bash script leaves no binary on disk, no interpreter to flag, no package manager log. When you pipe commands through a reverse shell, the tool exists only in memory and in process lists.- Living off the land. `curl`, `dig`, `awk`, `grep`, `find`, `openssl`, `base64`, `xxd`, `sqlite3` — standard utilities that defenders expect to see in log files. Using them for offense is indistinguishable from normal administration.- Instant iteration. No compile step, no dependency resolution, no virtual environment. Edit, run, observe. The feedback loop is measured in keystrokes.- Universal skill transfer. Every sysadmin writes Bash. Learning to weaponize it teaches you to defend against the same techniques — because the attacker at the keyboard looks exactly like the admin. This book does not replace your Python toolkit or your compiled Rust binaries. It extends your capabilities into the space where those tools cannot go — the compromised host where you have a shell and nothing else.
What if your backups have been lying to you? A script can copy to a missing drive every night and still report success. This cookbook teaches you to write a bash backup script that refuses loudly the moment anything goes wrong — so the first night it fails is the night you find out.
Take control of your storage with FreeCORE: The Complete Guide. From your first installation to advanced ZFS management, network shares, security, backups and performance tuning, this practical guide shows you how to build, manage and troubleshoot a reliable NAS with confidence, whether you are running a home lab or a production environment.
Most Bash scripts start small but end up running critical systems. This book shows you how to write shell scripts that are portable, secure, and reliable across Linux distributions. From fundamental scripting techniques to production-ready patterns, you will learn how to build automation that handles errors gracefully, avoids common pitfalls and remains easy to maintain as it grows.
Learn Bash the way it should be taught: by building one real, tested backup tool — not toy examples — one Git commit at a time.