Skip to content

Instantly share code, notes, and snippets.

View abstrask's full-sized avatar

Rasmus Rask abstrask

  • Veo Technologies
  • Copenhagen
View GitHub Profile
@abstrask
abstrask / ReclaimWin10.ps1
Last active March 4, 2022 12:30 — forked from alirobe/reclaimWindows10.ps1
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
<#
To do - from OneNote: Win10 hardening (on public connections)
§ Disable IE auto configuration
§ Disable SMB1
Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol
§ Enable firewall, disable network sharing and discovery (public network profile)
Set-NetFirewallProfile -Name Public -Enabled True
Get-NetFirewallRule -DisplayGroup "File and Printer Sharing" | ? {$_.Profile -eq 'Public'} | Set-NetFirewallRule -Enabled false
@abstrask
abstrask / 00-button
Last active November 13, 2023 06:32 — forked from jefferyto/00-button
Scripts for OpenWrt on TP-Link TL-MR3020 to change network configs using 3-position sliding switch. Configuration changes by UCI/LuCI overwrites the symbolic links used by original scripts. This version copies the scripts instead of using symbolic links. Added script attached to WPS button, to commit the updated config to the current config (3g,…
# based on
# https://dev.openwrt.org/browser/trunk/target/linux/atheros/base-files/etc/hotplug.d/button/00-button
# https://forum.openwrt.org/viewtopic.php?pid=172110#p172110
. /lib/functions.sh
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
do_button () {
local button