Skip to content

Instantly share code, notes, and snippets.

View Aebian's full-sized avatar

Alexander / Aebian Aebian

View GitHub Profile
<?php
/*
author: @Aebian
description: WakeOnLan of computers
returns: started computer
created: 2021-11-13
*/
$userName = $_GET["u"];
listen www-https
bind 10.0.0.120:443 ssl crt /path/to/the/fullchain.pem ciphers ECDHE-RSA-AES256-SHA:-RC4-SHA:HIGH:!MD5:!aNULL:!EDH #SSL offloading
mode tcp
option tcplog
tcp-request inspect-delay 5s
tcp-request content accept if { req_ssl_hello_type 1 }
default_backend gw-web-ssl
@echo off
setlocal
echo:
echo Setting OEMID in RegEdit...
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Store" /v OEMID /f /t REG_SZ /d DELL
echo:
echo Setting SCMID...
echo Fetching System Model Name
@echo off
REM https://github.com/BytexDigital/SteamCLI/
SETLOCAL ENABLEDELAYEDEXPANSION
SET STEAMUSER=<user>
SET STEAMPWD=<pw>
SET A3ID=107410
SET A3BRANCH=public
./configure --with-compat --add-dynamic-module=../nginx-rtmp-module --with-http_ssl_module --with-cc-opt="-Wimplicit-fallthrough=0"
# generated by /opt/vyatta/sbin/vpn-config.pl
config setup
conn %default
keyexchange=ikev2
include /config/user-data/ki-vpn.ipsec
configure
set service dns dynamic interface eth0 service custom-cloudflare login <user@domain.com>
set service dns dynamic interface eth0 service custom-cloudflare password <cloudflare-api-key>
set service dns dynamic interface eth0 service custom-cloudflare protocol cloudflare
set service dns dynamic interface eth0 service custom-cloudflare options zone=domain.com
commit ; save
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
<#
.SYNOPSIS
Install RSAT features for Windows 10 1809 or 1903 or 1909.
.DESCRIPTION
Install RSAT features for Windows 10 1809 or 1903 or 1909. All features are installed online from Microsoft Update thus the script requires Internet access
.PARAM All
Installs all the features within RSAT. This takes several minutes, depending on your Internet connection
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface