Skip to content

Instantly share code, notes, and snippets.

@kellthenoise
kellthenoise / README.md
Created December 2, 2018 08:50 — forked from joyrexus/README.md
curl tutorial

An introduction to curl using GitHub's API.

Basics

Makes a basic GET request to the specifed URI

curl https://api.github.com/users/caspyin

Includes HTTP-Header information in the output

@kellthenoise
kellthenoise / ETW
Created November 20, 2018 17:36
ETW microsoft code
#define INITGUID // Include this #define to use SystemTraceControlGuid in Evntrace.h.
#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include <strsafe.h>
#include <wmistr.h>
#include <evntrace.h>
#define LOGFILE_PATH L"<FULLPATHTOTHELOGFILE.etl>"
@kellthenoise
kellthenoise / ETW
Created November 20, 2018 17:36
ETW microsoft code
#define INITGUID // Include this #define to use SystemTraceControlGuid in Evntrace.h.
#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include <strsafe.h>
#include <wmistr.h>
#include <evntrace.h>
#define LOGFILE_PATH L"<FULLPATHTOTHELOGFILE.etl>"
### Keybase proof
I hereby claim:
* I am evilsomething on github.
* I am cyberdog (https://keybase.io/cyberdog) on keybase.
* I have a public key ASAtZtx8TAWW8_rg9OhQTBkNWRygmuhBon84QT7xH-kJxgo
To claim this, I am signing this object: