This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
""" | |
Simple tool to extract local users and passwords from most Huawei routers/firewalls config files. | |
Will extract plain-text passwords and crypted credentials. Huawei config files use DES encryption with | |
a known key. Using this information, the script will decrypt credentials found in the config file. | |
Author: Etienne Stalmans ([email protected]) | |
Version: 1.0 (12/01/2014) | |
""" | |
from Crypto.Cipher import DES |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
wetty: | |
image: wettyoss/wetty | |
container_name: wetty | |
restart: unless-stopped | |
ports: | |
- "3000:3000" | |
command: | |
- --base=/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The problem: by default not available kernel sources for compile AmneziaWG kernel module. | |
# So the amnezia instalation is broken by default because of DKMS module can not be built/configured. | |
# Usually this is not needed on the host, but my use case is WG installation as client | |
# Prepare for installation as written here (https://github.com/amnezia-vpn/amneziawg-linux-kernel-module): | |
apt-get install pve-headers | |
apt install -y software-properties-common python3-launchpadlib gnupg2 linux-headers-$(uname -r) | |
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 57290828 | |
echo "deb https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu focal main" | sudo tee -a /etc/apt/sources.list | |
echo "deb-src https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu focal main" | sudo tee -a /etc/apt/sources.list |

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -x | |
# Place the manage.sh, awg (or wg), awg-quick (or wg-quick), amneziawg.ko (or wireguard.ko) and your wg0.conf somewhere to filesystem on Synology | |
# Use start/stop for manage as regular process or installsvc/uninstallsvc/startsvc/stopsvc to manage as systemd service | |
WG="awg" | |
WGQUICK="awg-quick" | |
KMOD="amneziawg.ko" |
OlderNewer