Skip to content

Instantly share code, notes, and snippets.

View epmpub's full-sized avatar
🌴
On vacation

EndPoint Management epmpub

🌴
On vacation
View GitHub Profile
@epmpub
epmpub / EventLoop_FileCombiner.cs
Created October 20, 2021 02:57 — forked from ifandelse/FileCombiner.cs
Playing with C# 'event loop' approach to demonstrate against nodejs example of same functionality
using System;
using System.Collections.Concurrent;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace FileCombiner
{
class Program
@epmpub
epmpub / Get-WinEventData and Sysmon.ps1
Created March 26, 2021 03:03 — forked from RamblingCookieMonster/Get-WinEventData and Sysmon.ps1
Extract detailed data from Sysmon event logs
# Download and dot source Get-WinEventData
# https://gallery.technet.microsoft.com/scriptcenter/Get-WinEventData-Extract-344ad840
. "\\path\to\Get-WinEventData.ps1"
# Download and Set up Sysmon as desired
# http://technet.microsoft.com/en-us/sysinternals/dn798348
# http://www.darkoperator.com/blog/2014/8/8/sysinternals-sysmon
#Use Get-WinEvent and Get-WinEventData to obtain events and extract XML data from them - let's see all the properties behind one!
Get-WinEvent -FilterHashtable @{logname="Microsoft-Windows-Sysmon/Operational";id=3} |
@epmpub
epmpub / values_pointers.go
Created January 14, 2021 09:14 — forked from josephspurrier/values_pointers.go
Golang - Asterisk and Ampersand Cheatsheet
/*
********************************************************************************
Golang - Asterisk and Ampersand Cheatsheet
********************************************************************************
Also available at: https://play.golang.org/p/lNpnS9j1ma
Allowed:
--------
p := Person{"Steve", 28} stores the value