This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <FastLED.h> | |
#include "Adafruit_TinyUSB.h" | |
// Define the pin for the RGB LED | |
#define DATA_PIN 16 | |
#define NUM_LEDS 1 | |
CRGB leds[NUM_LEDS]; | |
// HID report descriptor using TinyUSB's template |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import time | |
import re | |
import requests | |
# Tested / works on Havoc version 0.7 (Bites The Dust) | |
# Path to havoc log file | |
log_file_path = 'teamserver.log' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import binascii | |
import argparse | |
class GallagherCredentials: | |
def __init__(self, region_code, facility_code, card_number, issue_level): | |
self.region_code = region_code | |
self.facility_code = facility_code | |
self.card_number = card_number | |
self.issue_level = issue_level |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
from roadtools.roadlib.metadef.database import User | |
import roadtools.roadlib.metadef.database as database | |
session = database.get_session(database.init()) | |
pattern = r".*@example\.com$" | |
for user in session.query(User): | |
if user.mail and re.match(pattern, user.mail): | |
print(user.userPrincipalName) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
GO_VERSION="1.22.3" | |
GO_URL="https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" | |
EXPECTED_CHECKSUM="8920ea521bad8f6b7bc377b4824982e011c19af27df88a815e3586ea895f1b36" | |
# Log output of script | |
exec > >(tee -i /home/ubuntu/install.log) | |
exec 2>&1 |