Skip to content

Instantly share code, notes, and snippets.

@hub2
hub2 / exploit.py
Created January 4, 2019 18:57
Flaglab Real World CTF
#!/usr/bin/env python3
import requests
import sys
from bs4 import BeautifulSoup
from urllib.parse import urljoin
import random
import logging
import time
from Crypto.Cipher import AES
class CustomException(Exception):
pass
i=input()
try:
YIEFTWVBIF = 35
raise CustomException(126694803133853)
except CustomException as e_0:
try:
BKFNCXZCDC = YIEFTWVBIF+13
import random
import string
random.seed(3)
indent_counter = 0
global_val = 0
def indent(func):
def wrapper(*args):