Skip to content

Instantly share code, notes, and snippets.

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

mebuis

💭
I may be slow to respond.
View GitHub Profile
@mebuis
mebuis / rest_handler.py
Created February 25, 2022 05:35 — forked from LukeMurphey/rest_handler.py
A simple helper library for making a generic REST handler for Splunk #splunk
"""
This class makes creating a REST handler for Splunk easier.
The class will automatically call a function within the class based on the path and the method.
For example, if a GET call is made to the path "ping", then this class will call the function
get_ping().
Below is an example.
@mebuis
mebuis / logparser.ps1
Created December 5, 2019 09:44 — forked from exp0se/logparser.ps1
Logparser log parsing
# Logparser
###############
# Security Log
###############
# Find Event id
& 'C:\Program Files (x86)\Log Parser 2.2\LogParser.exe' -stats:OFF -i:EVT "SELECT * FROM 'Security.evtx' WHERE EventID = '5038'"
@mebuis
mebuis / KernelMode.md
Created October 22, 2017 07:52 — forked from codito/KernelMode.md
WinDBG Debug Snippets

Kernel driver debugging tips

Enable DbgPrint/KdPrint

kd> ed nt!Kd_DEFAULT_MASK 0xFFFFFFFF

reg add "HKLM\SYSTEM\ControlSet001\Control\Session Manager\Debug Print Filter" /v DEFAULT /t REG_DWORD /d 0xFFFFFFFF