Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
Developing cool stuff !

Cyrinux cyrinux

💻
Developing cool stuff !
View GitHub Profile
@cyrinux
cyrinux / nixos-encrypted-zfs.sh
Created Nov 27, 2020 — forked from dysinger/nixos-encrypted-zfs.sh
How I installed Encrypted ZFS root on NixOS
View nixos-encrypted-zfs.sh
#!/bin/sh
# FIRST STOP THE zfs-zed SERVICE
systemctl stop zfs-zed
# FORCE UNLOAD ZFS KERNEL MODULES
lsmod | grep zfs | cut -d' ' -f1 | xargs rmmod -f
# NOW ADD THE FOLLOWING TO /etc/nixos/configuration.nix
#
@cyrinux
cyrinux / SSH_Authentication_TPM2_PKCS11_Arch_Linux.md
Created Nov 26, 2020 — forked from p7cq/SSH_Authentication_TPM2_PKCS11_Arch_Linux.md
SSH Authentication with TPM 2.0 and PKCS#11 on Arch Linux
View SSH_Authentication_TPM2_PKCS11_Arch_Linux.md

SSH Authentication with TPM 2.0 and PKCS#11 on Arch Linux

Hardware: a TPM 2.0 module based on Infineon SLB9665 cryptographic processor available in the system as /dev/tpmrm0.

Installation

Required software:

# pacman -S tpm2-tools tpm2-pkcs11
@cyrinux
cyrinux / Arch_Linux_Root_On_ZFS.md
Created Nov 26, 2020 — forked from p7cq/Arch_Linux_Root_On_ZFS.md
Install Arch Linux with Root on ZFS
View Arch_Linux_Root_On_ZFS.md

Arch Linux Root on ZFS

Installation steps for running Arch Linux with root on ZFS using UEFI and systemd-boot. All steps are run as root.

In live environment

  • Set a bigger font if needed:
setfont latarcyrheb-sun32
@cyrinux
cyrinux / HowTo
Created Sep 21, 2020 — forked from s3rj1k/HowTo
Ubuntu 20.04.1 AutoInstall
View HowTo
# Docs:
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/ConfigReference
- https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html
- https://discourse.ubuntu.com/t/please-test-autoinstalls-for-20-04/15250/53
# Download ISO Installer:
wget https://ubuntu.volia.net/ubuntu-releases/20.04.1/ubuntu-20.04.1-live-server-amd64.iso
# Create ISO distribution dirrectory:
@cyrinux
cyrinux / openvas-automate.sh
Created Mar 3, 2019 — forked from ion-storm/openvas-automate.sh
OpenVAS automation script.
View openvas-automate.sh
#!/bin/bash
#
# OpenVAS automation script.
# Mariusz B. / mgeeky, '17
# v0.2
#
trap ctrl_c INT
# --- CONFIGURATION ---
@cyrinux
cyrinux / offsec.md
Created Dec 3, 2018 — forked from jivoi/offsec.md
Penetrating Testing/Assessment Workflow
View offsec.md

Penetrating Testing/Assessment Workflow & other fun infosec stuff

https://github.com/jivoi/pentest

My feeble attempt to organize (in a somewhat logical fashion) the vast amount of information, tools, resources, tip and tricks surrounding penetration testing, vulnerability assessment, and information security as a whole*

@cyrinux
cyrinux / audit.rules
Created Sep 10, 2018 — forked from Neo23x0/audit.rules
Linux Auditd Best Practice Configuration
View audit.rules
# ___ ___ __ __
# / | __ ______/ (_) /_____/ /
# / /| |/ / / / __ / / __/ __ /
# / ___ / /_/ / /_/ / / /_/ /_/ /
# /_/ |_\__,_/\__,_/_/\__/\__,_/
#
# Linux Audit Daemon - Best Practice Configuration
# /etc/audit/audit.rules
#
# Compiled by Florian Roth
@cyrinux
cyrinux / myweechat.md
Created Mar 29, 2018 — forked from pascalpoitras/myweechat.md
My always up-to-date WeeChat configuration (weechat-dev)
View myweechat.md

WeeChat Screenshot

Enable mouse support

/mouse enable

Encrypted password in sec.conf

View gist:53cf25ec28bc34aab354bba498a771f1
### Keybase proof
I hereby claim:
* I am cyrinux on github.
* I am cyrinux (https://keybase.io/cyrinux) on keybase.
* I have a public key whose fingerprint is 4F7B C1FD 9717 0A79 2676 86A6 FC9B 1319 7266 57D3
To claim this, I am signing this object: