Skip to content

Instantly share code, notes, and snippets.

@mgeeky
mgeeky / Cleanup-ClickOnce.ps1
Last active March 18, 2024 16:05
Cleanup-ClickOnce.ps1 - Simple Powershell script that removes ClickOnce deployments entirely from file system and registry. Attempts to remove both installed and online-only deployments.
#
# Simple Powershell script that removes ClickOnce deployments entirely from file system and registry.
# Attempts to remove both installed and online-only deployments.
#
# Authored: Mariusz Banach / mgeeky, <mb [at] binary-offensive.com>
#
# Usage:
# PS> . .\Cleanup-ClickOnce.ps1
# PS> Cleanup-ClickOnce -Name MyAppName
#
@api0cradle
api0cradle / check_vulnerabledrivers.ps1
Created May 19, 2023 14:13
A quick script to check for vulnerable drivers. Compares drivers on system with list from loldrivers.io
# Simple script to check drivers in C:\windows\system32\drivers against the loldrivers list
# Author: Oddvar Moe - @oddvar.moe
$drivers = get-childitem -Path c:\windows\system32\drivers
$web_client = new-object system.net.webclient
$loldrivers = $web_client.DownloadString(" https://www.loldrivers.io/api/drivers.json") | ConvertFrom-Json
Write-output("Checking {0} drivers in C:\windows\system32\drivers against loldrivers.io json file" -f $drivers.Count)
foreach ($lol in $loldrivers.KnownVulnerableSamples)
{
@m4ss1m0g
m4ss1m0g / add-remove.psm1
Last active May 18, 2023 18:23
Lists all installed software, including any that is not visible with PowerShell
function Get-Installed {
[CmdletBinding()]
param (
# The name of the software
[Parameter(Mandatory = $true)]
[string] $Name
)
begin {
$PATHS = @(
@AveYo
AveYo / . Pitch Black Theme.reg
Last active May 28, 2024 14:50
Pitch Black Theme.reg - now for Ctrl+Alt+Del (and logon on 11) as well - revised 2022-06-16
Windows Registry Editor Version 5.00
; Pitch Black Theme preset by AveYo, AccentPalette idea by /u/Egg-Tricky
; for Ctrl+Alt+Del, Logon, Taskbar, Start Menu, Action Center (10 & 11)
; revised 2022-06-16: show active taskbar button in accent color
[-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
"AccentColorMenu"=dword:aa000000 ; Window borders and titlebar
"StartColorMenu"=dword:aa202020 ; Modals in UWP ex. Apply new refresh rate in 10
import { parse } from "https://deno.land/std@0.112.0/flags/mod.ts";
const HELP_TEXT = `
usage: this-file <steam username> <target steam library directory> [--no-verify]
usage (as script): deno run -A ./update-verify.ts <steam username> <target steam library directory> [--no-verify]
You can alternatively specify <username> and <library> with any alias. e.g.
-u <username>
--user <username>
--username <username>
--user=<username>
@emilianavt
emilianavt / BestVTuberSoftware.md
Last active June 2, 2024 05:57
Best VTuber Software

Best VTuber software

This is a list of the most commonly used and relevant vtubing software. The "best" will always be subjective and depend on your specific requirements. Overall, the information in this list is as accurate as I could figure it out, but there might be errors or some details might become out of date. If you find anything that needs to be corrected, please let me know. You can also note it in a comment.

Additional explanations:

  • iPhone means that an iPhone is basically required
  • iFacialMocap support means that tracking data can be received from the iFacialMocap iPhone app
  • VMC protocol means that the application can send and/or receive tracking data from other VMC protocol capable applications, allowing the combination of multiple tracking methods (e.g. VSeeFace receiving VR tracking from Virtual Motion Capture and iPhone/ARKit face tracking from Waidayo)
  • Tobii means that the Tobii eye tracker is supported
@SPIKEYPUP
SPIKEYPUP / promptexamples.txt
Last active July 1, 2023 21:37
Win10-Ansi Color For Prompt and More!
Credits: This is just a modification on the primary code for their prompt YT theme; made by hXR16F on their repo at github.com/hXR16F/hyperial
Elevated Blinking
$E[05m$E[40m$E[94m░▒▓$E[103m$E[34m$S$T$H$H$H$S-$E[31m$E[7m%username%$E[7m$E[36m$E[7m[@%computername%]$E[7m$E[0m$E[05m$E[40m$E[94m▓▒░$S$E[40m$E[31m░▒▓$E[41m$E[1;93m$S$P$S$E[40m$E[31m▓▒░$S$E[0m
Non-Elevated (No Blinking)
$E[40m$E[94m░▒▓$E[103m$E[34m$S$T$H$H$H$S-$E[31m$E[7m%username%$E[7m$E[36m$E[7m[@%computername%]$E[7m$E[0m$E[40m$E[94m▓▒░$S$E[40m$E[31m░▒▓$E[41m$E[1;93m$S$P$S$E[40m$E[31m▓▒░$S$E[0m
Usage:
@manoj-choudhari-git
manoj-choudhari-git / WSL_Install.ps1
Last active April 21, 2024 15:44
PowerShell script to install WSL 2
# STEP 1: Enable Virtual Machine Platform feature
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
# STEP 2: Enable WSL feature
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
# STEP 3: Restart Win 10 Machine
# STEP 4: To set the WSL default version to 2.
# Any distribution installed after this, would run on WSL 2
@adumont
adumont / TPLink-HS100-Taskers.xml
Created July 25, 2020 10:05
Tasker tasks for TP-Link HS100