Skip to content

Instantly share code, notes, and snippets.

View nategraf's full-sized avatar

Victor Snyder-Graf nategraf

View GitHub Profile
### Keybase proof
I hereby claim:
* I am nategraf on github.
* I am r0mulus (https://keybase.io/r0mulus) on keybase.
* I have a public key ASCe3m2os90oykJZDrp9tlijmVS4stLsfyMCkqGaLp0L_wo
To claim this, I am signing this object:
@nategraf
nategraf / instructions.rst
Last active October 19, 2020 04:13
Instructions for connecting to Naumachia
To connect to Naumachia:
  1. Install OpenVPN. Make sure to install the TAP driver.
  1. Obtain your OpenVPN configuration in the challenge.
  • You will obtain a separate config for each challenge containing connection info and certificates for authentication.
  1. Launch OpenVPN:
  • CLI: openvpn --config <challenge>.ovpn
  • Windows GUI: Place the config file in %HOMEPATH%\OpenVPN\config and right-click the VPN icon on the status bar, then select the config for this challenge
class TrieNode:
def __init__(self, ch, final=False):
if ch:
ch = ch.lower()
self.ch = ch
self.final = final
self.children = {}
def addchild(self, child):
@nategraf
nategraf / id_rsa.pub
Last active January 6, 2018 20:48
blockops public key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC80536TGrOd+KF7nyLwJnb1Do711hNooXO6YcFqTETw0SFL94TjrAUurKrr+f4KUyhHFFoF8gN3IFLUQnIMw4Fu1u2GfhYkt7UzopBlXJTPNheClOj47R5aD2tibJDtRtirMQaChLAy8d0F7JuGpfY1uQ5QRQ8T2xpKpOKvFBpLdavJn6qZA/AwikHndYgaPppUmpY1uhjxYPLeI2DpJDLmeWghu7Cwxlx4fBcq0fGpD0haXBUJZPY2Kqm30ISSEF4U5QzqbLYpJ0oYNDN57VOM/zm9Up5nhD18gnv5h97UcaSiDGnHNsRtwUe+hXnK7/AAUGqimwQJPE3wXusCImzuV6sL4QqRYNTXUfT9SXXnq82qTTifi6JvTbKiY/zDa96QNe+6KRSTeJUNP3gbG0r62zD/WhsY/AiBz7nZnSnrO22dUOfzt5X42CsMTkwlY0FDR2UX3kjPSC95GQJVl3/0tjMiJduXrKFH0kV8n/+O5R1IHsXa/MDAvb2pPYHBvwZqYSl1sTZUXwdniSQMrRIjcz8nhelaL4HcK2tVs49IfqrrE7FxtJrnoJaY/xjYuzy3dFSa9INdWUs4R/jmP5YvrKHs30/5j4Kp054U0zCaOYUg52ZG2URoxokHit0iuoKcE296SNaOEITxyTtKeXPOP+GMba/0HlMA8Z+Qn+ecw== nate@blackwater
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
from argparse import ArgumentParser
from os import path, envriron
import logging
import subprocess
import sys
logging.basicConfig(level=logging.DEBUG)
EASYRSA_ALREADY_EXISTS_MSG = b'Request file already exists'
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2017-11-08 13:07:01" build="161206">
<value name="StartType" type="hex" data="02"/>
<value name="CmdLine" type="string" data=""/>
<value name="StartTasksFile" type="string" data=""/>
<value name="StartTasksName" type="string" data="{Bash::bash}"/>
<value name="StartFarFolders" type="hex" data="00"/>
<value name="StartFarEditors" type="hex" data="00"/>
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/******************************************************************
DO NOT MODIFY. AUTOGENERATED FILE.
This file is generated using the logic from <root>/src/scripts/genEventing.py
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/******************************************************************
DO NOT MODIFY. AUTOGENERATED FILE.
This file is generated using the logic from <root>/src/scripts/genLttngProvider.py
//**********************************************************************`
//* This is an include file generated by Message Compiler. *`
//* *`
//* Copyright (c) Microsoft Corporation. All Rights Reserved. *`
//**********************************************************************`
#pragma once
#include <wmistr.h>
#include <evntrace.h>
#include "evntprov.h"
//