Skip to content

Instantly share code, notes, and snippets.

View cetaSYN's full-sized avatar

cetaSYN cetaSYN

View GitHub Profile
#!/usr/bin/env python3
from pwn import *
from pwnlib.util.packing import p64
context.log_level = logging.DEBUG
target = remote('', 31568)
# target = process("./ret2the-unknown")
cetaSYN / dev_one.c
Created August 21, 2022 20:04
Kernel module character device driver that always returns full bit-level 1s (0xFF...)
#include <linux/cdev.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/module.h>
#define DEVICE_NAME "one"
cetaSYN / pthread_netscan.c
Created August 21, 2022 03:42
Simple Multi-threaded Port Scanner
#include <arpa/inet.h>
#include <pthread.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <unistd.h>
#define DEBUG 0
cetaSYN /
Created December 12, 2020 00:31
Solve for 5CTF Disorderly2
cetaSYN /
Last active December 12, 2020 00:27
Solve for 5CTF Disorderly2
cetaSYN /
Last active August 24, 2020 19:56
Install Docker on Parrot 4.10
# 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 / forbes_title_gen.js
Last active June 26, 2020 17:31
Script to generate titles for Forbes articles
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 /
Created May 11, 2020 02:38
Finds uids for usernames on CTFtime
#!/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 /
Created May 2, 2020 05:19
Configure a Wacom tablet for use with a single screen and Touch disabled
#!/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(
cetaSYN /
Last active April 4, 2024 18:07
OWA S/MIME Decryption with Linux & Firefox

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!


Distro Packages