Skip to content

Instantly share code, notes, and snippets.

View justaguywhocodes's full-sized avatar

Toussaint Louverture justaguywhocodes

View GitHub Profile
$VarD=$null
$VarS=$null
$ResultsD=$null
$ResultsS=$null
$Service="mslldp"
$AddPermissions="(A;;CCLCSWLOCRRC;;;SU)"
$VarAccount="SU"
[string]$RawResults=sc.exe sdshow $Service
$RegexPatternALL='(D:)(\(.*\))(S:)(\(.*\))|(S:)(\(.*\))|(D:)(\(.*\))'
#include <windows.h>
#include <tlhelp32.h>
#include <stdio.h>
#include <stdlib.h>
// Example shellcode (NOPs followed by an infinite loop for demonstration)
unsigned char shellcode[] = {
0x90, 0x90, 0x90, 0x90, // NOPs
0xEB, 0xFE // JMP $ (infinite loop)
};
https://x.com/CollinRugg/status/1932859224452968532
# Parameters
param (
[Parameter(Mandatory=$true)]
[string]$FilePath,
[Parameter(Mandatory=$true)]
[string]$OriginalFont,
[Parameter(Mandatory=$true)]
[string]$NewFont
https://x.com/stephenm/status/1932057977793470965?s=46
# PowerShell script to test login attempts for multiple usernames with a given password
# Define the list of usernames to test
$usernames = @("user1", "user2", "user3") # Replace with actual usernames
$password = "YourPasswordHere" # Replace with the password to test
$computerName = "." # Use "." for the local machine, or specify a remote computer name
# Function to test credentials using LogonUser API
Add-Type -TypeDefinition @"
using System;
https://x.com/jacobtheclipper/status/1929623151648165952?s=46
curl -o example.zip -x http://proxy.example.com:8080 -U username:password https://example.com/file.zip
curl -o example.zip https://example.com/file.zip
https://x.com/BrainRotNot/status/1927766674096177351/photo/1
bff0fe54c36acab53f14deec1d8a3fb3