Skip to content

Instantly share code, notes, and snippets.

View ShyftXero's full-sized avatar

Eli McRae ShyftXero

View GitHub Profile
@ShyftXero
ShyftXero / gifcreator.py
Created December 15, 2021 21:17 — forked from achillean/gifcreator.py
Create GIFs from a Shodan json.gz file using the API
#!/usr/bin/env python
# Dependencies:
# - arrow
# - shodan
# - ImageMagick
#
# Installation:
# sudo easy_install arrow shodan
# sudo apt-get install imagemagick
#
@ShyftXero
ShyftXero / Active Directory Attacks.md
Created January 30, 2022 14:06 — forked from ssstonebraker/Active Directory Attacks.md
Active Directory Attacks #oscp
# 20240215
# shyft
# script to prove my wife wrong about how much time I'm spending at my computer in the eventing.
# use with caution... may not be worth it to you...
# relies on https://github.com/ActivityWatch/activitywatch/ "Records what you do so that you can know how you've spent your time."
# grown from https://github.com/ActivityWatch/aw-client/blob/master/examples/time_spent_today.py
import sys
from datetime import date, datetime, time, timedelta, timezone
from rich import print
import socket
@ShyftXero
ShyftXero / uv_venv.sh
Last active July 26, 2024 15:50
uv python venv management
# include or add this to your .zshrc file
# curl -fsSL https://gist.githubusercontent.com/ShyftXero/e2b5c02108ce426e426f872cd3d47cb0/raw/uv_venv.sh >> ~/.zshrc
. "$HOME/.cargo/env"
#ensure uv is installed https://astral.sh/uv
if ! command -v uv &> /dev/null
then
echo "uv could not be found. installing... "
curl -LsSf https://astral.sh/uv/install.sh | sh