Skip to content

Instantly share code, notes, and snippets.

View gjyoung1974's full-sized avatar
🎯
Focusing

Gordon Young gjyoung1974

🎯
Focusing
View GitHub Profile
@gjyoung1974
gjyoung1974 / direwolf.conf
Created May 7, 2023 22:50
Direwolf Config
ADEVICE plughw:1,0
PTT cm108 -3 /dev/hidraw0
ACHANNELS 1
CHANNEL 0
MYCALL N8VNP-0
MODEM 1200
AGWPORT 8000
KISSPORT 8001
@gjyoung1974
gjyoung1974 / default.xml
Created May 1, 2023 22:06
TOPAZ Regional Wireless Cooperative (TRWC) SDRTrunk playlist
<playlist version="4">
<channel system="TOPAZ Regional Wireless Cooperative (TRWC)" name="Mesa-Gilbert-Apache-Junction" enabled="false" site=" Mesa Simulcast" order="1">
<alias_list_name></alias_list_name>
<source_configuration type="sourceConfigTunerMultipleFrequency" preferred_tuner="RTL-2832/R820T 00000001" frequency_rotation_delay="400" source_type="TUNER_MULTIPLE_FREQUENCIES">
<frequency>852750000</frequency>
<frequency>852825000</frequency>
<frequency>853275000</frequency>
<frequency>853350000</frequency>
<frequency>852075000</frequency>
<frequency>852250000</frequency>
@gjyoung1974
gjyoung1974 / keys.pub
Created January 26, 2023 22:22
Keys.pub key
BEGIN MESSAGE.
f10uukHLRJIGQy1 QiwsWViJKJPtUKB QGKV48JMS5HzmZ8 VTfMQN9yVA14dxH
t9aEcoYRG0dyeOw beHtJu5cCd8TCKq 6Xr2MZHgg4XUcyE aoAgCoijh8Qurco
xLbV96C8DQqSqYz ITFvxooLcOdBwam JPhnkqv6YS4XzSY FUH9RHFNZfJxc84
DJxReaMKkylEWX2 X111VnbzeB1Gxvn qtXa50aLMzWSiL.
END MESSAGE.
<!-- This file is modified by @sickcodes from https://github.com/kholia/OSX-KVM/tree/master/OpenCore-Catalina -->
<!-- The modifications are placeholders for: {{DEVICE_MODEL}}, {{SERIAL}}, {{BOARD_SERIAL}}, {{UUID}}, {{ROM}}, {{WIDTH}}, {{HEIGHT}} -->
<!-- All credit for this file https://github.com/kholia/OSX-KVM/blob/master/CREDITS.md -->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ACPI</key>
<dict>
<key>Add</key>
@gjyoung1974
gjyoung1974 / Dockerfile
Created October 18, 2020 02:29
Dockerfile.loki
# customize Colide Fleet by adding FluentBit
####
# Buildtime container:
####
FROM debian:buster as builder
LABEL maintainer="security@acme.com"
LABEL purpose="osquery"
@gjyoung1974
gjyoung1974 / gist:71e253ef3b858081e9d369037148768c
Created September 22, 2020 17:09
shamirs_secret_sharing_algorithm.py
# shamirs_secret_sharing_algorithm.py
from __future__ import division
from __future__ import print_function
import random
import functools
# 12th Mersenne Prime
# (for this application we want a known prime number as close as
# base layer
FROM debian:stable AS builder
# Get current & install Java, curl
RUN apt-get -y update && apt-get upgrade
RUN apt-get -y install git openjdk-11-jre-headless curl
# Run spigot as spigot user
RUN useradd spigot && mkdir -p /home/spigot
RUN usermod -a -G spigot spigot
#!/usr/bin/python
"""
Implements an RFC 5424 compliant SysLog agent/client on MSFT Windows Server.
We live in a Internet world, Windows needs Syslog for WinEVT...
"""
import socket
import json
import win32con
import win32event
# [!] Windows Syslog Agent/Client
# [$] Forward Windows Events via UDP in JSON format, designed for compatibility with Syslog/Rsyslog
# [$] Written: Gordon Young
function getStatus () {
$ip = '192.168.1.100'
$offlineLogs = 'C:\Windows\Temp\queued.log'
import subprocess
import docker
from kubernetes import client, config
from tenable.cs import ContainerSecurity
from jira import JIRA
dockerClient = docker.from_env()
config.load_kube_config()
v1 = client.CoreV1Api()