Skip to content

Instantly share code, notes, and snippets.

View ArmindoFlores's full-sized avatar
:dependabot:
Working

Francisco Rodrigues ArmindoFlores

:dependabot:
Working
  • CERN | IST
  • Geneva, Switzerland
  • 13:10 (UTC +02:00)
View GitHub Profile
@ArmindoFlores
ArmindoFlores / nonblockproc.py
Created April 17, 2021 16:33
Non-blocking python subprocess communication
import os
import subprocess
import sys
import threading
class CustomProcess:
def __init__(self, *popenargs, **popenkwargs):
self._stderr_lock = threading.Lock()
self._stdout_lock = threading.Lock()
@ArmindoFlores
ArmindoFlores / jsonembed.py
Created March 31, 2021 00:06
JSON to Discord Embed
import json
import discord
def json_to_embed(string):
"""Convert a json string to a discord embed
Args:
string (str): JSON string
@ArmindoFlores
ArmindoFlores / ELF-holomorphing.md
Last active December 19, 2020 00:39
Santa's ELF holomorphing machine Writeup

X-MAS CTF 2020

Category: Programming Points: 500

Description: We have intercepted the blueprints and a memory dump for another of Santa's wicked contraptions. What is the old man hiding this time around?

Author: PinkiePie1189


Write-up