Kevin Chung
  • Home
  • Github
  • Twitter
Subscribe
Tagged

python

A collection of 3 posts

Faster Python with Go shared objects (the easy way)
python

Faster Python with Go shared objects (the easy way)

There's no two ways about it, Python is slow. I felt this in particular when exploring how to sanitize potentially malicious HTML content in the CTFd content editor. The two options for sanitizing/processing HTML in Python both have some tradeoffs: Poorly but quickly parse HTML with the available HTML4

  • Kevin Chung
Kevin Chung Apr 13, 2021 • 12 min read
python

Encoding Non-Printable Bytes in Python 3

TL;DR bytes -> str: In []: b'\x90\x90\x90\x90'.decode('latin-1') Out[]: '\x90\x90\x90\x90' str -> bytes: In []: '\x90\x90\x90\x90'.encode('latin-1') Out[]: b'\x90\x90\x90\x90' But Why Tho Sometimes when you're programming or you're playing CTFs, you'll

  • Kevin Chung
Kevin Chung Dec 4, 2018 • 2 min read
Binary Ninja: IPython and the Python Console
binary ninja

Binary Ninja: IPython and the Python Console

Binary Ninja is the new hotness in the reverse engineering world. It represents a new age of beautiful, programmatic reverse engineering. It's clear that if the IDA Disassembler is going to be the IDE of reversing, then Binary Ninja (or binja as most people call it) wants to be the

  • Kevin Chung
Kevin Chung Dec 27, 2016 • 3 min read
Kevin Chung © 2022
Powered by Ghost