Skip to content

Instantly share code, notes, and snippets.

View ahembree's full-sized avatar
👾

Aidan Hembree ahembree

👾
View GitHub Profile
@ahembree
ahembree / win11_restore_win10_context_menu.md
Last active November 30, 2025 05:19
Restore Windows 10 Right-Click Context Menu to Windows 11

The default Windows 11 right-click context menu is (in my opinion) awful and was an unnecessary change.

Switching back to Windows 10 Context Menu

If you're on Windows 11 and want the old Windows 10 right-click context menu, run the following command in a regular command prompt (NOT administrative):

reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
@ahembree
ahembree / BurpSuiteCommunity.vmoptions
Created March 2, 2024 15:24
BurpSuite Windows 4K Monitor UI Glitch/Bug
# Location file (default Win11): C:\Users\<username>\AppData\Local\Programs\BurpSuitePro\BurpSuitePro.vmoptions
# Parameters to fix windows glitches (second monitor / 4k hdr)
# Enter one VM parameter per line
# For example, to adjust the maximum memory usage to 512 MB, uncomment the following line:
# -Xmx512m
# To include another file, uncomment the following line:
# -include-options [path to other .vmoption file]
-XX:MaxRAMPercentage=50
-include-options user.vmoptions
@ahembree
ahembree / java.security.md
Created February 25, 2024 01:24
Dell iDRAC6 Enterprise Java Security JNLP file fix

iDRAC6 Enterprise .jnlp file launch fix

This will fix the launch and connection errors when launching a .jnlp file downloaded from an iDRA6 Enterprise card

Note that this is bad practice, these algorithms in Java are disabled for a reason, but sometimes you gotta support old hardware...

This assumes you are launching the .jnlp file with javaws.exe (such as C:\Program Files\Java\jre-1.8\bin\javaws.exe)

In your java.security file, which can be found in your install location (such as C:\Program Files\Java\jre-1.8\lib\security\java.security)

@ahembree
ahembree / lambda_slack_event_listener_verify.py
Created January 20, 2023 23:32
Use this script to easily verify a Slack event listener URL in a Lambda function
# Use this script to easily verify a Slack event listener URL in a Lambda function.
import json
def lambda_handler(event, context):
loaded_body = json.loads(event['body'])
challenge = loaded_body['challenge']
return {
'statusCode': 200,
'body': challenge
@ahembree
ahembree / keybase.md
Created August 31, 2022 22:50
Keybase Verification

Keybase proof

I hereby claim:

  • I am ahembree on github.
  • I am ahembree (https://keybase.io/ahembree) on keybase.
  • I have a public key ASCgG5995lbFB1xPooDJR0R-bKjrVVeRJY6nat6Opfj1Ygo

To claim this, I am signing this object:

@ahembree
ahembree / proxycolor.py
Created April 8, 2022 14:05 — forked from santrancisco/proxycolor.py
Example_jython_burp_extension
# Just color requests hitting different ports on Burp so we can easily identify which user session is which.
from burp import IBurpExtender
from burp import IProxyListener
import re
class BurpExtender(IBurpExtender, IProxyListener):
# define registerExtenderCallbacks: From IBurpExtender Interface
def registerExtenderCallbacks(self, callbacks):
self._callbacks = callbacks