Skip to content

Instantly share code, notes, and snippets.

@luker983
luker983 / drgns2020_bitflip1.py
Last active April 29, 2021 02:09
Dragon CTF 2020 | Bit Flip 1 Solution
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from pwn import *
import subprocess
from Crypto.Util.number import bytes_to_long, long_to_bytes
from Crypto.Cipher import AES
import hashlib
import os
import base64
from gmpy2 import is_prime
@luker983
luker983 / hitcon2020_tenet.py
Last active April 29, 2021 02:07
Hitcon CTF 2020 | Tenet Solution
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from pwn import *
context.update(arch='amd64')
exe = './server.rb'
host = args.HOST or '52.192.42.215'
port = int(args.PORT or 9427)

Keybase proof

I hereby claim:

  • I am luker983 on github.
  • I am luker983 (https://keybase.io/luker983) on keybase.
  • I have a public key ASCBN-K7O3DKTH6pTU7donpRU5ZjiS4v6h9ahrQbV09Vmwo

To claim this, I am signing this object: