I hereby claim:
- I am grant-h on github.
- I am ghh (https://keybase.io/ghh) on keybase.
- I have a public key whose fingerprint is B16E AC0A 1120 ED87 4B27 2DF7 E755 22DB D573 AC3B
To claim this, I am signing this object:
#!/bin/sh | |
set -e | |
cat > libtest.c <<EOF | |
#include <stdio.h> | |
void test_function(int arg) | |
{ | |
printf("Calling test_function(%d)\n", arg); |
I hereby claim:
To claim this, I am signing this object:
[alias] | |
br = branch | |
co = checkout | |
ci = commit | |
di = diff | |
st = status | |
sl = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all --since='90 days ago' | |
summary = show # Mercurial crib |
f0VMRgIBAQAAAAAAAAAAAAIAPgABAAAAAIBHBAAAAABAAAAAAAAAAHChBwAAAAAAAAAAAEAAOAAKAEAAHAAbAAYAAAAFAAAAQAAAAAAAAABAAEAAAAAAAEAAQAAAAAAAMAIAAAAAAAAwAgAAAAAAAAgAAAAAAAAAAwAAAAQAAABwAgAAAAAAAHACQAAAAAAAcAJAAAAAAAAcAAAAAAAAABwAAAAAAAAAAQAAAAAAAAABAAAABQAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAAAIAGAAAAAAAAgAYAAAAAAAAAACAAAAAAAAEAAAAFAAAAAIAHAAAAAAAAgEcEAAAAAACARwQAAAAA5BEAAAAAAADkEQAAAAAAAAAAIAAAAAAAAQAAAAYAAAAongcAAAAAACieZwQAAAAAKJ5nBAAAAAAwAgAAAAAAAOAZAAAAAAAAAAAgAAAAAAACAAAABgAAAFCeBwAAAAAAUJ5nBAAAAABQnmcEAAAAAJABAAAAAAAAkAEAAAAAAAAIAAAAAAAAAAQAAAAEAAAAjAIAAAAAAACMAkAAAAAAAIwCQAAAAAAARAAAAAAAAABEAAAAAAAAAAQAAAAAAAAAUOV0ZAQAAABIjQcAAAAAAEiNRwQAAAAASI1HBAAAAADsAAAAAAAAAOwAAAAAAAAABAAAAAAAAABR5XRkBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAFLldGQEAAAAKJ4HAAAAAAAonmcEAAAAACieZwQAAAAA2AEAAAAAAADYAQAAAAAAAAEAAAAAAAAAL2xpYjY0L2xkLWxpbnV4LXg4Ni02NC5zby4yAAQAAAAQAAAAAQAAAEdOVQAAAAAAAgAAAAYAAAAYAAAABAAAABQAAAADAAAAR05VAJLQUShroPFyPtJjaoJDxA3weOm3AQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
I hereby claim:
To claim this, I am signing this object:
diff --git a/CTFd/api/v1/notifications.py b/CTFd/api/v1/notifications.py | |
index 6dd78f6..697a06f 100644 | |
--- a/CTFd/api/v1/notifications.py | |
+++ b/CTFd/api/v1/notifications.py | |
@@ -31,6 +31,12 @@ class NotificantionList(Resource): | |
def post(self): | |
req = request.get_json() | |
+ pop_up = req.get('pop_up') | |
+ |
#!/usr/bin/env python3 | |
""" | |
BlackHat USA session watcher | |
by Grant Hernandez. | |
Monitor sessions (briefings) to see when new ones are added. | |
Tested: Thu Jun 4 11:41:59 EDT 2020 | |
""" | |
import requests |
import sys | |
import importlib | |
class ImportInterceptor(importlib.abc.Loader): | |
def __init__(self): | |
pass | |
def find_module(self, fullname, path=None): | |
#sys.stderr.write("LOAD INFO: %s\n" % (fullname)) | |
return self |
diff --git a/CTFd/auth.py b/CTFd/auth.py | |
index 91f7c73..410ffab 100644 | |
--- a/CTFd/auth.py | |
+++ b/CTFd/auth.py | |
@@ -22,6 +22,8 @@ from CTFd.utils.modes import TEAMS_MODE, USERS_MODE | |
from CTFd.utils.security.signing import serialize, unserialize, SignatureExpired, BadSignature, BadTimeSignature | |
from CTFd.utils.helpers import info_for, error_for, get_errors, get_infos | |
from CTFd.utils.config.visibility import registration_visible | |
+from CTFd.utils.user import get_ip | |
+from CTFd.utils.countries import lookup_geoip_country_code, lookup_country_code |
//-------------------------------------- | |
//--- 010 Editor v8.0 Binary Template | |
// | |
// Author: grant-h | |
// Purpose: 010 Editor Binary Template for HL1 BSP files | |
// Based from https://gist.github.com/rhulha/b7bd3d43104bf80b619ae454a8b9e439 | |
// And from http://hlbsp.sourceforge.net/index.php?content=bspdef#texinfo | |
//-------------------------------------- | |
LittleEndian(); |