Skip to content

Instantly share code, notes, and snippets.

View wireless90's full-sized avatar
💭
I may be slow to respond.

wireless90

💭
I may be slow to respond.
View GitHub Profile
@wireless90
wireless90 / evil.cs
Created January 8, 2022 23:49 — forked from nicholasmckinney/evil.cs
Execute a DLL via Regsvr32
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using RGiesecke.DllExport;
namespace Export
{
class Test
{
@wireless90
wireless90 / Win10Bypass.cs
Created January 8, 2022 23:49 — forked from nicholasmckinney/Win10Bypass.cs
Windows 10 Prototype Bypass Applocker
using System;
using System.Diagnostics;
using System.Reflection;
using System.Configuration.Install;
using System.Runtime.InteropServices;
/*
Author: Casey Smith, Twitter: @subTee
License: BSD 3-Clause
Step One:
@wireless90
wireless90 / Program.cs
Created May 11, 2021 11:12
Linq Collections Results
using System;
using System.Collections.Generic;
using System.Linq;
namespace LinqCollectionsDemo
{
class Program
{
static void Main(string[] args)
{
/*
* A simple Windows 32-bit DLL injector
*
* Note that this does not attempt to be "stealthy". If you are
* using this to inject hacks into games, prepare to be banned.
*
* To start a process and inject a DLL before main() is called:
* CreateProcessWithDll("path/to/program.exe", "--program-args", "path/to/library.dll");
*
* To inject a DLL into an already-running process:
python sqlmap.py -u https://ace31f251eb21b5580d234d800af00df.web-security-academy.net/filter?category=Accessories -dbms=postgresql --dump --exclude-sysdbs --threads=10 -v 2 --output-dir=mydump --flush --batch
@wireless90
wireless90 / IUnitOfWork.cs
Created August 20, 2020 14:18
Unit of work
/// <summary>
/// Enforces a transaction to take place. A transaction ensures atomicity
/// for one or more sql statements to either run, or not run if an error occurs.
/// </summary>
public interface IUnitOfWork : IDisposable
{
/// <summary>
///
/// </summary>
/// <returns></returns>