Skip to content

Instantly share code, notes, and snippets.

Avatar

cetaSYN cetaSYN

View GitHub Profile
@cetaSYN
cetaSYN / linux_smime.md
Last active Jun 11, 2021
OWA S/MIME Decryption with Linux & Firefox
View linux_smime.md

OWA S/MIME Decryption with Ubuntu & Firefox

NOTE: This is still being refined.
I'm not sure if I had any pre-existing packages that were necessary or if all of the ones I list are necessary.
If you have any feedback, please let me know.
Thank you!

Prerequisites

Distro Packages

@cetaSYN
cetaSYN / README.md
Created Dec 12, 2020
Solve for 5CTF Disorderly2
View README.md
@cetaSYN
cetaSYN / README.md
Last active Dec 12, 2020
Solve for 5CTF Disorderly2
View README.md
@cetaSYN
cetaSYN / install-docker.sh
Last active Aug 24, 2020
Install Docker on Parrot 4.10
View install-docker.sh
#!/bin/bash
# Install Docker on Parrot 4.10
set -o errexit
set -o nounset
sudo apt update
sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
@cetaSYN
cetaSYN / forbes_title_gen.js
Last active Jun 26, 2020
Script to generate titles for Forbes articles
View forbes_title_gen.js
Array.prototype.randChoice = function() {
return this[~~(Math.random() * this.length)];
}
const sel_opts = [
["Google", ["Chrome", "Android"]],
["Microsoft", ["Edge", "Windows"]],
["Apple", ["iPhone"]],
["Facebook", ["Facebook", "Instagram"]]
];
@cetaSYN
cetaSYN / find_ctftime_profile.py
Created May 11, 2020
Finds uids for usernames on CTFtime
View find_ctftime_profile.py
#!/usr/bin/env python3
"""Finds uids for usernames on CTFtime"""
# Seriously why is this not easier to do?
import argparse
import logging
import math
import re
import time
@cetaSYN
cetaSYN / wacomconf.py
Created May 2, 2020
Configure a Wacom tablet for use with a single screen and Touch disabled
View wacomconf.py
#!/usr/bin/env python3
"""Configure a Wacom tablet for use with a single screen and Touch disabled"""
import subprocess
def main():
screens = [s for s in get_selector_next(
subprocess.check_output(["xrandr"]).decode("UTF8"),
u"connected",
@cetaSYN
cetaSYN / allcast_cli.py
Created Dec 2, 2019
Casts a YouTube video to multiple Google Cast devices within a multicast domain.
View allcast_cli.py
#!/usr/bin/env python3
####################################################################################
# allcast_cli.py #
# Casts a specified YouTube video to Google Cast devices within a subdomain. [CLI] #
####################################################################################
from zeroconf import ServiceBrowser, Zeroconf
from time import sleep
from argparse import ArgumentParser
@cetaSYN
cetaSYN / dead_birds.py
Created Mar 9, 2020
Displays all users you follow that have not had activity (tweet/rt) within a specified number of days, sorted by least-recent.
View dead_birds.py
#!/usr/bin/env python3
import datetime
import tweepy
def main():
# https://developer.twitter.com/en/apply-for-access
consumer_key = "<add>"
consumer_secret = "<add>"
@cetaSYN
cetaSYN / find_port.py
Created Jan 8, 2020
SANS Holiday Hack 2019 Objective 5 - Determine Compromised System
View find_port.py
#!/use/bin/env python3
# SANS Holiday Hack 2019 Objective 5 - Determine Compromised System
import dateutil.parser
from datetime import timedelta, datetime
from os import listdir
from os.path import isfile, join
import pprint