Skip to content

Instantly share code, notes, and snippets.

View Yannik's full-sized avatar

Yannik Sembritzki Yannik

View GitHub Profile
@matt40k
matt40k / Get-LocalAdmins.ps1
Last active February 5, 2025 13:05
Get the members of the Local Administrators group
Function Get-LocalGroupMembers
{
param(
[Parameter(ValuefromPipeline=$true)][array]$server = $env:computername,
$GroupName = $null
)
PROCESS {
$finalresult = @()
$computer = [ADSI]"WinNT://$server"
@kylehowells
kylehowells / gist:1111952
Created July 28, 2011 17:00
Modern Version of a 3 year old tutorial
%hook SBApplicationIcon
-(void)launch{
UIAlertView* __launchView = [[[UIAlertView alloc] init] autorelease];
__launchView.title = @"No way muchacho";
__launchView.message = @"You can't touch dis!";
[__launchView addButtonWithTitle:@"Dismiss"];
[__launchView show];
}