The open catalogue of code.
Plain explanations, scripts you can copy, and the GitHub repos worth knowing. Every entry has a number, and anyone can edit it.
Catalogue
- 0455 Which security tool does what? A map for beginners A beginner's map of open source security tool families: vulnerability scanners, secret detection, static analysis, host audits, web application testing, network inventory… Beginner · Explains an idea · Any system Article Security resources & detection · Server hardening 15 Oct 2026
- 0454 Scan your own code and containers in CI: Gitleaks, Semgrep and Trivy Set up a GitHub Actions workflow that runs Gitleaks, Semgrep and Trivy on every push of your own project, learn what each… Intermediate · Step by step · Any system Article Pipelines, runners & hooks · Security testing & CTF 15 Oct 2026
- 0453 step-ca: run your own certificate authority for internal TLS and SSH step-ca from Smallstep is an open source certificate authority that issues TLS and SSH certificates for your own infrastructure, with ACME support… Linux, macOS, Windows Repo Linux administration · TLS & certificates 15 Oct 2026
- 0452 age: a small, modern tool for encrypting files age is a simple file encryption tool and Go library with short public keys, SSH key support and no configuration options, designed… Linux, macOS, Windows Repo Secrets & access 15 Oct 2026
- 0451 awesome-security-hardening: a curated list of hardening guides, benchmarks and tools A maintained awesome list of security hardening guides, checklists, benchmarks and tools for operating systems, services, containers and cloud platforms, kept current… Any system Repo Security resources & detection · Server hardening 15 Oct 2026
- 0450 OWASP Cheat Sheet Series: concise guides to building applications securely The OWASP Cheat Sheet Series is a set of short, topic-focused guides on secure development, from authentication and session management to input… Any system Repo Security resources & detection 15 Oct 2026
- 0449 Nmap: the network mapper for inventorying your own network Nmap is the long-standing open source tool for discovering hosts, open ports, services and operating systems on a network you administer, used… Linux, macOS, Windows Repo DNS, IP addresses & ports · Security testing & CTF 15 Oct 2026
- 0448 OWASP ZAP: a web application security scanner for testing your own applications Zed Attack Proxy (ZAP) is a free web application security scanner and intercepting proxy maintained under the OWASP umbrella, used to find… Linux, macOS, Windows Repo Security testing & CTF 15 Oct 2026
- 0447 Lynis: a security audit of a Linux or Unix host with hardening suggestions Lynis is a shell script that inspects a Linux, BSD or macOS system you administer, tests hundreds of settings and services, and… Linux, macOS Repo Linux administration · Server hardening 15 Oct 2026
- 0446 Semgrep: static analysis with rules you can read Semgrep is a fast static analysis tool whose rules look like the code they match, with a community registry of thousands of… Linux, macOS Repo Pipelines, runners & hooks · Security testing & CTF 15 Oct 2026
- 0445 Gitleaks: find secrets that were committed to a Git repository Gitleaks scans Git history, working trees and arbitrary files for passwords, API keys, tokens and private keys using a library of patterns,… Linux, macOS, Windows Repo Pipelines, runners & hooks · Secrets & access 15 Oct 2026
- 0444 Trivy: scan container images, file systems and infrastructure code for known problems Trivy is an open source scanner from Aqua Security that finds known vulnerabilities, misconfigurations and exposed secrets in container images, project directories,… Linux, macOS, Windows Repo Images & registries · Security testing & CTF 15 Oct 2026
- 0443 Security monitoring explained: IDS, SIEM, EDR and where the logs go A plain language map of the security monitoring tool families, what each one watches, how they feed one another, and where the… Beginner · Explains an idea · Any system Article Detection & threat hunting · Logs 15 Oct 2026
- 0442 Security Onion: a Linux distribution for security monitoring Security Onion packages Suricata, Zeek, the Elastic stack, host agents and investigation tools into one installable Linux platform, so a team can… Linux Repo Detection & threat hunting · Logs 15 Oct 2026
- 0441 Atomic Red Team: small tests that check whether your detections fire Atomic Red Team is a library of tiny, documented tests, each reproducing one attacker technique from MITRE ATT&CK, that defenders run in… Linux, macOS, Windows Repo Detection & threat hunting · Server hardening 15 Oct 2026
- 0440 pySigma: the Python library that converts Sigma rules into queries pySigma parses Sigma detection rules and, with backend plugins, converts them into native queries for Splunk, Elastic, Loki, Sentinel and other log… Any system Repo Detection & threat hunting · Logs 15 Oct 2026
- 0439 osquery: query your endpoints like a SQL database osquery exposes the state of a Linux, macOS or Windows machine as SQL tables, so you can ask which processes are listening,… Linux, macOS, Windows Repo Detection & threat hunting · Prometheus & Grafana 15 Oct 2026
- 0438 Falco: runtime security for Linux and Kubernetes Falco watches system calls on Linux hosts and in containers and raises an alert when a process does something a rule flags… Linux Repo Concepts · Detection & threat hunting 15 Oct 2026
- 0437 Zeek: network security monitoring that turns traffic into logs Zeek, formerly Bro, watches network traffic and writes structured logs of every connection, DNS query, HTTP request and certificate it sees. Analysts… Linux, macOS Repo Detection & threat hunting · Logs 15 Oct 2026
- 0433 What is an awesome list? Awesome lists are hand-curated link collections on GitHub, one per subject, that follow a shared convention. How they work, how to tell… Beginner · Explains an idea · Any system Article Security resources & detection 15 Oct 2026
- 0432 Try Sigma rules against your own logs Install the sigma-cli converter, take a rule from the public SigmaHQ library, convert it into a query for a log tool you… Intermediate · Step by step · Linux, macOS Article Logs · Security resources & detection 15 Oct 2026
- 0431 What is a detection rule? Sigma explained for beginners A detection rule describes one kind of suspicious activity in logs. Sigma is the shared, tool-independent way to write such rules, so… Beginner · Explains an idea · Any system Article Alerting & dashboards · Security resources & detection 15 Oct 2026
- 0425 jq cheat script: pretty-print, filter and flatten JSON from a file or stdin A small read-only bash wrapper around jq with the recipes you keep looking up: pretty, compact, sorted keys, list paths, pick fields,… Beginner · Cheat sheet · Linux, macOS Script jq & JSON on the command line · Modern command-line tools · Text processing 15 Oct 2026
- 0424 Cron-safe wrapper: lock, log and report failures for any scheduled command Wrap any cron or timer job so it never runs twice at once, writes a timestamped log, keeps the exit code and… Intermediate · Step by step · Linux Script cron & timers · Shell scripting 15 Oct 2026
- 0423 Fix: bad interpreter or command not found after a script is copied from Windows (CRLF) A script edited on Windows carries invisible carriage returns, so Linux looks for /bin/bash^M. How to spot CRLF line endings, convert them… Beginner · Fixes an error · Linux, macOS, Windows Article Basics · Shell scripting 15 Oct 2026
- 0422 Dotfiles: keep your shell setup in git Put .bashrc, .zshrc, .gitconfig and your editor settings into a git repository so a new machine is set up in minutes: a… Intermediate · Step by step · Linux, macOS Article Modern command-line tools · Setup 15 Oct 2026
- 0421 grep, sed, awk and jq: the four text tools you will use every week A working reference for the four commands that handle most text on the command line: grep finds lines, sed edits them, awk… Intermediate · Cheat sheet · Linux, macOS Article jq & JSON on the command line · Modern command-line tools · Text processing 15 Oct 2026
- 0420 cron and systemd timers: run something every night Schedule a script with crontab or a systemd timer: the five cron fields, environment and PATH pitfalls, logging, catching up missed runs… Beginner · Step by step · Linux Article cron & timers · Services & systemd 15 Oct 2026
- 0419 Quoting and word splitting in bash: why “$var” and arrays save you Single quotes, double quotes, no quotes and arrays: how bash splits words and expands globs, and the small set of habits that… Intermediate · Explains an idea · Linux, macOS Article Basics · Shell scripting 15 Oct 2026
- 0418 Bash scripting fundamentals: variables, conditions, loops, functions The core building blocks of a bash script: variables and quoting, if and test, for and while loops, functions, exit codes and… Beginner · Explains an idea · Linux, macOS Article Basics · Shell scripting 15 Oct 2026
- 0415 Check a site’s TLS expiry and security headers from the terminal A bash script that connects to a domain, prints the certificate's issuer and expiry with days remaining, and reports which recommended security… Intermediate · Step by step · Linux, macOS Script Making requests · Web servers & reverse proxies 15 Oct 2026
- 0414 HTTP headers you should set on every site The response headers that make a site safer and faster: HSTS, Content-Security-Policy, X-Content-Type-Options, frame protection, Referrer-Policy, Permissions-Policy and Cache-Control, with Nginx and… Intermediate · Cheat sheet · Any system Article Making requests · Web servers & reverse proxies 15 Oct 2026
- 0413 Fix: 502 Bad Gateway from Nginx Nginx is running but could not get a valid response from your application. Read the error log, check that the app is… Intermediate · Fixes an error · Linux Article Web servers & reverse proxies 15 Oct 2026
- 0412 Deploy a static site: from folder to a URL Take a folder of HTML, CSS and JavaScript and publish it at your own domain with HTTPS on a small Linux server… Beginner · Guided project · Linux, macOS Article Deploying sites · Web servers & reverse proxies 15 Oct 2026
- 0411 CORS explained, and how to fix the browser error The browser blocks a request from one origin to another unless the server allows it with Access-Control headers. Fix it in the… Intermediate · Step by step · Any system, Browser Article Making requests · Web servers & reverse proxies 15 Oct 2026
- 0405 Export the list of installed programs to CSV with PowerShell Reads the Windows uninstall registry keys and writes name, version, publisher and install date of every installed program to a CSV file.… Beginner · Step by step · Windows Script PowerShell · Windows administration 15 Oct 2026
- 0404 Find the largest folders on a drive with PowerShell Lists the biggest top-level folders under a path, with file counts and sizes in GB, so you can see where the disk… Beginner · Step by step · Linux, macOS, Windows Script PowerShell · Windows administration 15 Oct 2026
- 0367 verify-latest-backup: alert when the newest dump is too old or too small A read-only bash check that finds the newest file in a backup directory, compares its age and size against limits, optionally tests… Beginner · Step by step · Linux Script Backups & syncing · Strategy & restore drills 15 Oct 2026
- 0366 restic backup wrapper with tagging, retention and a weekly check A bash wrapper that runs restic backup on a fixed list of paths, applies a keep-daily/weekly/monthly policy with forget and prune, runs… Intermediate · Step by step · Linux, macOS Script Backup tools · Backups & syncing 15 Oct 2026
- 0358 SSH server audit script: print risky sshd settings A read-only bash script that asks sshd for its effective configuration, compares the important settings with safe values, flags config.d files that… Intermediate · Cheat sheet · Linux Script Server hardening · SSH 15 Oct 2026
- 0348 DNS check script: compare answers from several resolvers A bash script that looks up one or more names against your system resolver and three public resolvers, shows each answer with… Beginner · Cheat sheet · Linux, macOS Script DNS, IP addresses & ports 15 Oct 2026
- 0347 Port check script: test a list of host:port pairs with timeouts A bash script that tries a TCP connection to each host:port you give it, waits a few seconds at most, and reports… Beginner · Cheat sheet · Linux, macOS Script DNS, IP addresses & ports · Firewalls 15 Oct 2026
- 0336 Back up and restore a Docker named volume to a tar archive A bash script that copies the contents of a named Docker volume into a .tar.gz on the host, and restores an archive… Intermediate · Step by step · Linux, macOS Script Backup tools · Docker basics 15 Oct 2026
- 0335 Docker cleanup script with dry run and confirmation A bash wrapper around docker system prune that shows disk usage and lists what would be removed, supports a dry-run flag, and… Beginner · Step by step · Linux, macOS Script Docker basics · Shell scripting 15 Oct 2026
- 0237 Use Redis as a cache: TTLs, maxmemory and an eviction health report Set a memory limit and an eviction policy so Redis behaves like a cache, give keys TTLs, then run a bash report… Intermediate · Step by step · Linux, macOS Script Administration & persistence · Basics 15 Oct 2026
- 0234 Nightly mongodump backup with rotation A bash script for cron that writes a compressed mongodump archive each night, keeps the password out of the process list, checks… Intermediate · Step by step · Linux Script Administration · Database operations 15 Oct 2026
- 0224 RMAN backup basics: ARCHIVELOG mode, a nightly backup script and restore Enable ARCHIVELOG mode, set an RMAN retention policy, run a nightly full backup with archived logs from cron, and learn the restore… Advanced · Step by step · Linux Script Administration · Backup with RMAN 15 Oct 2026
- 0223 Oracle users, roles and tablespaces: setup script and usage report (SQL) A SQL*Plus/SQLcl script that creates a tablespace, a role and an application user inside a PDB, then reports tablespace usage from the… Intermediate · Step by step · Any system Script Administration · Security & access 15 Oct 2026
Found a mistake? Know a better script?
Make an account and suggest an edit on any entry. A trusted editor checks it before it goes live, and after a few accepted edits you can publish directly. The history keeps every earlier version.