Skip to content

Instantly share code, notes, and snippets.

View saunders-jake's full-sized avatar

saunders-jake

  • Downscope Security Solutions
View GitHub Profile
@asheroto
asheroto / EnableRDP.ps1
Last active February 20, 2025 02:17
Enable RDP on a computer with PowerShell.
# Warning
Clear-Host
Write-Output "Run this script on the computer you want to access via RDP"
Write-Output ""
# Ask
Write-Output "Remote address can be an IP address or network with CIDR"
Write-Output "Example: 192.168.0.5 or 192.168.0.0/24"
Write-Output ""
$RemoteAddress = Read-Host "Remote Address"
@netbiosX
netbiosX / FodhelperUACBypass.ps1
Last active May 21, 2025 08:55
Bypass UAC via Fodhelper binary in Windows 10 systems
<#
.SYNOPSIS
This script can bypass User Access Control (UAC) via fodhelper.exe
 
It creates a new registry structure in: "HKCU:\Software\Classes\ms-settings\" to perform UAC bypass and starts
an elevated command prompt.
 
.NOTES
Function : FodhelperUACBypass
File Name : FodhelperUACBypass.ps1