Skip to content

chrisguest75/sysadmin_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sysadmin Examples and Demos

Conventional Commits pre-commit

A repository for showing examples of sysadmin types tasks.

Conventional Commits

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

Contents

Prequisites

  • Vagrant is a useful tool

My vagrant_machines repo.

01 - Configure a simple sambashare

Demonstrates how to create a simple sambashare
Steps README.md

02 - Configure a simple NFS share

Create a basic NFS share and demonstrate client connectivity.
Steps README.md

03 - User management

Demonstrates how to perform some user management tasks.
Steps README.md

04 - Apt Management

Demonstrates how to management various tasks with Apt
Steps README.md

05 - Filesystems

Demonstrates how to work with filesystems
Steps README.md

06 - Mounts

Demonstrates how to mount filesystems
Steps README.md

07 - Tcpdumping coredns

Capture DNS requests in tcpdump from pods to pods.
Steps README.md

08 - SSH

Demonstrates how to configure and use ssh
Steps README.md

09 - CVE Processing

Demonstrates a script that will take a list of CVE and get the descriptions
Steps README.md

10 - File permissions

Demonstrates some examples of using file permissions
Steps README.md

11 - NMap Network Scanning

Demonstrate some network discovery examples
Steps README.md

12 - Endpoint Vulnerability Scanning

Demonstrate how to use metasploit and nmap to scan for vulnerabilities.
Steps METASPLOIT.md
Steps NMAP.md

13 - Code Server

Demonstrates how to get a VS Code Server running on machine so an IPad can connect to it.
Steps README.md

14 - Interrogate Resources

Demonstrate how to use various commands to verify resource usage in the OS.
Steps README.md

15 - GPG Signing

Signing verified commits with gpg
Steps README.md

16 - QEMU

Demonstrate how to get aarch64 machine running on qemu (ubuntu)
Steps README.md

17 - Juypter

Demonstrate how to get a juypter server running
Steps README.md

18 - SOPS

Demonstrate how to use Mozilla SOPS.
Steps README.md

19 - LetsEncrypt

Demonstrate using letsencrypt to generate a certificate
Steps README.md

20 - strace

Demonstrate some strace basics
Steps README.md

22 - websockets reverse proxy

Demonstrate and test websockets reverse proxy
Steps README.md

23 - mitmproxy

Demonstrate how to use mitmproxy
Steps README.md

24 - ngrok

Demonstrate how to use ngrok to host a service and make it publically available.
Steps README.md

25 - zfs

Demonstrate some zfs examples
Steps README.md

26 - systemd

Demonstrates some examples with systemd
Steps README.md

27 - opsgenie

Demonstrate opsgenie cli management commands.
Steps README.md

28 - shodan

Demonstrate a basic example of using shodan
Steps README.md

29 - ipv6

Some notes on working with IPv6.
Steps README.md

31 - packet capture

Demonstrate how to perform packet capture using tcpdump, tshark and wireshark.
Steps README.md

32 - firewalls

Firewall examples for different platforms.
Steps README.md

33 - fuse

Demonstrate some examples of using FUSE.
Steps README.md

34 - WSL

Demonstrate WSL features and how to work with it.
Steps README.md

35 - processing logs

Demonstrate how to use tooling to better work with logs.
Steps README.md

36 - caddy

Demonstrate some simple examples using caddy
Steps README.md

37 - wifi

Demonstrate how to get USB wifi driver on Ubuntu 22.04.3 LTS.
Steps README.md