I hereby claim:
- I am grant-h on github.
- I am ghh (https://keybase.io/ghh) on keybase.
- I have a public key ASCSvvt-Xx5MQV1FL0sqfwp-hxPIf0m_L2ITklO2zkx5dAo
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
HELP=""" | |
Samsung EPIC Decrypter | |
by @Digital_Cold, Aug 2022 | |
Samsung EPIC is a power management daemon for Android. It stores its profiles | |
in AES CFB encrypted JSON files. The key is hardcoded per build in an ELF | |
section. By extracting the key and using the same decryption, we can recover | |
the JSON file. |
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 |
#!/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 |
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 |
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 python | |
# coding: utf-8 | |
import sys | |
import time | |
# pip install pwn | |
from pwn import * | |
# pip install ipython | |
from IPython import embed |
//-------------------------------------- | |
//--- 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(); |
I hereby claim:
To claim this, I am signing this object:
f0VMRgIBAQAAAAAAAAAAAAIAPgABAAAAAIBHBAAAAABAAAAAAAAAAHChBwAAAAAAAAAAAEAAOAAKAEAAHAAbAAYAAAAFAAAAQAAAAAAAAABAAEAAAAAAAEAAQAAAAAAAMAIAAAAAAAAwAgAAAAAAAAgAAAAAAAAAAwAAAAQAAABwAgAAAAAAAHACQAAAAAAAcAJAAAAAAAAcAAAAAAAAABwAAAAAAAAAAQAAAAAAAAABAAAABQAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAAAIAGAAAAAAAAgAYAAAAAAAAAACAAAAAAAAEAAAAFAAAAAIAHAAAAAAAAgEcEAAAAAACARwQAAAAA5BEAAAAAAADkEQAAAAAAAAAAIAAAAAAAAQAAAAYAAAAongcAAAAAACieZwQAAAAAKJ5nBAAAAAAwAgAAAAAAAOAZAAAAAAAAAAAgAAAAAAACAAAABgAAAFCeBwAAAAAAUJ5nBAAAAABQnmcEAAAAAJABAAAAAAAAkAEAAAAAAAAIAAAAAAAAAAQAAAAEAAAAjAIAAAAAAACMAkAAAAAAAIwCQAAAAAAARAAAAAAAAABEAAAAAAAAAAQAAAAAAAAAUOV0ZAQAAABIjQcAAAAAAEiNRwQAAAAASI1HBAAAAADsAAAAAAAAAOwAAAAAAAAABAAAAAAAAABR5XRkBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAFLldGQEAAAAKJ4HAAAAAAAonmcEAAAAACieZwQAAAAA2AEAAAAAAADYAQAAAAAAAAEAAAAAAAAAL2xpYjY0L2xkLWxpbnV4LXg4Ni02NC5zby4yAAQAAAAQAAAAAQAAAEdOVQAAAAAAAgAAAAYAAAAYAAAABAAAABQAAAADAAAAR05VAJLQUShroPFyPtJjaoJDxA3weOm3AQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
I hereby claim:
To claim this, I am signing this object: