Skip to content

Instantly share code, notes, and snippets.

View pedro823's full-sized avatar
🎲
The most order we can get is pure randomness

Pedro Pereira pedro823

🎲
The most order we can get is pure randomness
View GitHub Profile
@pedro823
pedro823 / type_checker.py
Last active October 8, 2018 18:30
Type Checker decorator in python
from functools import wraps
# Definitions
def __precheck_types(func_annotations, *args, **kwargs):
annotations = dict((argument, value_type)
for argument, value_type in func_annotations.items()
if argument != 'return')
for arg, value in kwargs.items():
if arg not in annotations:
continue
@pedro823
pedro823 / just_in_time_writeup.md
Created February 19, 2019 02:52
Writeup da "Just in time"

Just In Time

Aqui vai um writeup do desafio just_in_time, valendo 150 pontos, realizado no CTF da campus party de 2019, pelo GS2W + CTF-BR.

Enunciado

Título: Just In Time
Descrição: Meu usuário está >>>MORTO<<<. Acha que tens o que é necessário para quebrar a minha senha? CLICA AQUI: nc imesec.ime.usp.br 9999

@pedro823
pedro823 / HackSBseg_Prólogo.md
Last active August 31, 2019 10:25
HackSBSeg - informações úteis

HackSBSeg: o prólogo

Olá, participante do HackSBSeg! O hackathon está batendo na porta e sabemos que muitas dúvidas surgiram e surgirão quanto à competição.

Esse texto visa esclarecer dúvidas de como julgaremos os projetos e dar uma luz a quem não sabe nem por onde começar.

Critérios do Julgamento