A repository for showing examples of sysadmin types tasks.
NOTE: This repo has switched to conventional commits. It requires pre-commit
and commitizen
to help with controlling this.
# install pre-commmit (prerequisite for commitizen)
brew install pre-commit
brew install commitizen
# conventional commits extension
code --install-extension vivaxy.vscode-conventional-commits
# install hooks
pre-commit install --hook-type commit-msg --hook-type pre-push
- Sysadmin Examples and Demos
- Conventional Commits
- Contents
- Prequisites
- 01 - Configure a simple sambashare
- 02 - Configure a simple NFS share
- 03 - User management
- 04 - Apt Management
- 05 - Filesystems
- 06 - Mounts
- 07 - Tcpdumping coredns
- 08 - SSH
- 09 - CVE Processing
- 10 - File permissions
- 11 - NMap Network Scanning
- 12 - Endpoint Vulnerability Scanning
- 13 - Code Server
- 14 - Interrogate Resources
- 15 - GPG Signing
- 16 - QEMU
- 17 - Juypter
- 18 - SOPS
- 19 - LetsEncrypt
- 20 - strace
- 22 - websockets reverse proxy
- 23 - mitmproxy
- 24 - ngrok
- 25 - zfs
- 26 - systemd
- 27 - opsgenie
- 28 - shodan
- 29 - ipv6
- 31 - packet capture
- 32 - firewalls
- 33 - fuse
- 34 - WSL
- 35 - processing logs
- 36 - caddy
- 37 - wifi
- Vagrant is a useful tool
My vagrant_machines repo.
Demonstrates how to create a simple sambashare
Steps README.md
Create a basic NFS share and demonstrate client connectivity.
Steps README.md
Demonstrates how to perform some user management tasks.
Steps README.md
Demonstrates how to management various tasks with Apt
Steps README.md
Demonstrates how to work with filesystems
Steps README.md
Demonstrates how to mount filesystems
Steps README.md
Capture DNS requests in tcpdump from pods to pods.
Steps README.md
Demonstrates how to configure and use ssh
Steps README.md
Demonstrates a script that will take a list of CVE and get the descriptions
Steps README.md
Demonstrates some examples of using file permissions
Steps README.md
Demonstrate some network discovery examples
Steps README.md
Demonstrate how to use metasploit
and nmap
to scan for vulnerabilities.
Steps METASPLOIT.md
Steps NMAP.md
Demonstrates how to get a VS Code Server running on machine so an IPad can connect to it.
Steps README.md
Demonstrate how to use various commands to verify resource usage in the OS.
Steps README.md
Signing verified commits with gpg
Steps README.md
Demonstrate how to get aarch64 machine running on qemu (ubuntu)
Steps README.md
Demonstrate how to get a juypter server running
Steps README.md
Demonstrate how to use Mozilla SOPS.
Steps README.md
Demonstrate using letsencrypt
to generate a certificate
Steps README.md
Demonstrate some strace
basics
Steps README.md
Demonstrate and test websockets reverse proxy
Steps README.md
Demonstrate how to use mitmproxy
Steps README.md
Demonstrate how to use ngrok
to host a service and make it publically available.
Steps README.md
Demonstrate some zfs
examples
Steps README.md
Demonstrates some examples with systemd
Steps README.md
Demonstrate opsgenie
cli management commands.
Steps README.md
Demonstrate a basic example of using shodan
Steps README.md
Some notes on working with IPv6.
Steps README.md
Demonstrate how to perform packet capture using tcpdump
, tshark
and wireshark
.
Steps README.md
Firewall examples for different platforms.
Steps README.md
Demonstrate some examples of using FUSE.
Steps README.md
Demonstrate WSL features and how to work with it.
Steps README.md
Demonstrate how to use tooling to better work with logs.
Steps README.md
Demonstrate some simple examples using caddy
Steps README.md
Demonstrate how to get USB wifi driver on Ubuntu 22.04.3 LTS.
Steps README.md